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