|
1 % latex include file for docutils latex writer |
|
2 % -------------------------------------------- |
|
3 % |
|
4 % CVS: $Id: style.tex 2548 2004-08-29 20:04:53Z felixwiemann $ |
|
5 % |
|
6 % This is included at the end of the latex header in the generated file, |
|
7 % to allow overwriting defaults, although this could get hairy. |
|
8 % Generated files should process well standalone too, LaTeX might give a |
|
9 % message about a missing file. |
|
10 |
|
11 % donot indent first line of paragraph. |
|
12 \setlength{\parindent}{0pt} |
|
13 \setlength{\parskip}{5pt plus 2pt minus 1pt} |
|
14 |
|
15 % sloppy |
|
16 % ------ |
|
17 % Less strict (opposite to default fussy) space size between words. Therefore |
|
18 % less hyphenation. |
|
19 \sloppy |
|
20 |
|
21 % fonts |
|
22 % ----- |
|
23 % times for pdf generation, gives smaller pdf files. |
|
24 % |
|
25 % But in standard postscript fonts: courier and times/helvetica do not fit. |
|
26 % Maybe use pslatex. |
|
27 \usepackage{times} |
|
28 |
|
29 % pagestyle |
|
30 % --------- |
|
31 % headings might put section titles in the page heading, but not if |
|
32 % the table of contents is done by docutils. |
|
33 % If pagestyle{headings} is used, \geometry{headheight=10pt,headsep=1pt} |
|
34 % should be set too. |
|
35 %\pagestyle{plain} |
|
36 % |
|
37 % or use fancyhdr (untested !) |
|
38 %\usepackage{fancyhdr} |
|
39 %\pagestyle{fancy} |
|
40 %\addtolength{\headheight}{\\baselineskip} |
|
41 %\renewcommand{\sectionmark}[1]{\markboth{#1}{}} |
|
42 %\renewcommand{\subsectionmark}[1]{\markright{#1}} |
|
43 %\fancyhf{} |
|
44 %\fancyhead[LE,RO]{\\bfseries\\textsf{\Large\\thepage}} |
|
45 %\fancyhead[LO]{\\textsf{\\footnotesize\\rightmark}} |
|
46 %\fancyhead[RE]{\\textsc{\\textsf{\\footnotesize\leftmark}}} |
|
47 %\\fancyfoot[LE,RO]{\\bfseries\\textsf{\scriptsize Docutils}} |
|
48 %\fancyfoot[RE,LO]{\\textsf{\scriptsize\\today}} |
|
49 |
|
50 % geometry |
|
51 % -------- |
|
52 % = papersizes and margins |
|
53 %\geometry{a4paper,twoside,tmargin=1.5cm, |
|
54 % headheight=1cm,headsep=0.75cm} |
|
55 |
|
56 % Do section number display |
|
57 % ------------------------- |
|
58 %\makeatletter |
|
59 %\def\@seccntformat#1{} |
|
60 %\makeatother |
|
61 % no numbers in toc |
|
62 %\renewcommand{\numberline}[1]{} |
|
63 |
|
64 |
|
65 % change maketitle |
|
66 % ---------------- |
|
67 %\renewcommand{\maketitle}{ |
|
68 % \begin{titlepage} |
|
69 % \begin{center} |
|
70 % \textsf{TITLE \@title} \\ |
|
71 % Date: \today |
|
72 % \end{center} |
|
73 % \end{titlepage} |
|
74 %} |