]>
Commit | Line | Data |
---|---|---|
5c5a3c41 JS |
1 | \documentstyle[a4,11pt,makeidx,verbatim,texhelp,fancyheadings,palatino]{report} |
2 | % JACS: doesn't make it through Tex2RTF, sorry. I will put it into texhelp.sty | |
3 | % since Tex2RTF doesn't parse it. | |
4 | % BTW, style MUST be report for it to work for Tex2RTF. | |
5 | %KB: | |
6 | %\addtolength{\textwidth}{1in} | |
7 | %\addtolength{\oddsidemargin}{-0.5in} | |
8 | %\addtolength{\topmargin}{-0.5in} | |
9 | %\addtolength{\textheight}{1in} | |
10 | %\sloppy | |
11 | %end of my changes | |
12 | \newcommand{\indexit}[1]{#1\index{#1}}% | |
13 | \newcommand{\pipe}[0]{$\|$\ }% | |
14 | \definecolour{black}{0}{0}{0}% | |
15 | \definecolour{cyan}{0}{255}{255}% | |
16 | \definecolour{green}{0}{255}{0}% | |
17 | \definecolour{magenta}{255}{0}{255}% | |
18 | \definecolour{red}{255}{0}{0}% | |
19 | \definecolour{blue}{0}{0}{200}% | |
20 | \definecolour{yellow}{255}{255}{0}% | |
21 | \definecolour{white}{255}{255}{255}% | |
22 | % | |
23 | \input psbox.tex | |
24 | % Remove this for processing with dvi2ps instead of dvips | |
25 | %\special{!/@scaleunit 1 def} | |
26 | \parskip=10pt | |
27 | \parindent=0pt | |
28 | \title{Gizmos: a library of enhanced controls} | |
29 | \author{by Julian Smart and others} | |
30 | \date{January 5th 2002} | |
31 | ||
32 | \makeindex | |
33 | \begin{document} | |
34 | \maketitle | |
35 | \pagestyle{fancyplain} | |
36 | \bibliographystyle{plain} | |
37 | \setheader{{\it CONTENTS}}{}{}{}{}{{\it CONTENTS}} | |
38 | \setfooter{\thepage}{}{}{}{}{\thepage}% | |
39 | \pagenumbering{roman} | |
40 | \tableofcontents | |
41 | ||
42 | \chapter{Copyright notice} | |
43 | \setheader{{\it COPYRIGHT}}{}{}{}{}{{\it COPYRIGHT}}% | |
44 | \setfooter{\thepage}{}{}{}{}{\thepage}% | |
45 | ||
46 | The licence is the wxWindows Licence. | |
47 | ||
48 | \input{body.tex} | |
49 | \input{classes.tex} | |
50 | \input{category.tex} | |
51 | \input{topics.tex} | |
52 | ||
53 | \bibliography{refs} | |
54 | \addcontentsline{toc}{chapter}{Bibliography} | |
55 | \setheader{{\it REFERENCES}}{}{}{}{}{{\it REFERENCES}}% | |
56 | \setfooter{\thepage}{}{}{}{}{\thepage}% | |
57 | ||
58 | \newpage | |
59 | % Note: In RTF, the \printindex must come before the | |
60 | % change of header/footer, since the \printindex inserts | |
61 | % the RTF \sect command which divides one chapter from | |
62 | % the next. | |
63 | \rtfonly{\printindex | |
64 | \addcontentsline{toc}{chapter}{Index} | |
65 | \setheader{{\it INDEX}}{}{}{}{}{{\it INDEX}}% | |
66 | \setfooter{\thepage}{}{}{}{}{\thepage} | |
67 | } | |
68 | % In Latex, it must be this way around (I think) | |
69 | \latexonly{\addcontentsline{toc}{chapter}{Index} | |
70 | \setheader{{\it INDEX}}{}{}{}{}{{\it INDEX}}% | |
71 | \setfooter{\thepage}{}{}{}{}{\thepage} | |
72 | \printindex | |
73 | } | |
74 | ||
75 | \end{document} |