LaTeX 中的链接迷你页/框
我正在寻找一种在 LaTeX 中链接类似盒子的环境(例如迷你页)的方法,以便不适合第一个盒子的文本溢出到后续的盒子中。例如:
/begin{box-like-environment}
Text, too much to fit in this box...
/end{box-like-environment}
% some LaTeX here, possibly covering several pages...
/begin{box-like-environment}
% Text which doesn't fit in the first box should appear in this box
/end{box-like-environment}
效果类似于 MS Publisher 的“链接文本框”。关于是否以及如何实现这一目标有什么想法吗?
I'm looking for a way of linking box-like environments (e.g. minipages) in LaTeX, so that text that does not fit into the first box spills into subsequent boxes. E.g:
/begin{box-like-environment}
Text, too much to fit in this box...
/end{box-like-environment}
% some LaTeX here, possibly covering several pages...
/begin{box-like-environment}
% Text which doesn't fit in the first box should appear in this box
/end{box-like-environment}
The effect is something like the 'linked text boxes' of MS Publisher. Any ideas as to if and how this could be achieved?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我想,这个想法是,程序找出在两个框之间分割文本的位置,这样你就可以在相对页面上彼此面对的两个浮动之间填充文本。
我不知道如何在 Latex 中做到这一点; Latex对页面布局缺乏敏感性,所以我猜这是不可能做到的。 Context 在布局方面更加复杂:它使用 METAPOST 来处理页面布局,而不是原始 Tex,并且 NTG 邮件列表上有类似的讨论:cf. 汉斯·哈根的帖子。
也许这是一个选择?有一些软件可以自动将 Latex 翻译为 Context。
The idea being, I guess, that the program figures out where to split the text between the two boxes, say so that you can have the text filled between two floats that face each other on opposite pages.
I have no idea how this might be done in Latex; Latex lacks sensitivity to page layout, so I'd guess it can't be done. Context is more sophisticated with regards to layout: it uses METAPOST to handle page layout, not primitive Tex, and there was discussion of something similar on the NTG mailing list: cf. Hans Hagen's post.
Maybe this is an option? There is some software for automatic translation of Latex to Context.
我已收到 flowfram 包的提醒,它确实这。
I have been alerted to the flowfram package, which does this.