Re: [問題] 訊息框裡面放\verb= =?
※ 引述《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
討論串 (同標題文章)
LaTeX 近期熱門文章
PTT數位生活區 即時熱門文章