Page Layoutmulticol | Multi-column Environment seemingly undefined

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
quigley
Posts: 3
Joined: Thu Jan 17, 2013 11:59 am

multicol | Multi-column Environment seemingly undefined

Post by quigley »

First post so I hope this is in the right place.

I'm trying to use the multicol package to balance the columns above the bibliography (as in revtex) in a two-columned document. However its throwing up two errors.

Code: Select all

! LaTeX Error: Environment multicol undefined.
! LaTeX Error: \begin{document} ended by \end{multicol}.
I've searched around a bit but all the help I could find was for people who had missed out \usepackage{multicol}. I'm using Miktex so I'm pretty sure the correct package is installed. Code is below, with most of the irrelevent (I think) stuff removed.

Code: Select all

\documentclass[12pt,a4paper,titlepage]{article}
\usepackage{multicol}
\usepackage{amsfonts,amssymb,amsmath,mathbbol}
\usepackage{graphics,graphicx,epsfig}
\usepackage{rotating,subfig}
\usepackage{caption}
\usepackage[margin=2.5cm]{geometry}
\captionsetup{font={small,it},labelfont=small}

\begin{document}
\begin{multicol}{2}
\input{intro}
\input{theory}
\input{method}
\input{results}
\input{conc}
\end{multicol}{2}

\bibliographystyle{apsrev4-1}
{\footnotesize \bibliography{luckyrefs}}
\end{document}
Any ideas?
Last edited by localghost on Thu Jan 17, 2013 12:12 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

multicol | Multi-column Environment seemingly undefined

Post by localghost »

The environment is called multicols. See the multicol manual for details.


Best regards and welcome to the board
Thorsten
quigley
Posts: 3
Joined: Thu Jan 17, 2013 11:59 am

multicol | Multi-column Environment seemingly undefined

Post by quigley »

Ok that was stupid of me, however \usepackage{multicols} is now producing a different error.

Code: Select all

! LaTeX Error: File `multicols.sty' not found.
I have now switched machines and am using Ubuntu with textlive-full installed and up to date. So the package should be there I know we've moved away from the original topic now but any suggestions?
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

multicol | Multi-column Environment seemingly undefined

Post by localghost »

Did I say that the package is called multicols? No. The environment name is what you have to correct. m(
quigley
Posts: 3
Joined: Thu Jan 17, 2013 11:59 am

Re: multicol | Multi-column Environment seemingly undefined

Post by quigley »

Sorry, my mistake again, I'm being dense this morning, lack of sleep is catching up.

Thanks
Post Reply