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.sty in NEMO/trunk/doc/latex/global – NEMO

source: NEMO/trunk/doc/latex/global/styles.sty @ 11171

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

Duplicate the new building process to SI3 and TOP

File size: 1.6 KB
Line 
1%% Styles
2%% ==============================================================================
3
4%\pagestyle{fancy}
5\bibliographystyle{../../global/ametsoc}
6
7%% Additionnal fonts
8\DeclareMathAlphabet{\mathpzc}{OT1}{pzc}{m}{it}
9
10%% Hyperref
11\hypersetup{
12%  pdftitle={\heading},
13%  pdfauthor={\1stauthor and \2ndauthor},
14  colorlinks
15}
16
17%% Page layout
18%\fancyhf{}
19%\fancyhead[LE,RO]{\bfseries\thepage}
20%\fancyhead[LO]{\bfseries\hspace{-0em}\rightmark}
21%\renewcommand{\sectionmark}[1]{\markright{\thesection.\ #1}}
22%\fancyhead[RE]{\bfseries\leftmark}
23%\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
24%\renewcommand{\headrulewidth}{0.5pt}
25%\renewcommand{\footrulewidth}{0pt  }
26%\addtolength{\headheight}{2.6pt}
27
28
29%% Catcodes
30%\makeatletter
31%\def\LigneVerticale{\vrule height 5cm depth 2cm\hspace{0.1cm}\relax}
32%\def\LignesVerticales{\let\LV\LigneVerticale\LV\LV\LV\LV\LV\LV\LV\LV\LV\LV}
33%\def\GrosCarreAvecUnChiffre#1{
34%  \rlap{\vrule height 0.8cm width 1cm depth 0.2cm}
35%  \rlap{\hbox to 1cm{\hss\mbox{\color{white} #1}\hss}}
36%  \vrule height 0pt width 1cm depth 0pt
37%}
38%\def\@makechapterhead#1{
39%  \hbox{
40%     \huge\LignesVerticales\hspace{-0.5cm}
41%     \GrosCarreAvecUnChiffre{\thechapter}\hspace{0.2cm}
42%     \hbox{#1}
43%  }
44%  \par\vskip
45%1cm
46%}
47%\def\@makeschapterhead#1{
48%  \hbox{
49%     \huge\LignesVerticales
50%     \hbox{#1}
51%  }
52%  \par\vskip
53%2cm
54%}
55%\def\cleardoublepage{\clearpage\if@twoside \ifodd\c@page\else
56%  \hbox{}
57%  \vspace*{\fill}
58%  \vspace{\fill}
59%  \thispagestyle{empty}
60%  \newpage
61%  \if@twocolumn\hbox{}\newpage\fi\fi\fi}
62%\def\@seccntformat#1{\protect\makebox[0pt][r]{\csname the#1\endcsname\quad}}
63%\makeatother
Note: See TracBrowser for help on using the repository browser.