30

I need to write a text just in this format

 \documentclass[twocolumn]{article}.

But I need to switch between single column and double column several times in the same page, without jumping to a new page every time I switch the format. Is this possible without using any package like \usepackage{multicol} ?

3
  • 4
    why don't you want to use multicol (which is designed to do exactly that) Oct 27, 2015 at 19:04
  • 1
    Could you mock up an example of the possible page layout you want?
    – Werner
    Oct 27, 2015 at 19:11
  • there is no reason not to use multicol.st it has the same status as article.cls a file in the core latex distribution, you have to input some macro files or you can not typeset anything in latex. Oct 27, 2015 at 21:30

1 Answer 1

25

You should look into using the multicol package and its multicols environment. For instance, the following code produces a page that starts in single-column mode, switches to two-column mode, and finally switches back to single-column mode.

\documentclass{article}
\usepackage{multicol,lipsum}
\begin{document}
\lipsum[1]
% switch to two-column layout
\begin{multicols}{2}
\lipsum[2-3]
\end{multicols}
% switch back to single-column layout
\lipsum[4]
\end{document}
3
  • Does this not mess up marginnotes?
    – mathtick
    Oct 27, 2019 at 20:16
  • @mathtick - Not sure what you're driving at. For a document to produce meaningful twocolumn output, the margins have to be rather slim. Hence I see no reason to worry about a lack of space for margin notes to begin with.
    – Mico
    Oct 27, 2019 at 20:43
  • This works, but creates another problem, that is, multicol doesn't work with floats. Mar 4, 2021 at 14:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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