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.
Changeset 14644 for NEMO/branches/2020/dev_r14116_HPC-04_mcastril_Mixed_Precision_implementation_final/doc/latex/global/styles.tex – NEMO

Ignore:
Timestamp:
2021-03-26T15:33:49+01:00 (3 years ago)
Author:
sparonuz
Message:

Merge trunk -r14642:HEAD

Location:
NEMO/branches/2020/dev_r14116_HPC-04_mcastril_Mixed_Precision_implementation_final
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2020/dev_r14116_HPC-04_mcastril_Mixed_Precision_implementation_final

    • Property svn:externals
      •  

        old new  
        99 
        1010# SETTE 
        11 ^/utils/CI/sette_wave@13990         sette 
         11^/utils/CI/sette@14244        sette 
  • NEMO/branches/2020/dev_r14116_HPC-04_mcastril_Mixed_Precision_implementation_final/doc/latex/global

    • Property svn:ignore set to
      *.aux
      *.bbl
      *.blg
      *.fdb*
      *.fls
      *.idx
      *.ilg
      *.ind
      *.lo*
      *.out
      *.toc
      *.xdv
      cache*
  • NEMO/branches/2020/dev_r14116_HPC-04_mcastril_Mixed_Precision_implementation_final/doc/latex/global/styles.tex

    r14113 r14644  
    1  
     1%% ================================================================================================= 
    22%% Styles 
    3 %% ============================================================================== 
     3%% ================================================================================================= 
    44 
    55%% Colors 
    6 \setmanualcolor 
    7 \colorlet{manualcolorshaded}{manualcolor!60} 
    8 \definecolor{orcidcolor}{HTML}{A6CE39} 
     6\definecolor{orcidclr}{HTML}{A6CE39} 
     7\definecolor{manclr}{cmyk}{\clr} %% \clr defined for each manual from local settings.tex 
     8\colorlet{manclrshd}{manclr!60} %% Derived color for chapter heading, see below 
     9 
     10%% Cover page 
     11\backgroundsetup{ 
     12   firstpage=true,scale=1,angle=0,opacity=1, 
     13   contents ={ 
     14      \begin{tikzpicture}[remember picture,overlay] 
     15         \path[fill=manclr] (-0.5\paperwidth,7) rectangle (0.5\paperwidth,10); 
     16      \end{tikzpicture} 
     17    } 
     18} 
    919 
    1020%% Page layout 
    11 \pagestyle{scrheadings} 
     21%\pagestyle{scrheadings} 
     22%\renewcommand{\chapterpagestyle}{empty} 
     23\renewcommand{\chaptermark}[1]{\markboth{ #1}{}} %% Convert mark to lowercase 
     24\renewcommand{\sectionmark}[1]{\markright{#1}{}} %%    "     ""  ""     "   
     25\ohead{} %% Clear default headings 
     26\lohead{Chap. \thechapter\  \leftmark} 
     27\rehead{Sect. \thesection\ \rightmark} 
     28\ifoot{Page \thepage\ of \pageref*{LastPage}} 
     29%\ifoot[\pagemark]{Page \thepage\ of \lastpageref*{pagesLTS.arabic}} 
     30\ofoot{\eng\ Reference Manual} 
    1231\addtokomafont{pagehead}{  \sffamily              } 
    1332\addtokomafont{pagefoot}{  \sffamily \footnotesize} 
    1433\addtokomafont{pagenumber}{\sffamily \slshape     } 
    15 \addtokomafont{chapter}{\color{white}} 
    16 \ohead{} \ofoot{}   %% Clear defaults 
     34%\addtokomafont{chapter}{\color{white}} 
    1735 
    18 %% Caption 
    19 \captionsetup{font = footnotesize, justification = justified} 
     36%% Cross-referencing 
     37\hypersetup{ 
     38   pdftitle=\hdg,pdfauthor=Gurvan Madec and NEMO System Team, 
     39   pdfsubject=Reference manual of NEMO modelling framework,pdfkeywords=ocean circulation modelling, 
     40   colorlinks,allcolors=manclr 
     41} 
     42\renewcommand{\appendixautorefname}{appendix}          %% `\autoref` uncapitalization 
     43\renewcommand{\equationautorefname}{equation}          %%     ""            "" 
     44\renewcommand{\figureautorefname  }{figure}            %%     ""            "" 
     45\renewcommand{\listingname        }{namelist}          %%     ""            "" 
     46\renewcommand{\listlistingname    }{List of Namelists} %%     ""            "" 
     47\renewcommand{\tableautorefname   }{table}             %%     ""            "" 
    2048 
    21 %% Footnote 
     49%% Misc. (caption and footnote) 
     50\captionsetup{font=footnotesize,justification=justified} 
    2251\renewcommand{\thefootnote}{\fnsymbol{footnote}} 
    2352 
     
    2857\renewcommand{\bibpostamble}{  \end{multicols}   } 
    2958 
    30 %% Catcodes 
     59%% Catcodes (between `\makeatletter` and `\makeatother`) 
    3160\makeatletter 
    3261 
    33 %% Prevent error with tikz and namelist inclusion 
    34 \global\let\tikz@ensure@dollar@catcode=\relax 
    35  
    36 %% First page 
    37 \backgroundsetup{ 
    38   firstpage = true, 
    39   scale = 1, angle = 0, opacity = 1, 
    40   contents = { 
    41     \begin{tikzpicture}[remember picture, overlay] 
    42       \path [fill = manualcolor] (-0.5\paperwidth, 7) rectangle (0.5\paperwidth, 10); 
    43     \end{tikzpicture} 
    44   } 
     62%% Apply manual color for chap. headings (original snippets from fncychap.sty) 
     63%% !!! Let trailing percent sign to avoid space insertion 
     64\renewcommand{\DOCH}{% %% Upper box with chapter number 
     65   \settowidth{\py}{\CNoV\thechapter}% 
     66   \addtolength{\py}{-10pt}% %% Amount of space by which the number is shifted right 
     67   \fboxsep=0pt% 
     68   \colorbox{manclr}{\rule{0pt}{40pt}\parbox[b]{\textwidth}{\hfill}}% 
     69   \kern-\py\raise20pt% 
     70   \hbox{\color{manclrshd}\CNoV\thechapter}\\ 
     71} 
     72\renewcommand{\DOTI}[1]{% %% Lower box with chapter title 
     73   \nointerlineskip\raggedright% 
     74   \fboxsep=\myhi% 
     75   \vskip-1ex% 
     76   \colorbox{manclr}{\parbox[t]{\mylen}{\color{white}\CTV\FmTi{#1}}}\par\nobreak% 
     77   \vskip 40\p@% 
     78} 
     79\renewcommand{\DOTIS}[1]{% %% Box for unumbered chapter 
     80   \fboxsep=0pt% 
     81   \colorbox{manclr}{\rule{0pt}{40pt}\parbox[b]{\textwidth}{\hfill}}\\ 
     82   \nointerlineskip\raggedright% 
     83   \fboxsep=\myhi% 
     84   \vskip-1ex% %% Remove white 1pt line 
     85   \colorbox{manclr}{\parbox[t]{\mylen}{\color{white}\CTV\FmTi{#1}}}\par\nobreak% 
     86   \vskip 40\p@% 
    4587} 
    4688 
    47 %% Apply engine color for chapter headings: tweaking snippets from fncychap.sty 
    48 \renewcommand{\DOCH}{% 
    49   \settowidth{\py}{\CNoV\thechapter} 
    50   \addtolength{\py}{-10pt}      % Amount of space by which the 
    51 %                                  % number is shifted right 
    52   \fboxsep=0pt% 
    53   \colorbox{manualcolor}{\rule{0pt}{40pt}\parbox[b]{\textwidth}{\hfill}}% 
    54   \kern-\py\raise20pt% 
    55   \hbox{\color{manualcolorshaded}\CNoV\thechapter}\\% 
    56 } 
    57 \renewcommand{\DOTI}[1]{% 
    58   \nointerlineskip\raggedright% 
    59   \fboxsep=\myhi% 
    60   \vskip-1ex% 
    61   \colorbox{manualcolor}{\parbox[t]{\mylen}{\color{white}\CTV\FmTi{#1}}}\par\nobreak% 
    62   \vskip 40\p@% 
    63 } 
    64 \renewcommand{\DOTIS}[1]{% 
    65   \fboxsep=0pt 
    66   \colorbox{manualcolor}{\rule{0pt}{40pt}\parbox[b]{\textwidth}{\hfill}}\\% 
    67   \nointerlineskip\raggedright% 
    68   \fboxsep=\myhi% 
    69   \vskip-1ex% Remove white 1pt line 
    70   \colorbox{manualcolor}{\parbox[t]{\mylen}{\color{white}\CTV\FmTi{#1}}}\par\nobreak% 
    71   \vskip 40\p@% 
    72 } 
    73  
    74 %% Temporary fix 
    75 \def\set@curr@file#1{% 
    76   \begingroup 
    77     \escapechar\m@ne 
    78     \xdef\@curr@file{\expandafter\string\csname #1\endcsname}% 
    79   \endgroup 
    80 } 
    81 \def\quote@name#1{"\quote@@name#1\@gobble""} 
    82 \def\quote@@name#1"{#1\quote@@name} 
    83 \def\unquote@name#1{\quote@@name#1\@gobble"} 
    84  
    8589\makeatother 
Note: See TracChangeset for help on using the changeset viewer.