Changeset 14644 for NEMO/branches/2020/dev_r14116_HPC-04_mcastril_Mixed_Precision_implementation_final/doc/latex/global/highlighting.tex
- Timestamp:
- 2021-03-26T15:33:49+01:00 (3 years ago)
- 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 9 9 10 10 # SETTE 11 ^/utils/CI/sette _wave@13990sette11 ^/utils/CI/sette@14244 sette
-
- Property svn:externals
-
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*
-
Property
svn:ignore
set to
-
NEMO/branches/2020/dev_r14116_HPC-04_mcastril_Mixed_Precision_implementation_final/doc/latex/global/highlighting.tex
r14113 r14644 1 %% ================================================================================================= 1 2 %% Syntax highlighting configuration 2 %% ============================================================================== 3 4 \usepackage[outputdir=../build, chapter, newfloat]{minted} 3 %% ================================================================================================= 5 4 6 5 %% Global highlighting style 7 \definecolor{bg}{HTML}{f8f8f8} 6 \definecolor{bg}{HTML}{f8f8f8} %% ? 8 7 \usemintedstyle{emacs} 9 \setminted{bgcolor=bg, fontsize=\scriptsize, breaklines} 10 \setminted[xml]{style=borland} %% Specific per language 8 \setminted{bgcolor=bg,fontsize=\scriptsize,breaklines} 9 \setminted[xml]{style=borland} %% Specific style for XML 10 11 %% Inline 12 \newmintinline[forcode]{fortran}{bgcolor=,fontsize=auto} %% \forcode{...} 13 \newmintinline[xmlcode]{xml}{ bgcolor=,fontsize=auto} %% \xmlcode{...} 14 \newmintinline[snippet]{console}{bgcolor=,fontsize=auto} %% \snippet{...} 11 15 12 16 %% Oneliner 13 \newmint[forline]{fortran}{} 14 \newmint[xmlline]{xml }{}% \xmlline|...|15 \newmint[cmd]{ console}{}% \cmd|...|17 \newmint[forline]{fortran}{} %% \forline|...| 18 \newmint[xmlline]{xml }{} %% \xmlline|...| 19 \newmint[cmd]{ console}{} %% \cmd|...| 16 20 17 21 %% Multi-lines 18 \newminted[forlines]{fortran}{} 19 \newminted[xmllines]{xml }{}% \begin{xmllines}20 \newminted[cmds]{ console}{}% \begin{cmds}21 \newminted[clines]{ c}{}% \begin{clines}22 \newminted[forlines]{fortran}{} %% \begin{forlines} 23 \newminted[xmllines]{xml }{} %% \begin{xmllines} 24 \newminted[cmds]{ console}{} %% \begin{cmds} 25 \newminted[clines]{ c }{} %% \begin{clines} 22 26 23 %% File 27 %% File (namelist or module) 24 28 \newmintedfile[forfile]{fortran}{} 25 26 %% Inline27 \newmintinline[forcode]{fortran}{bgcolor=, fontsize=auto} % \forcode{...}28 \newmintinline[xmlcode]{xml}{ bgcolor=, fontsize=auto} % \xmlcode{...}29 \newmintinline[snippet]{console}{bgcolor=, fontsize=auto} % \snippet{...}30 29 31 30 %% Namelists inclusion 32 31 \newcommand{\nlst}[1]{\forfile{../../../namelists/#1}} 32
Note: See TracChangeset
for help on using the changeset viewer.