Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I have two-columned page by multicol:

   \begin{multicols}{2}
        Lorem ipsum dolor sit amet...
   \end{multicols}

It there any way to ban wrapping to the second column. What I mean is, that I need one whole pararaph in the first column and I don't want to wrap it.

share|improve this question
    
Is the contents of the multicols environment regular text? Or does it form part of something special (like a ToC)? –  Werner Dec 11 '11 at 18:44
    
It is regular text. –  Yetty Dec 11 '11 at 18:45
add comment

2 Answers

up vote 10 down vote accepted

If you do not want any column balancing: just use multicols* as the environment.

If you do want balancing but control the breakpoint then \columnbreak will allow you to set them explicitly as needed.

If you just want to ensure that column breaks are happening only between paragraphs then you could set

\interlinepenalty=10000

inside the multicols environment. However, for that to work you need the latest version of the package (1.8a), which so far is only at the SVN site for LaTeX. With older versions of multicol this might result in column overflows, as the algorithm doesn't expect that there are nearly no breakpoints. See also the discussion in "multicols-not-wrapping-to-2nd-column-properly" which let to this new version.

share|improve this answer
add comment

Issuing a \columnbreak is usually the way to force a break from one column to the next. As such, document elements prior to it should stay together and not wrap to the next column.

enter image description here

\documentclass{article}
\usepackage{multicol}% http://ctan.org/pkg/multicol
\usepackage{lipsum}% http://ctan.org/pkg/lipsum
\begin{document}
\lipsum[1]
\begin{multicols}{2}
\lipsum[3] \columnbreak
\lipsum[2]
\end{multicols}
\lipsum[4]
\end{document}

This works, regardless of the length of the respective documents elements (to see, switch \lipsum[3] and \lipsum[2]).

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.