Debian Codegraph @

cmake/tribits/doc/guides/rst2latex.tex

raw
1 % latex include file for docutils latex writer
2 % --------------------------------------------
3 %
4 % CVS: $Id: latex2e.tex 4163 2005-12-09 04:21:34Z goodger $
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 % Do not indent first line of paragraph.
12 \setlength{\parindent}{0pt}
13 \setlength{\parskip}{5pt plus 2pt minus 1pt}
14
15 \pagestyle{plain}
16
17 % DON'T enable this package! It makes pdf2latex hang and never come back!
18 %\usepackage{chappg}
19
20 \usepackage[margin=0.8in]{geometry}
21 \usepackage{paralist}
22
23 \setcounter{tocdepth}{4}
24
25
26 % sloppy
27 % ------
28 % Less strict (opposite to default fussy) space size between words. Therefore
29 % less hyphenation.
30 %\sloppy
31
32 % fonts
33 % -----
34 % times for pdf generation, gives smaller pdf files.
35 %
36 % But in standard postscript fonts: courier and times/helvetica do not fit.
37 % Maybe use pslatex.
38
39 \usepackage{times}
40 \raggedright
41
42 % pagestyle
43 % ---------
44 % headings might put section titles in the page heading, but not if
45 % the table of contents is done by docutils.
46 % If pagestyle{headings} is used, \geometry{headheight=10pt,headsep=1pt}
47 % should be set too.
48 %\pagestyle{plain}
49 %
50 % or use fancyhdr (untested !)
51 %\usepackage{fancyhdr}
52 %\pagestyle{fancy}
53 %\addtolength{\headheight}{\\baselineskip}
54 %\renewcommand{\sectionmark}[1]{\markboth{#1}{}}
55 %\renewcommand{\subsectionmark}[1]{\markright{#1}}
56 %\fancyhf{}
57 %\fancyhead[LE,RO]{\\bfseries\\textsf{\Large\\thepage}}
58 %\fancyhead[LO]{\\textsf{\\footnotesize\\rightmark}}
59 %\fancyhead[RE]{\\textsc{\\textsf{\\footnotesize\leftmark}}}
60 %\\fancyfoot[LE,RO]{\\bfseries\\textsf{\scriptsize Docutils}}
61 %\fancyfoot[RE,LO]{\\textsf{\scriptsize\\today}}
62
63 % geometry
64 % --------
65 % = papersizes and margins
66 %\geometry{a4paper,twoside,tmargin=1.5cm,
67 % headheight=1cm,headsep=0.75cm}
68
69 % Do section number display
70 % -------------------------
71 %\makeatletter
72 %\def\@seccntformat#1{}
73 %\makeatother
74 % no numbers in toc
75 %\renewcommand{\numberline}[1]{}
76
77
78 % change maketitle
79 % ----------------
80 %\renewcommand{\maketitle}{
81 % \begin{titlepage}
82 % \begin{center}
83 % \textsf{TITLE \@title} \\
84 % Date: \today
85 % \end{center}
86 % \end{titlepage}
87 %}