[url]http://www.emerson.emory.edu/services/latex/latex_55.html[/url]
[quote]
\shortstack
\shortstack[position]{... \\ ... \\ ...}
The \shortstack command produces a stack of objects. The valid positions are:
r - Moves the objects to the right of the stack
l - Moves the objects to the left of the stack
c - Moves the objects to the center of the stack (default)
[/quote]
[url]http://blog.sina.com.cn/s/blog_665f991f0100q7j9.html[/url]
[quote]来自:http://billlangjun.blogspot.com/2009/05/latex.html
latex实现带换行的文本框
这个东西在搜索引擎上几乎找不到答案(这篇blog希望能够使得通过搜索引擎能够找到这个解决方案)。
问题是这样的,我想在latex里实现带换行功能的文本框。
最直接的想到了如下代码
\fbox{abcd \\ abcd \\ abcd}
生成文件后你会发现,这里的换行根本不起作用。
开始已经找到了pstricks还有tikz来实现这个功能(也花了好几个小时来了解)。但是最终发现这个东西只能在pdflatex编译模式下实现。我现在的文章必须用dvipdf模式,为此不得不放弃这种方法。
[quote]
\shortstack
\shortstack[position]{... \\ ... \\ ...}
The \shortstack command produces a stack of objects. The valid positions are:
r - Moves the objects to the right of the stack
l - Moves the objects to the left of the stack
c - Moves the objects to the center of the stack (default)
[/quote]
[url]http://blog.sina.com.cn/s/blog_665f991f0100q7j9.html[/url]
[quote]来自:http://billlangjun.blogspot.com/2009/05/latex.html
latex实现带换行的文本框
这个东西在搜索引擎上几乎找不到答案(这篇blog希望能够使得通过搜索引擎能够找到这个解决方案)。
问题是这样的,我想在latex里实现带换行功能的文本框。
最直接的想到了如下代码
\fbox{abcd \\ abcd \\ abcd}
生成文件后你会发现,这里的换行根本不起作用。
开始已经找到了pstricks还有tikz来实现这个功能(也花了好几个小时来了解)。但是最终发现这个东西只能在pdflatex编译模式下实现。我现在的文章必须用dvipdf模式,为此不得不放弃这种方法。