看板LaTeX
标 题Re: [问题] 讯息框里面放\verb= =?
发信站交大资讯次世代BS2 (Fri Nov 2 23:40:23 2007)
转信站ptt!ctu-reader!ctu-gate!ctu-peer!news.nctu!csnews.cs.nctu!news.cs.nctu
※ 引述《[email protected] (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