|
39 | 39 | \usepackage[title]{appendix} |
40 | 40 | \usepackage{csquotes} |
41 | 41 |
|
| 42 | +% \usepackage{inconsolata} % Load a font with no ligatures |
| 43 | + |
42 | 44 | \usepackage[ |
43 | 45 | type={CC}, |
44 | 46 | modifier={by-nc-sa}, |
|
62 | 64 | \definecolor{listing}{rgb}{0.95,0.95,0.95} |
63 | 65 | \definecolor{command}{rgb}{0.15,0.15,0.15} |
64 | 66 | \definecolor{download}{rgb}{0.039,0.616,0.851} |
65 | | -%\definecolor{note}{rgb}{0.92,0.98,1.00} |
66 | 67 | \definecolor{note}{rgb}{1,0.988,0.93} |
67 | 68 | \definecolor{note_listing}{rgb}{0.94,0.925,0.86} |
68 | 69 |
|
|
90 | 91 | bottom=5pt, % Extra bottom padding |
91 | 92 | } |
92 | 93 |
|
| 94 | +\DisableLigatures{encoding = *, family = *} % Deal with ligature problem when copy-pasting "fi" |
| 95 | + |
93 | 96 | \renewcommand{\floatpagefraction}{0.8} % At least 80% of a page must be used by floats |
94 | 97 | \renewcommand{\textfraction}{0.1} % At least 10% of a page must contain text |
95 | 98 |
|
96 | | -% \renewcommand{\emph}[1]{\underline{#1}} % make \emph{} use underline instead of italic |
97 | | -% S.G.: I went back to italic since all the other italic commands were replaced |
98 | 99 | \newcommand{\lmpcmd}[1]{\hspace{0pt}\colorbox{listing}{\textcolor{command}{\small{#1}}}\hspace{0pt}} % lammps command |
| 100 | +% \newcommand{\lmpcmd}[1]{\hspace{0pt}\colorbox{listing}{\textcolor{command}{\texttt{#1}}}\hspace{0pt}} % lammps command |
99 | 101 | \newcommand{\lmpcmdnote}[1]{\hspace{0pt}\colorbox{note_listing}{\textcolor{command}{\small{#1}}}\hspace{0pt}} % lammps command inside note |
100 | 102 | \newcommand{\flrcmd}[1]{\textcolor{command}{\texttt{#1}}} % folder in monopace |
101 | 103 | \newcommand{\flecmd}[1]{\textcolor{command}{\texttt{#1}}} % files name in monopace |
102 | | -%\newcommand{\guicmd}[1]{\textcolor{command}{\texttt{\enquote{#1}}}} % LAMMPS-GUI commands in quotation monopace |
103 | 104 | \newcommand{\guicmd}[1]{\textcolor{command}{\texttt{«#1»}}} % LAMMPS-GUI commands in French quotation monopace |
104 | 105 | \newcommand{\dwlcmd}[1]{\textcolor{download}{\texttt{#1}}} % downloadable files in monopace blue |
105 | 106 |
|
|
0 commit comments