當LATEX在處理源文件時,如果遇到一個百分號字符%,那么LATEX
將忽略 % 后的該行文本,分行符以及下一行開始的空白字符。這樣,我
就可以在源文件中寫一些注釋,而不會擔心他們會出現在最后的排版結
中。
如果需要較長的注釋,你可以使用 verbatim 宏集所提供的 comment 環
境。當然,你需要在源文件的導言區里加上命令 \usepackage{verbatim}。
%This is another
%\begin{comment}
%rather stupid,
%but helpful
%\end{comment}
%example for embedding
%comments in your document.
這是另一個
\begin{comment}
非常笨拙的,
然而卻很有效。
\end{comment}
在你的文檔中
使用注釋的例子。