emphasize and oddball nuance of LaTeX comment syntax

This commit is contained in:
Fred Drake 2006-07-29 19:14:10 +00:00
parent 4a847888a7
commit 897afc43ad

View file

@ -295,10 +295,10 @@ This sentence has a footnote reference.%
to know about \LaTeX{} syntax. to know about \LaTeX{} syntax.
A \dfn{comment} is started by the ``percent'' character A \dfn{comment} is started by the ``percent'' character
(\character{\%}) and continues through the end of the line and all (\character{\%}) and continues through the end of the line
leading whitespace on the following line. This is a little \emph{and all leading whitespace on the following line}. This is
different from any programming language I know of, so an example a little different from any programming language I know of, so an
is in order: example is in order:
\begin{verbatim} \begin{verbatim}
This is text.% comment This is text.% comment