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