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 @ 11148

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

Reorganisation of the latex directory
Creation of frontpages.tex to standardise the look of the manuals and few !LaTeX files to facilitate the overall modifications

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