Skip to content

Commit 9b4b6d7

Browse files
committed
fix broken monospace
1 parent 87b4b79 commit 9b4b6d7

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ lammps-tutorials.suppinfo
1111
lammps-tutorials.fls
1212
lammps-tutorials.synctex*
1313
lammps-tutorials.fdb*
14+
pdflatex*.fls
1415

1516
# LaTex files for the presubmission letter
1617
presubmission-letter/*.log

lammps-tutorials.tex

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@
7272
backgroundcolor=\color{listing}, % Set background color to listing
7373
xleftmargin=5pt, % Extra left margin for spacing
7474
xrightmargin=5pt, % Extra right margin for spacing
75+
columns=flexible, % or fixed or fullflexible
7576
}
7677

7778
\newtcolorbox{note}{
@@ -87,7 +88,7 @@
8788

8889
% \renewcommand{\emph}[1]{\underline{#1}} % make \emph{} use underline instead of italic
8990
% S.G.: I went back to italic since all the other italic commands were replaced
90-
\newcommand{\lmpcmd}[1]{\hspace{0pt}\colorbox{listing}{\textcolor{command}{\texttt{#1}}}\hspace{0pt}} % lammps command
91+
\newcommand{\lmpcmd}[1]{\hspace{0pt}\colorbox{listing}{\textcolor{command}{\small\texttt{#1}}}\hspace{0pt}} % lammps command
9192
\newcommand{\flrcmd}[1]{\textcolor{command}{\texttt{#1}}} % folder in monopace
9293
\newcommand{\flecmd}[1]{\textcolor{command}{\texttt{#1}}} % files name in monopace
9394
%\newcommand{\guicmd}[1]{\textcolor{command}{\texttt{\enquote{#1}}}} % LAMMPS-GUI commands in quotation monopace
@@ -412,7 +413,7 @@ \section{Content and links}
412413
and inputs required to follow the tutorials are available from a
413414
dedicated GitHub account,
414415
\href{https://github.com/lammpstutorials}{github.com/lammpstutorials}.
415-
Additionally, these files can be downloaded by clicking \guicmd{Start Tutorial X}
416+
Additionally, these files can be downloaded by clicking \guicmd{Start LAMMPS Tutorial X}
416417
(where \texttt{X} = 1...8) from the \guicmd{Tutorials} menu of LAMMPS-GUI.
417418

418419
In the following, all LAMMPS input or console commands are formatted
@@ -440,7 +441,7 @@ \subsubsection{My first input}
440441
a series of commands for LAMMPS to execute. For clarity, the
441442
input scripts for this tutorial will be divided into five categories,
442443
which will be filled out step by step. To set up this tutorial, select
443-
\guicmd{Start Tutorial 1} from the \guicmd{Tutorials} menu of LAMMPS--GUI, and
444+
\guicmd{Start LAMMPS Tutorial 1} from the \guicmd{Tutorials} menu of LAMMPS--GUI, and
444445
follow the instructions. This will select and, if needed, create a folder,
445446
place the initial input file \flecmd{initial.lmp} in it, and
446447
open that file in the LAMMPS--GUI editor. The editor should display the

0 commit comments

Comments
 (0)