LaTeX 中的链接迷你页/框

发布于 2024-08-17 13:01:45 字数 427 浏览 3 评论 0原文

我正在寻找一种在 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

北方的巷 2024-08-24 13:01:45

我想,这个想法是,程序找出在两个框之间分割文本的位置,这样你就可以在相对页面上彼此面对的两个浮动之间填充文本。

我不知道如何在 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.

抠脚大汉 2024-08-24 13:01:45

我已收到 flowfram 包的提醒,它确实这。

I have been alerted to the flowfram package, which does this.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文