Tip 1 comment
在 tex 檔案裡使用 comment 套件
\usepackage{comment}
\begin{comment} aaa bbb ccc This lines will be ignored! \end{comment}
Tip 2 \if 0 ... \fi
什麼事都不用做,只要想把被註解掉的部份放在 \if 0 ... \fi 之間就好。
\if 0 aaa bbb ccc This lines will be ignored! \fi
Tip 3 eat
在 tex 檔案開頭加上
\newcommand{\eat}[1]{}
接著把你註解掉的地方,就可以用 eat 吃掉。
例如:
Hello, world! \eat{ How are you?} Say hello again! \eat{ a b c d }