如何分隔不同高度的多列块,并在彼此下方设置单独的列?

如何分隔不同高度的多列块,并在彼此下方设置单独的列?

我正在尝试创办一份小报纸,并尝试用 Latex 来做。

到目前为止,我已经利用有用的报纸软件包来制作标题和署名宏以及标题创建。

此外,我还尝试了multicolsgraphicxpicinpar包,但它们还不够用。

下面是一个相当令人讨厌的例子,但却全面地说明了我想要做的事情:

NYTimes JP Surrender Front Page

我不需要更复杂的文本形状(例如部分折叠在另一列上)。但是,如何将段落关联到其他文本列下方的两列或更多列中。与让段落文本一直延伸到页面高度填满的方式multicolsmulticols*功能相反?

此外,如何才能使一个段落跨越两列的宽度呢?

答案1

流程框架

看看 Nicola Talbot 的包裹流程框架她甚至还制作了一个绘图程序jpgfdraw,可用于构建flowframe页面。flowframe可以在不同的框架之间链接文本(参见倒数第二个问题)

文本位置

如果这不合适,您可以尝试使用包来构建页面文本位置。这是一个非常先进的软件包,我非常肯定您可以用它排版报纸。您可以通过堆叠文本框来构建页面。在文本框内,您可以使用多列:

\documentclass{article}
\usepackage{multicol}
\usepackage{textpos}
\TPGrid[40mm,20mm]{10}{5}

\begin{document}
\noindent\begin{textblock*}{5cm}(4cm,4cm)
\begin{multicols}{2}

Mul­ti­col de­fines a mul­ti­cols en­vi­ron­ment which type­sets text in mul­ti­ple columns (up to a max­i­mum of 10), and (by de­fault) bal­ances the end of each column at the end of the en­vi­ron­ment. The pack­age en­ables you to switch be­tween any (per­mit­ted) num­ber of columns at will: there is no im­posed "clear page" op­er­a­tion, as there is in un­adorned LaTeX at a switch be­tween onecol­umn and twocol­umn sec­tions. The mul­ti­col­umn en­vi­ron­ment can also be used in­side a box, thus al­low­ing mul­ti­columned in­sets in text.

Mul­ti­col patches the out­put rou­tine, and may clash with other pack­ages that do the same (e.g., longtable); fur­ther­more, there is no pro­vi­sion for sin­gle col­umn floats in­side a mul­ti­col­umn en­vi­ron­ment, so fig­ures and ta­bles must be coded in-line (us­ing, for ex­am­ple, the H mod­i­fier of the float pack­age).

The pack­age is part of the la­tex-tools bun­dle in the LaTeX re­quired dis­tri­bu­tion. 

\end{multicols}
\end{textblock*}

\end{document}

小页面

第三种解决方案是使用带有 multicol 的 minipages 构建页面:

\documentclass{article}
\usepackage{multicol}

\begin{document}

\noindent\begin{minipage}[b]{5cm}
\raggedleft
\begin{multicols}{2}

Mul­ti­col de­fines a mul­ti­cols en­vi­ron­ment which type­sets text in mul­ti­ple columns (up to a max­i­mum of 10), and (by de­fault) bal­ances the end of each column at the end of the en­vi­ron­ment. The pack­age en­ables you to switch be­tween any (per­mit­ted) num­ber of columns at will: there is no im­posed "clear page" op­er­a­tion, as there is in un­adorned LaTeX at a switch be­tween onecol­umn and twocol­umn sec­tions. The mul­ti­col­umn en­vi­ron­ment can also be used in­side a box, thus al­low­ing mul­ti­columned in­sets in text.

Mul­ti­col patches the out­put rou­tine, and may clash with other pack­ages that do the same (e.g., longtable); fur­ther­more, there is no pro­vi­sion for sin­gle col­umn floats in­side a mul­ti­col­umn en­vi­ron­ment, so fig­ures and ta­bles must be coded in-line (us­ing, for ex­am­ple, the H mod­i­fier of the float pack­age).

The pack­age is part of the la­tex-tools bun­dle in the LaTeX re­quired dis­tri­bu­tion. 

\end{multicols}
\end{minipage}\strut

\end{document}

话虽如此,LaTex 并不是排版报纸的最佳解决方案。

相关内容