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

Last change on this file since 11170 was 11170, checked in by nicolasmartin, 2 years ago

Review of the overall building of any reference manual
Implementation of a compilation process shared between the 3 manuals: now a global document.tex will be used as the main LaTeX file (a symbolic link will refer to it in each ./engine/main directory).
At the time of the manual building, a few small LaTeX files will be imported on the fly from the corresponding folder ./latex/engine/main.

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