Added «verbatim»package's ability to provide multi-line comments

This commit is contained in:
Kenneth John Odle 2023-10-28 18:27:20 -04:00
parent 4e251fc64a
commit 8f3adce5e3

View File

@ -94,6 +94,9 @@
% Break lines inside this environment:
\usepackage{fvextra}
% Actual comment blocks
\usepackage{verbatim}
% Control spacing in lists
\usepackage{enumitem}
@ -346,6 +349,8 @@ If you didn't use that construction, you would need to put a \% in front of each
\fi
\end{Verbatim}
If the use of \verb|\iffalse| and \verb|\fi| is not intuitive to you, you can also load the \texttt{verbatim} package and use \verb|\begin{comment}| and \verb|\end{comment}| to surround multi-line comments.
\section{Environments}
\noindent{} This is where \LaTeX{} shows its power, as environments are used to to take care of typesetting tasks. Every environment begins with \verb+\begin{<environ+ \verb+ment>}+ and ends with \verb+\end{<environment>}+. In fact, we've already seen one environment: the \texttt{document} environment, which encompasses our entire document.