Re: [問題] 訊息框裡面放\verb= =?

看板LaTeX (論文排版)作者時間18年前 (2007/11/03 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/4 (看更多)
※ 引述《jsb.bbs@ptt.cc (jsb)》之銘言: > 問題是以下的訊息框: > \begin{center} > \begin{minipage}[h]{10cm} > \fbox{\parbox{10cm} > {This is a test message. If the message is longer than > the width indicated by \verb=\parbox=, it breaks into the next > line.} > } > \end{minipage} > \end{center} > 如果沒有 \verb=\parbox= 的話,顯示就是我要的樣子。 > 可是這個訊息框裡面想要顯示 \parbox 這種 LaTeX 指令,好像就會出現錯誤。 > 不知道是為什麼?怎麼解決咧? \verb 不能當其他指令的參數。例如,不能用在 \fbox{} 裡頭。請參考: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=verbwithin -- ▄▄▄▄▄▄▄ ▄▄▄▄ ▄▄▄▄▄▄ <telnet://bbs.cs.nctu.edu.tw> █▄▄▄▄█ █ ▄▄▄▄▄█ Player: EdwardLee ▄█▄▄▄▄█ ▄▄▄█ █▄▄▄▄▄ From: linux.cc.ntu.edu.tw ☆ 次世代BS2 ☆ 可申請個人板 150MB 相簿 http://pic.bs2.to 交大資訊人 250MB
文章代碼(AID): #17AsNZ00 (LaTeX)
文章代碼(AID): #17AsNZ00 (LaTeX)