Hot answers tagged

2

What you are looking for is multicols* notmulticolsas an environment to suppress balancing (which is really the main purpose of the multicol package :-)


2

You could do it in two stages. First create a document (test5.pdf) to fit the interior of the tcolorbox. Then copy each page into the tcolorboxes for the final document. \documentclass{article} \usepackage[a4paper, total={7in, 2in}]{geometry} \usepackage{tcolorbox} \newcounter{box} \begin{document} \begin{tcolorbox}[height=\textheight] text width ...


2

Works fine for me \documentclass{book} \usepackage{multicol,lipsum} \begin{document} \begin{multicols}{2} \null \vfill \subsubsection{Vitesse du Vent} \lipsum[1] \vfill \null \columnbreak \rule{4cm}{0.8\textheight} \end{multicols} \end{document} Edit As mentioned by egreg in a comment it would be better to use LaTeX-commands instead of the ...


2

Last year I fixed the incorrect handling of vertical space at the end of columns: a space there should get removed unless it is explicitly requested which wasn't the case in all circumstances. From the changelog: 2015-03-31 Frank Mittelbach <Frank.Mittelbach@latex-project.org> * multicol.dtx: Another rewrite of \remove@discardable@items to ...


2

since you want manual control over the lines anyway, I'd just do \documentclass{article} \usepackage{multicol} \usepackage[a4paper, total={7in, 2in}]{geometry} \usepackage[breakable]{tcolorbox} \newcommand\tbox[1]{\begin{tcolorbox}[breakable]#1\end{tcolorbox}} \newcommand\x[2]{% \noindent\makebox[.5\textwidth][l]{#1}% \makebox[.5\textwidth][l]{#2}% } ...


1

Try this: \documentclass[12pt]{article} \usepackage{geometry} \usepackage{multicol} \usepackage{enumerate} \usepackage{amsmath} \geometry{lmargin=1in, rmargin=1in, textheight=8.25in} \begin{document} \begin{multicols}{2} With $x = 7$ \begin{align*} 3(7 + 1)^{\frac{2}{3}} &\overset{?}{=} 12\\ 3(8)^{\frac{2}{3}} &\overset{?}{=} 12\\ ...


1

Ouch. Looks like this is a bug that got introduced with patch pr4395 a while back. The issue is that when assembling the text columns, boxes got constructed and reconstructed and for that we need a \boxmaxdepth equal to \maxdepth as used during normal page generation. However, when the final page is constructed (in the normal case) that \boxmaxdepth is ...


1

I made this a separate answer since it uses a totally different approach (one stage). It provides the environment TwoColumnBox which provides all the features of my previous solution plus it will use whatever space is left in the first page (assuming it is partially filled), and leave unused space on the last page. Note: I had to use a \parbox to set ...



Only top voted, non community-wiki answers of a minimum length are eligible