Latex shortstack

[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模式,为此不得不放弃这种方法。
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值