※ 引述《eieio.bbs@ptt.cc (好多目標)》之銘言:
> ※ 引述《bcs (= ="frailty..gggg XD)》之銘言:
> : 請問latex中有沒有夾集的comment符號,像是
> : /*
> : first
> : second
> : so on
> : */
> : 白色這段話就會省略。
> : 謝謝^^"
> 我會自己定義
> \newcommand{\ignore}[1]{}
> 然後
> \ignore{
> first
> second
> so on
> }
這樣定義會有小問題,那就是會多出一個空白出來,請做一個小測試:
comments test.
\ignore{
Here are ignore comments.
Here are ignore comments.
}
comments test.
comments test.
\iffalse
Here are iffalse comments.
Here are iffalse comments.
\fi
comments test.
--
▄▄▄▄▄▄▄ ▄▄▄▄ ▄▄▄▄▄▄ <telnet://bbs.cs.nctu.edu.tw>
█▄▄▄▄█ █ ▄▄▄▄▄█ Player: EdwardLee
▄█▄▄▄▄█ ▄▄▄█ █▄▄▄▄▄ From: linux.cc.ntu.edu.tw
☆ 次世代BS2 ☆ 可申請個人板 150MB 相簿 http://pic.bs2.to 交大資訊人 250MB