# Tag Info

90

Since you want multiple columns, you should use the multicol package: Code: \documentclass{article} \usepackage{multicol} \begin{document} Two columns: \begin{multicols}{2} \begin{itemize} \item item 1 \item item 2 \item item 3 \item item 4 \item item 5 \item item 6 \end{itemize} \end{...

59

Use \setlength{\columnsep}{<width>} in the preamble of your document. Changing \columnsep also works if you use the multicol package.

51

\usepackage{balance} in the beginning of the latex document, and then add \balance somewhere in the left column text of the last page.

45

For a single page the package vwcol (vari­able-width mul­ti­ple text columns) make is what you're looking for. \documentclass{article} \usepackage[margin=2cm]{geometry} \usepackage{lipsum} \usepackage{microtype} \usepackage{vwcol} \begin{document} \begin{vwcol}[widths={0.6,0.4}, sep=.8cm, justify=flush,rule=0pt,indent=1em] \lipsum[1-8] \...

43

There is a switch: \onecolumn: \documentclass[10pt,a4paper,twoside,twocolumn, english]{report} \usepackage{lipsum, babel} %\input{preamble.tex} \begin{document} \lipsum % This section should spread over both columns \onecolumn \section{Name} \lipsum[1-3] \end{document} But the section has to start on a new page. Go back to twocolumn with? Yes, \twocolumn....

38

Use the starred variant of the multicols environment: \documentclass{article} \usepackage{multicol}% http://ctan.org/pkg/multicol \usepackage{lipsum}% http://ctan.org/pkg/lipsum \usepackage[scale=0.9]{geometry}% http://ctan.org/pkg/geometry \begin{document} \begin{multicols*}{2} \lipsum[1-6] \end{multicols*} \end{document}

37

The multicol environment is not designed to support column floats. The concept of balancing makes this next to impossible to automatically provide correct results in the general case and therefore I decided not to extend multicolin this direction for 2e. For example, with multicol you can change the number of columns mid-page, how should that reflect on ...

31

If you are not using the multicols package you can insert a column break by adding the following: \vfill\eject

31

If you don't want longtable to add headers and footers to the table at the same time that multicol is balancing where to make the break (which would require that frank and I cooperate:-) then multicol will balance the output from longtable if you first trick longtable into thinking that it isn't in multicol at all. I added some rules, just to show that ...

31

To change the column width in the mid document, you should close the previous multicols, set the new \columnsep, and then start a new multicols environment. Try the following code: \documentclass{article} \usepackage{blindtext} \usepackage{multicol} \setlength\columnsep{10pt} % This is the default columnsep for all pages \begin{document} \begin{multicols*...

24

This is a mixture of very unsuitable input ;-) and a deficiency of multicol. Multicol was originally designed for text balancing and the algorithm makes some assumptions based on this. One of the assumption is that the galley material to cut the columns from has a suitable number of breakpoints to allow for this and inparticular to allow for balancing. Now ...

23

I recommend you use the twocolumn document class option instead of the multicol package. With the twocolumn option set, you can use figure and table environments to span a single column of text, and figure* and table* environment for floats to span both columns. With the starred environments, do note that you're restricted to placing floats at the top of the ...

22

As mentioned by Ulrike and Werner the way to stop multicols from balancing is to use the multicols* environment instead. But from the form of your question and your MWE I wonder if a simpler answer may not be: do not use multicols at all. After all \documentclass[twocolumn]{article} or \twocolumn[Some single column material] ... will also get you two ...

22

As Andrew remarked in his answer a solution for multicols is rather more complicated as the "current" column is not at all known while doing the typesetting. So a rather complicated approach with multiple typesetting runs (using the .aux file) is needed. Below is a first draft of a solution providing \docolaction{left}{middle}{right} for executing ...

20

Package multicol \columnseprule only works inside environment multicols: \documentclass{article}% \usepackage{lipsum} \usepackage{multicol} \usepackage{color} \setlength{\columnseprule}{1pt} \renewcommand{\columnseprulecolor}{\color{red}} \begin{document} \begin{multicols}{2} \lipsum[1-5] \end{multicols} \end{document} LaTeX without package multicol ...

20

The problem here is not related to multicol but is in fact a general problem in LaTeX (and not really solvable within the curent LaTeX model (the galley model for LaTeX3 has a solution for this but this doesn't really help with this not operational). The problem is the following: The end of the enumerate generates: a penalty item (-51 good place to break) ...

19

The article document class defined \tableofcontents as \newcommand\tableofcontents{% \section*{\contentsname \@mkboth{% \MakeUppercase\contentsname}{\MakeUppercase\contentsname}}% \@starttoc{toc}% } This prints both the \contentsname as a \section* and marks the headers, after which it typesets the actual ToC (via \@starttoc{...

19

There are a couple of possibilities here. For two-column text in the article class, you don't need the multicols environment other than to balance the columns at the end, or if you want to switch to single-column and back without incurring a page break. Just pass the twocolumn option to article. In that case, using the figure environment will indeed give ...

19

Here is my code. it works for IEEE journal template (two columns journal template, bare_jrnl_compsoc, bare_jrnl, and so on). So one page-wide figure is in two columns setting paper. \begin{figure*} \center \includegraphics[width=\textwidth]{AAA.eps} \caption{PRF and pulses number comparison with eigenwaveform.} \label{AAA} \end{figure*} Hope it ...

18

You can locally set \multicolsep to 0pt (or another desired value; the default value for \multicolsep is 12pt plus 4pt minus 3pt): \documentclass{article} \usepackage{multicol} \usepackage{enumitem} \setenumerate{nolistsep} \setitemize{nolistsep} \usepackage[compact]{titlesec} \begin{document} Some text \begin{itemize} \setlength\...

18

Don't try to adjust the column width directly: multicol is designed to calculate it. What you should do instead is first set up a notional page with a 'text block' which represents the text you would get if you had a single column. This involves quite a number of potential lengths, and you would be well-advised to use the geometry package to do this: most ...

17

You can use the multicol package to do this. It's manual is typeset in three column format! (at least the first half). A separation line can be added by setting the \columnseprule length. \documentclass{article} \usepackage{multicol} \usepackage{lipsum}% dummy text \setlength{\columnseprule}{0.4pt} \begin{document} \begin{multicols}{3} \section{Test} \...

17

Here is some code that does the automatic column adjust thing, I used the code found in "count and use the number of items in advance" to help me. \documentclass{article} \usepackage{etoolbox,refcount} \usepackage{multicol} \newcounter{countitems} \newcounter{nextitemizecount} \newcommand{\setupcountitems}{% \stepcounter{nextitemizecount}% \setcounter{...

16

The multicol package doesn't support normal floats, like table and figure, only page-wide floats, which are starred forms: table* and figure*. But you do not need the table environment to create the table, that only causes it to float. You could replace the table environment with a center environment, or drop the surrounding environment altogether. If you ...

16

While I wouldn't recommend it normally, you can also fiddle with the \multicolsep length. \documentclass{article} \usepackage{multicol} \setlength{\multicolsep}{6.0pt plus 2.0pt minus 1.5pt}% 50% of original values \usepackage{lipsum} \begin{document} \lipsum[1] \begin{multicols}{3} \noindent $$\sum F_x = 0$$ \begin{...

16

Let me show you how to implement this for twocolumn layouts rather than via the multicol package. This will fix some of your coding issues. \documentclass[twocolumn]{article} \usepackage{wrapfig} \usepackage{lipsum} \makeatletter \newenvironment{pquote}[1][\relax]{% \ifx#1\relax\def\@mypl{\if@firstcolumn l\else r\fi}% \else\def\@mypl{#1}\fi% \...

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