New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
styles.tex in NEMO/trunk/doc/latex/global – NEMO

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

Last change on this file since 11189 was 11189, checked in by nicolasmartin, 5 years ago

Enabling index links by moving hyperref pkg at the end of the LaTeX preamble

File size: 1.6 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%% Page layout
14%\fancyhf{}
15%\fancyhead[LE,RO]{\bfseries\thepage}
16%\fancyhead[LO]{\bfseries\hspace{-0em}\rightmark}
17%\renewcommand{\sectionmark}[1]{\markright{\thesection.\ #1}}
18%\fancyhead[RE]{\bfseries\leftmark}
19%\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
20%\renewcommand{\headrulewidth}{0.5pt}
21%\renewcommand{\footrulewidth}{0pt  }
22%\addtolength{\headheight}{2.6pt}
23
24
25%% Catcodes
26%\makeatletter
27%\def\LigneVerticale{\vrule height 5cm depth 2cm\hspace{0.1cm}\relax}
28%\def\LignesVerticales{\let\LV\LigneVerticale\LV\LV\LV\LV\LV\LV\LV\LV\LV\LV}
29%\def\GrosCarreAvecUnChiffre#1{
30%  \rlap{\vrule height 0.8cm width 1cm depth 0.2cm}
31%  \rlap{\hbox to 1cm{\hss\mbox{\color{white} #1}\hss}}
32%  \vrule height 0pt width 1cm depth 0pt
33%}
34%\def\@makechapterhead#1{
35%  \hbox{
36%     \huge\LignesVerticales\hspace{-0.5cm}
37%     \GrosCarreAvecUnChiffre{\thechapter}\hspace{0.2cm}
38%     \hbox{#1}
39%  }
40%  \par\vskip
41%1cm
42%}
43%\def\@makeschapterhead#1{
44%  \hbox{
45%     \huge\LignesVerticales
46%     \hbox{#1}
47%  }
48%  \par\vskip
49%2cm
50%}
51%\def\cleardoublepage{\clearpage\if@twoside \ifodd\c@page\else
52%  \hbox{}
53%  \vspace*{\fill}
54%  \vspace{\fill}
55%  \thispagestyle{empty}
56%  \newpage
57%  \if@twocolumn\hbox{}\newpage\fi\fi\fi}
58%\def\@seccntformat#1{\protect\makebox[0pt][r]{\csname the#1\endcsname\quad}}
59%\makeatother
60
61
Note: See TracBrowser for help on using the repository browser.