source: NEMO/trunk/doc/latex/global/styles.tex @ 11187

Last change on this file since 11187 was 11187, checked in by nicolasmartin, 15 months ago

Modifications and bugfixes

  • Correction of the layout standard Right: scrreprt instead of scrreport
  • Switch to 2-columns for the bibliography
  • Update svn:ignore property for list of figures and tables
  • Update LaTeX dependencies
  • Move \triad command declaration to ./global/latex/new_cmds.tex with \DeclareRobustCommand specific prefix to prevent issue with \listoffigures
  • LaTeX typos
  • Ignore todonotes.tex for time being
File size: 1.7 KB
Line 
1
2%% Styles
3%% ==============================================================================
4
5%\pagestyle{fancy}
6\bibliographystyle{../../global/ametsoc}
7\renewcommand{\bibpreamble}{\begin{multicols}{2}}
8\renewcommand{\bibpostamble}{\end{multicols}}
9
10%% Additionnal fonts
11\DeclareMathAlphabet{\mathpzc}{OT1}{pzc}{m}{it}
12
13%% Hyperref
14\hypersetup{
15%  pdftitle={\heading},
16%  pdfauthor={\firstauthor and \secondauthor},
17  colorlinks
18}
19
20%% Page layout
21%\fancyhf{}
22%\fancyhead[LE,RO]{\bfseries\thepage}
23%\fancyhead[LO]{\bfseries\hspace{-0em}\rightmark}
24%\renewcommand{\sectionmark}[1]{\markright{\thesection.\ #1}}
25%\fancyhead[RE]{\bfseries\leftmark}
26%\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
27%\renewcommand{\headrulewidth}{0.5pt}
28%\renewcommand{\footrulewidth}{0pt  }
29%\addtolength{\headheight}{2.6pt}
30
31
32%% Catcodes
33%\makeatletter
34%\def\LigneVerticale{\vrule height 5cm depth 2cm\hspace{0.1cm}\relax}
35%\def\LignesVerticales{\let\LV\LigneVerticale\LV\LV\LV\LV\LV\LV\LV\LV\LV\LV}
36%\def\GrosCarreAvecUnChiffre#1{
37%  \rlap{\vrule height 0.8cm width 1cm depth 0.2cm}
38%  \rlap{\hbox to 1cm{\hss\mbox{\color{white} #1}\hss}}
39%  \vrule height 0pt width 1cm depth 0pt
40%}
41%\def\@makechapterhead#1{
42%  \hbox{
43%     \huge\LignesVerticales\hspace{-0.5cm}
44%     \GrosCarreAvecUnChiffre{\thechapter}\hspace{0.2cm}
45%     \hbox{#1}
46%  }
47%  \par\vskip
48%1cm
49%}
50%\def\@makeschapterhead#1{
51%  \hbox{
52%     \huge\LignesVerticales
53%     \hbox{#1}
54%  }
55%  \par\vskip
56%2cm
57%}
58%\def\cleardoublepage{\clearpage\if@twoside \ifodd\c@page\else
59%  \hbox{}
60%  \vspace*{\fill}
61%  \vspace{\fill}
62%  \thispagestyle{empty}
63%  \newpage
64%  \if@twocolumn\hbox{}\newpage\fi\fi\fi}
65%\def\@seccntformat#1{\protect\makebox[0pt][r]{\csname the#1\endcsname\quad}}
66%\makeatother
67
68
Note: See TracBrowser for help on using the repository browser.