1. Víctor Poblete

Hi, many thanks for this space of big help for LaTeX. I want to wite a paper with two columns but I need to insert a table (a little bit big, horizontally full page) and next, I must continue with two columns. Is that possible?

Thanks,

Víctor

2. Hi Victor,

The following code might help you solving your problem. The command “\twocolumn”, “\onecolumn” respectively will allways insert a new page, which is probably not what you want. When using “multicols” instead, you can have different layouts on a single page:

\documentclass{article}
\usepackage{multicol}
\usepackage[english]{babel}
\usepackage{blindtext}
\begin{document}
\begin{multicols}{2}[\textbf{Example for a two column text}]
\blindtext
\end{multicols}
\begin{table}[ht]
\caption{default}
\begin{center}
\begin{tabular}{|c|c|c|c|c|}
\hline
onecolumn & onecolumn & onecolumn & onecolumn & onecolumn\\
\hline
onecolumn & onecolumn & onecolumn & onecolumn & onecolumn\\
\hline
\end{tabular}
\end{center}
\label{default}
\end{table}%
\begin{multicols}{2}
\blindtext[10]
\end{multicols}
\end{document}
• Ben

Thanks a lot Tom! It worked exactly as i wanted! 🙂

• Murat

Wonderful !!! worked great, thanks a lot for this really helpful site!

• You are very welcome! Tom.

3. Christophe H.

Hi,
Thank you for this very useful tip. However, I think there a backslash missing in both commands: it shoud be:

\setlength{\columnsep}{distance}

and

\setlength{\columnseprule}{thickness}

\setlength{columnsep}{distance}

and

\setlength{columnseprule}{thickness}

Regards,
Christophe

4. Hi Christophe,

You are right, there was a typo and I corrected it. Thanks for your help, I appreciate it very much.

Cheers,
Tom

5. Novice

Hi Victor,

I am using math mode under two column format. Some of the lines are exceeding the column width. How can I break the line in math mode ?

• You might want to try using the math mode ($$…$$) and manually split your formula. Whenever you close the math mode, a line break is automatically inserted.

Tom.

6. Edgar

Tanks. Yours comands are very good and clear

7. sergio f.

hola tom muchas gracias por tu aporte a este lenguaje. llevaba bastante tiempo tratando solucionarlo, espero que sigas ayudando desde esta tribuna.

8. Monica

Thank you very much!!!!!!!

9. khalil

I want to have four or three table in one row. help me with one sample.

• Separating a document into several columns can be done using the “multicol”-package:

\usepackage{multicol}
\begin{document}
\begin{multicols}{3}    % 3 columns
...
\end{multicols}
\end{document}

Cheers, Tom.

10. Tricia

I am using two columns and was wondering if it was possible to have my title centered on the whole page not a column…

• This is how you can do it:

\documentclass[11pt]{article}
\usepackage{multicol}
\begin{document}
\begin{center}
\bf{Two column}
\end{center}
\begin{multicols}{2}{
...
}
\end{multicols}
\end{document}

Cheers, Tom.

11. khalil

Thanks tom. But my problem is 3*3 squares. I want to have four 3*3 squares in each row.

Best Wishes

12. Art

Is there any way to have footnotes as well as text appear in two columns with multicols? Using the twocolumn option does that but then one cannot have a title in one column followed by text in two columns. Multicols makes that possible but typesets the footnotes in one column across the bottom (which looks odd),

• Hello,

Hmm, not easy indeed. I could not find a solution to your multicolumn approach. What seems possible however is having a title span both columns, using the optional argument of the twocolumn environment:

\documentclass[twocolumn]{article}
\begin{document}
\twocolumn[\centerline{\Large \bf This is a one column title}
\bigskip]
\end{document}

In case you are using maketitle, try this:

\documentclass[...]{article}
...
\begin{document}
\twocolumn[{\csname @twocolumnfalse\endcsname
\maketitle}]
...
\end{document}

I found this here.

Cheers, Tom.

• Md.Shamsujjoha Disha

Actually I want a Single page contain both abstract of my document in one column and remaining part in two column without new pages … can you help

• Hello!
This would be the standard way to have a one-column abstract and a two-column text:

\documentclass[twocolumn]{article}
\title{Title}
\begin{document}
\twocolumn[
\begin{@twocolumnfalse}
\maketitle
\begin{abstract}
...
\end{abstract}
\end{@twocolumnfalse}
]
\section{Two column section}
...
\end{document}

I found this here.

Regards, Tom.

13. Alex

Hi! I used two column style and I got a problem with Tables and Figures. How could I fit them to column?

\usepackage{multicol}
\begin{document}
\begin{multicols}{2}
...
...
\begin{table}
\caption{Parameters of experiment}
\label{exp}
\centering
\begin{tabular}{l | c}
Parameter &amp;amp; Value\\
\hline
Flow(injection) rate&amp;amp;4.0 ml/min\\
\end{tabular}
\end{table}
\end{multicols}
\end{document}

• Hi Alex,
Apparently, floating environments like “figure” and “table” don’t work with multicol. Here is a possible solution.

Other than that, you may also want to try to place your figure/table within a minipage environment…

Cheers, Tom.

• Alex

Thank you very much!
I’ll try it tomorrow 🙂

• VINIT

THANKYOU TOM…. I WAS WONDERING FOR THIS FROM LAST 3 DAYS…THANKYOU SO MUCH BUDDY

• tom

Glad it was of help to you! Best, Tom

• Alex

It works, thank you 🙂
By the way, I found that {tabulax} is much more useful for multicolumn regime.

• Alex

*{tabularx}

14. Tina

Hi Tom,
I found many comments are very helpful here. can you please have a look at my questions? I want to set two colums in different width. The text content is in the main column (wider column) and the figures and tables are in the other column. Your prompt reply would be greatly appreciated.
Many thanks.
Tina

• Hi Tina,

Unfortunately, the multicol package only supports equal column width. You may want to try the longtable or minipage package. Another possibility might be the parallel package, which does not seem to support figures, however. Finally, the most promising solution is to use the wrapfig package. Even though you will probably have to tweak her and there, it’s relatively straight forward. Here is an example:

\documentclass[a4paper]{report}
\usepackage[english]{babel}
\usepackage{blindtext, graphicx}
\usepackage{wrapfig}
\begin{document}
\begin{wrapfigure}{r}{0.3\textwidth}
\centering
\includegraphics[width=0.3\textwidth]{img1.jpg}
\caption{cap1}
\vspace{1cm}
\includegraphics[width=0.3\textwidth]{img1.jpg}
\caption{cap2}
\end{wrapfigure}
\blindtext
\begin{wrapfigure}{r}{0.3\textwidth}
\centering
\includegraphics[width=0.3\textwidth]{img1.jpg}
\end{wrapfigure}
\blindtext
\end{document}

Cheers, Tom.

15. Thanks mate…

16. Isaac

Your website is very good to the latex users. Thanks, Tom.

17. Thank you man. This is awesome, i wasted a lot of time pulling my hair off coz of the package ltxgrid. You saved my time.

Thanks again.
Ahmed,

18. hari

m doing twocolumn article title make a problem they not equal to other column

• Please provide a minimal code example for me to reproduce you problem. Thanks, Tom.

19. I would like to have a quite long and narrow table to continue from one page column to the other page column, so instead of it continuing to the next page it continues to the next column so I can have that long narrow table on one page instead of two. Like combining longtable and multicol, which is not possible unfortunately. This could otherwise be done using a normal table and having the double amount of table columns but that demands lots of re-structuring of the table-data. It would be interesting to hear if and how you think it would be possible to have one long narrow table in two sections (page columns or similar) on one page. Thanks /Martin

• Hi Martin,

Thanks for your question. You may want to check out the supertabular package. I attached a minimal example below.

\documentclass[12pt, twocolumn]{article}
\usepackage{supertabular}
\begin{document}
\begin{center}
\begin{supertabular}{|c|c|c|c|}
\hline
1 &amp; 2 &amp; 3 &amp; 4 \\ 1 &amp; 2 &amp; 3 &amp; 4 \\ 1 &amp; 2 &amp; 3 &amp; 4 \\ 1 &amp; 2 &amp; 3 &amp; 4 \\
1 &amp; 2 &amp; 3 &amp; 4 \\ 1 &amp; 2 &amp; 3 &amp; 4 \\ 1 &amp; 2 &amp; 3 &amp; 4 \\ 1 &amp; 2 &amp; 3 &amp; 4 \\
1 &amp; 2 &amp; 3 &amp; 4 \\ 1 &amp; 2 &amp; 3 &amp; 4 \\ 1 &amp; 2 &amp; 3 &amp; 4 \\ 1 &amp; 2 &amp; 3 &amp; 4 \\
1 &amp; 2 &amp; 3 &amp; 4 \\ 1 &amp; 2 &amp; 3 &amp; 4 \\ 1 &amp; 2 &amp; 3 &amp; 4 \\ 1 &amp; 2 &amp; 3 &amp; 4 \\
1 &amp; 2 &amp; 3 &amp; 4 \\ 1 &amp; 2 &amp; 3 &amp; 4 \\ 1 &amp; 2 &amp; 3 &amp; 4 \\ 1 &amp; 2 &amp; 3 &amp; 4 \\
1 &amp; 2 &amp; 3 &amp; 4 \\ 1 &amp; 2 &amp; 3 &amp; 4 \\ 1 &amp; 2 &amp; 3 &amp; 4 \\ 1 &amp; 2 &amp; 3 &amp; 4 \\
1 &amp; 2 &amp; 3 &amp; 4 \\ 1 &amp; 2 &amp; 3 &amp; 4 \\ 1 &amp; 2 &amp; 3 &amp; 4 \\ 1 &amp; 2 &amp; 3 &amp; 4 \\
1 &amp; 2 &amp; 3 &amp; 4 \\ 1 &amp; 2 &amp; 3 &amp; 4 \\ 1 &amp; 2 &amp; 3 &amp; 4 \\ 1 &amp; 2 &amp; 3 &amp; 4 \\
1 &amp; 2 &amp; 3 &amp; 4 \\ 1 &amp; 2 &amp; 3 &amp; 4 \\ 1 &amp; 2 &amp; 3 &amp; 4 \\ 1 &amp; 2 &amp; 3 &amp; 4 \\
1 &amp; 2 &amp; 3 &amp; 4 \\ 1 &amp; 2 &amp; 3 &amp; 4 \\ 1 &amp; 2 &amp; 3 &amp; 4 \\ 1 &amp; 2 &amp; 3 &amp; 4 \\
1 &amp; 2 &amp; 3 &amp; 4 \\ 1 &amp; 2 &amp; 3 &amp; 4 \\ 1 &amp; 2 &amp; 3 &amp; 4 \\ 1 &amp; 2 &amp; 3 &amp; 4 \\
1 &amp; 2 &amp; 3 &amp; 4 \\ 1 &amp; 2 &amp; 3 &amp; 4 \\ 1 &amp; 2 &amp; 3 &amp; 4 \\ 1 &amp; 2 &amp; 3 &amp; 4 \\
\hline
\end{supertabular}
\end{center}
\end{document}
20. Thank you for the help. I had not tested that combination. Nice.

21. Mohd Asrul Affendi Abdullah

i new in latex may someone give a beginning command to start write article in two column.

thank u

• Hi there!

It’s all in the post. You really only have to use the optional argument twocolumn of documentclass.

\documentclass[11pt,twocolumn]{article}
\begin{document}
\section{Introduction}
...
\end{document}

Best, Tom

22. ikas

hi Tom!
i have to try make one column in two column’s template of my paper to put my tables (because my table size is so large, so it overlaps with the second column). How to solve this problem?could u?

Cheers=)

• Please find a minimal example below that show how to have a single onecolumn page in a twocolumn document.

\documentclass[11pt,twocolumn]{article}
\usepackage[english]{babel}
\usepackage{blindtext}
\setlength{\columnseprule}{.3pt}
\begin{document}
\section{Introduction}
\Blindtext
\onecolumn
\blindtext
\newpage
\twocolumn
\Blindtext
\end{document}

Let me know if you need anything else. Cheers, Tom.

23. Mohd Asrul Affendi Abdullah

thank u,,,tom really appreciate…and how to separate between two clomn

• Do you want a line separating the two columns?

\setlength{\columnseprule}{.3pt}

You can adapt the thickness by changing the second parameter.

Best, Tom.

24. Mohd Asrul Affendi Abdullah

thank tom.. im already got insert table and figure…..

my problem now
1.how to insert math equation in two column..my equation to length and disturb other side column…

2. Reference how to create by two column
thank u

• Hi there,

1. You can break an equation using eqnarray, e.g.:

\begin{eqnarray}\nonumber
f(x)&amp;=&amp;a_9x^9+a_8x^8+a_7x^7+a_6x^6+a_5x^5+\\
&amp;&amp;a_4x^4+a_3x^3+a_2x^2+a_1x+a_0 \end{eqnarray}

2. I’m not sure what you mean by reference. It would help if you provided a minimal example.

Thanks, Tom.

25. Mohd Asrul Affendi Abdullah

26. Mohd Asrul Affendi Abdullah

\begin{eqnarray}\nonumber
L_c(y_{dj}\gamma,\beta,\psi)&amp;==0}^n}\ln[\exp(z'_i\gamma) + ( 1+\psi\exp(x'_\beta))^{-\psi}]+\\ &amp;&gt;0}^n}{\displaystyle\sum_{j=0}^{y_{dj}-1}}\ln(j+\psi^{-1})+\\
&amp;&gt;0}^n} \{-\ln(y_{dj})!-(y_{dj}+ \psi^{-1})+\\
&amp;&amp;ln (1+\psi\exp(x'_i\beta)) + y_{dj}\ln(\psi) + y_{dj}x'_\beta\} -\\ &amp;^n}\ln[1+\exp(z'_i\gamma)]\end{eqnarray}

this is my command,,,but still long and disturb other side column..but when i copy and paste using your example given above it to be ok …or i need use some package..i already use the \usepackage{amsmath}

• Make sure you set the parentheses right and use eqnarray as follows:

\begin{eqnarray*}
left-side &amp;=&amp; right-side \\
&amp;&amp; right-side only no sign \\
&amp;&gt;&amp; right-side only with sign \\
left-side only &amp;&amp; \\
\end{eqnarray*}

Best, Tom.

27. Mohd Asrul Affendi Abdullah

thank tom..will try

28. mohd asrul

tom can i got your email, i need mail some coding latex for your help

• Hi there,

Please describe your problem and provide a minimal example in order for me to reproduce it.

Thank you,
Tom.

29. Mohd Asrul Affendi Abdullah

thank u..

how to create a normal table 5 column n 8 row in two column article

• It works exactly the same way as for a table in a single-column article. You may have to reduce the width in case the table is too wide. This can either be done by decreasing the font size (e.g. to tiny) or by using a fixed column width (e.g. p{2cm}).
Best, Tom.

30. Simon

If I write \documentclass[11pt,twocolumn]{article} the title page, abstract an the contents are divided into two columns, which I don’t want. If I use \begin{multicols}{2} inside the document instead the title page is not affected, but the columns get too slim. I tried using \setlength{\textwidth}{distance} but the text isn’t centered that way, and the header rule is not adapted accordingly. Is there another, better way when multicols is used? Or is there a way to use “twocolumn” without changing the title page?

All best,
Simon

• Hi Simon,

Here is a minimal example that produces the title page, abstract and contents in a single column and the rest in two columns.

\documentclass[11pt, twocolumn]{article}
\usepackage{blindtext}
\begin{document}
\title{Bla bla title}
\author{tom}
\date{\today}
\twocolumn[
\begin{@twocolumnfalse}
\maketitle
\begin{abstract}
\blindtext
\end{abstract}
\tableofcontents
\vspace{2cm}
\end{@twocolumnfalse}]
\section{Introduction}
\blindtext
\section{Methods}
\blindtext
\end{document}

Hope it helps. Best, Tom.

31. sesinka

Hi, I’m having an issue with multicol environment and too much space beween the title an name of the first section and \vspace{-3cm} does not work. Please help.

• Hi Sesinka,

Here is a quick fix. If this is not what you were looking for, please provide a minimal example for illustration.

\documentclass[11pt, twocolumn]{article}
\begin{document}
\title{This is a title}
\date{\vspace{-2cm}}
\maketitle
\section{Introduction}
\end{document}

Best, Tom.

• sesinka

Hi Tom. Thanks for the advice, but I used twocolumn before and it doens’t look as nice as when using multicol environment. (So I was trying to fix it in multicol) In the meantime I found sort of fix of the gap. In my document, there was first column almost empty and at the bottom there was paragraph. That was ugly. in the second column there was a long table. I figured out, when I divided the table into two, the first half appeared in the bottom of the first column and the first paragraph was finally placed just after the name of the section. Anyways, thank you.

Ses

32. Dr. UTTAM KUMAR BERA

creating two cloumn format , starting with first page . I used tis command. But unfortunitaly the paper start with blank page. please solve my problem
I used the following command.

\documentclass[8 pt,twocolumn]{article}
%\documentclass[conference]{IEEEtran}
%\documentclass[10 pt,twoside,reqno,fleqn]{amsart}
\setlength {\topmargin}{0.01 in} \textwidth 16 cm \textheight 17 cm
%\oddsidemargin 0 in \evensidemargin 0 in \setcounter {page}{1}
%\setlength{\columnseprule}{0.5cm}
%\def\pn{\par\noindent}
\def\cen{\centerline}
\usepackage{geometry}
\usepackage{float}
\usepackage{graphicx}
\usepackage[]{amsmath}
\usepackage[american]{babel}
• Hi!

Please provide a working minimal example and not just the preamble e.g.:

\documentclass[10pt,twocolumn]{article}
\usepackage[american]{babel}
\usepackage{blindtext}
\begin{document}
\blindtext[8]
\end{document}

I will then compile it in my editor and try to help you.

By the way, the minimum font size for article is 10pt. If you need a smaller font size, e.g. 8pt like in your example, try:

\documentclass[8pt,twocolumn]{extarticle}

Best,
Tom.

• kasi

how to insert a long equation in two column article at the bottom/top of same page.
Could you help me?

• tom

Hi Kasi,

Best,
Tom

33. Mohsen

Hi Tom,
I want to set two colums text but in right to lef ordert. Your reply would be greatly appreciated.
Many thanks.
Mohsen

• Hey Mohsen,

The multicol package implements a command to typeset right-to-left (RTL) documents with multiple columns. If you want to add figures/tables (floats), try this (multicol doesn’t allow floats). Here is a minimal example:

\documentclass[11pt]{article}
\usepackage[english]{babel}
\usepackage{blindtext, multicol, float}
\begin{document}
\RLmulticolcolumns
\begin{multicols}{2}
\blindtext[1]
\begin{figure}[H]
\centering
\rule{4cm}{3cm}
\caption{Figure in two columns}
\end{figure}
\blindtext[4]
\end{multicols}
\end{document}

Best, Tom.

34. Manu

Hi Tom,

Here is another question for you! I am writing a journal article using elsarticle.cls with two columns. I would like to get a bibliography (end of my article) that finishes off with the same level, that is to say:
——- ——-
——- ——-
——- ——-

——- ——-
——-
——-
——-
——-
I have seen this before. I think this layout should be possible whatever the document class and the text (in my case bibliography) I use. But how to do this?

Manu

• Hi Manu,

If you use the multicol package rather than the twocolumn option, the text of the final page will be balanced.

Here is a minimal working example:

\documentclass{article}
\usepackage[english]{babel}
\usepackage{multicol, blindtext}
\begin{document}
\begin{multicols}{2}
\blinddocument
\end{multicols}
\end{document}

Best, Tom.

• Manu

Hi Tom,

You are right: multicol balances the columns on the final page by default.

However, the elsarticle class uses the twocolumn option by default. A new search with better keywords leads to the following solution: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=balance
I have not tried it yet, but that should work.

Regards, Manu.

• Thanks for posting your solution. Appreciate it! Tom.

35. ideree

thank you tom two columns is now very easy kkk

However, I must use the

\documentclass[twocolumn]{svjour3}% twocolumn

so that, the problem is that I can not insert a table which is almost as wide as the two columns. When I put my code (given below), I can not find my table in the next page because it has two large figures, but I can find it at the end of the document (after the references). I am also new to latex. please help me.

\begin{table}[p]
% table caption is above the table
\caption{Summery for all scenarios}
\label{tab:7}       % Give a unique label
% For LaTeX tables use
\begin{tabular}{l  l  l  l|  l  l  l  |l  l  l  |l  l  l}
\hline %
\multirow{2}{*}{scheme}&amp;\multicolumn{3}{c|}{scen. $1$}&amp;\multicolumn{3}{c|}{scen. $2$}&amp;\multicolumn{3}{c|}{scen. $3$}&amp;\multicolumn{3}{c}{scen. $4$}\\

&amp; C &amp; SI &amp; PAPR &amp; C&amp; SI &amp; PAPR &amp; C&amp; SI &amp; PAPR &amp; C&amp; SI &amp; PAPR  \\
\hline
CSLM&amp;\textendash&amp; $5$ &amp; $10.5$ &amp;\textendash&amp; $5$ &amp; $10.5$ &amp;\textendash&amp; $5$ &amp; $10.5$ &amp;\textendash&amp; $5$ &amp; $10.5$ \\
SSLM	&amp;$44$&amp;	$5$  &amp;  $9.5$  &amp;	$70$ &amp; $4$ &amp; $9.75$ &amp;$83$&amp;$3$&amp;$9.75$&amp;$90$&amp;$2$&amp;$9.8$\\
\hline \hline
\multicolumn{13}{l}{C $\colon$ Complexity reduction (percentage)}\\
\multicolumn{13}{l}{SI $\colon$ Side Information (number of bits) }\\
\multicolumn{13}{l}{PAPR$\colon$ Peak \textendash to \textendash Average Power Ration Reduction (dB)}\\
\multicolumn{13}{l}{Note$\colon$ this table build on the best results of the CSLM and the SSLM techniques respectively}\\
\multicolumn{13}{l}{Note$\colon$ , i.e., $U = 32$ for the CSLM, and $z = 48$, at $r =8$ for the SSLM.}\\
%\noalign{\smallskip}\hline
\end{tabular}
\end{table}

Note Please: when I remove the option [p] , the table will appear after the page of the figures but in the beginning of the second column, therefore, it will cutoff because it is very wide (approximately 90% of the two columns).

• Hi there,

See the example below. The table is placed on the second page, not at the end of the document.

\documentclass[twocolumn]{svjour3}
\usepackage{multirow, blindtext}
\begin{document}
\begin{table*}[h!t]
% table caption is above the table
\caption{Summery for all scenarios}
\label{tab:7} % Give a unique label
% For LaTeX tables use
\begin{tabular}{l l l l| l l l |l l l |l l l}
\hline %
\multirow{2}{*}{scheme}&amp;\multicolumn{3}{c|}{scen. $1$}&amp;\multicolumn{3}{c|}{scen. $2$}&amp;\multicolumn{3}{c|}{scen. $3$}&amp;\multicolumn{3}{c}{scen. $4$}\\
&amp; C &amp; SI &amp; PAPR &amp; C&amp; SI &amp; PAPR &amp; C&amp; SI &amp; PAPR &amp; C&amp; SI &amp; PAPR \\
\hline
CSLM&amp;\textendash&amp; $5$ &amp; $10.5$ &amp;\textendash&amp; $5$ &amp; $10.5$ &amp;\textendash&amp; $5$ &amp; $10.5$ &amp;\textendash&amp; $5$ &amp; $10.5$ \\
SSLM	&amp;$44$&amp;	$5$ &amp; $9.5$ &amp;	$70$ &amp; $4$ &amp; $9.75$ &amp;$83$&amp;$3$&amp;$9.75$&amp;$90$&amp;$2$&amp;$9.8$\\
\hline \hline
\multicolumn{13}{l}{C $\colon$ Complexity reduction (percentage)}\\
\multicolumn{13}{l}{SI $\colon$ Side Information (number of bits) }\\
\multicolumn{13}{l}{PAPR$\colon$ Peak \textendash to \textendash Average Power Ration Reduction (dB)}\\
\multicolumn{13}{l}{Note$\colon$ this table build on the best results of the CSLM and the SSLM techniques respectively}\\
\multicolumn{13}{l}{Note$\colon$ , i.e., $U = 32$ for the CSLM, and $z = 48$, at $r =8$ for the SSLM.}\\
%\noalign{\smallskip}\hline
\end{tabular}
\end{table*}
\Blindtext
\Blindtext
\end{document}

Also, you may use the starred table environment for the it to span two columns.

Hope that helps, Tom.

37. Hi Tom,
really you are very good man,
thank you very much. It is working now.
Thanks again

• You are welcome. Happy to help! Best, Tom.

38. Jo

Hi,

Thank you so much for this post, but I’m having a hard time setting up a two-column document with a landscape layout.

Here’s a snippet of the code:

\documentclass[11pt,twocolumn]{article}
\usepackage{pdflscape}
\usepackage{fancyhdr}

\setlength{\columnseprule}{0.5pt}

\pagestyle{fancy}

\begin{document}
\landscape

[...]

\end{document}

I get a single column with this, and besides, the header is not properly displayed (they need to be rotated), but that’s yet another problem.

• Hi Jo,

This should work:

\documentclass[11pt,twocolumn, landscape]{article}
\usepackage{fancyhdr, blindtext, pdflscape}
\setlength{\columnseprule}{0.5pt}
\pagestyle{fancy}
\begin{document}
\blindtext
\end{document}

Best, Tom.

• Jo

Hi,

Thank you very much! This worked really well!

• You are welcome! Best, Tom.

39. Pablo Acuña

Thanks man, pretty useful

Hi Tom,
Thank you so much for your wonderful information and this interesting lesson.. I am wondering if you could help me please,
I am using the two culomn page template you provided. But I need to set some measurement including this
Reference list needs to be set in 10 pt Times Romans

The paper size for submitting the manuscript is European A4 (20.99 × 29.70 cm)

The distance between the top of the page and the top of header, as well as from the bottom of the page to the bottom of the footer should be set at 2.5 cm.

The first tab position in the main text and in the notes is at 0.5 cm, consecutive tab stops are spaced 0.5cm apart.

These are the requirements that I have to follow in my paper submitted to the journal. How can I do these measurements?

• Hi!

Firstly, if you are submitting a paper, journals often have their own LaTeX template/class for download.

I wasn’t quite sure what you meant by tab position. Do you mean side margins and space between columns?
Here is some code for the document layout you describe above:

\documentclass[10pt,a4paper,twocolumn]{article}
\usepackage{mathptmx} % Times New Roman font
\usepackage[T1]{fontenc}
\usepackage[top=2.5cm, bottom=2.5cm, left=0.5cm, right=0.5cm]{geometry} % top and bottom 2.5cm margin
\setlength{\columnsep}{0.5cm} % space between columns
\usepackage{blindtext}
\begin{document}
\Blindtext\blindtext
\end{document}

HTH,
Tom

41. Hi Tom,
I want to use two column document where I have to display table that is spread in both column but that table should split continue in next page.

I am using supertabular but it does not split table in next page. Here is my code. Could you please help me. Thanks!


\documentclass[12pt,twocolumn]{IEEEtran}
\usepackage{supertabular}

\begin{table*}
\begin{supertabular}{p{4cm}|p{6cm}|p{6cm}}
\hline
1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\
1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\
1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\
1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\
1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\
1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\
1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\
1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\
1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\
1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\
1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\
1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\
1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\
1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\
1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\
1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\
1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\
1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\
1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\
1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\
1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\
1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\
1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\
1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\

\hline
\end{supertabular}
\end{table*}


• Hi! Just remove the enclosing table environment and it works.

\documentclass[12pt,twocolumn]{article}
\usepackage{supertabular}
\begin{document}
\begin{supertabular}{c|c|c}
\hline
1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\
1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\ 1 &amp; 2 &amp; 3 \\
...
\hline
\end{supertabular}
\end{document}
42. Vibeke Gwendoline Fængsrud

Dear Tom

I´m using a one column document, how ever I need certain sections to be two columns with text. How do I get that? Please help:-)

• Hi Vibeke,

There are two possible ways, either using minipage or the multicol package. Since your two-column environment contains text, the latter is the better option.

Cheers, Tom.

43. HI Tom, I couln’t see a solution to my specific problem in the previos entries. I want to insert a figure in a multicols enviroment, I need that the figure have the width size of the column. In the document in which Im working figures will use two columns, or one column. Im getting crazy. Thk for your help.

44. Kanchana

Thank you Tom Sir, it helped me a lot.. I have a quiry is it possible to control the height,width of the table in Latex?

• tom

Hi Kanchana,

To control the width of your table, use p{width} as column type. You can find an example here. The height obviously depends on the tabular’s content. There are ways to control a tabular’s height, however, e.g. by changing the font size or through \arraystretch.

HTH, Tom

45. Kanchana

Hi Sir,

Thank you for your solution to my previous queries. Sir i have a problem in columns. I read your previous suggestion for minipage and columns for splitting pages. Now i want to make three columns for three figures. In beamer we use columns but in article if i use columns it shows an error “Environment columns undefined”.

• tom

Hi Kanchana,

That’s right, columns is a beamer environment. However, minipage will work. Alternatively, you might use the subfig or subcaption packages, which provide environments for side-by-side figures. See my post for some examples here.

HTH,
Tom

46. husham

hi tom
first many thanks for you .
I have problem i use

\documentstyle[twocolumn]{article}

i cant insert figure

• tom

Hi Husham,

Use \documentclass instead:

\documentclass[twocolumn]{article}

Let me know if it still doesn’t work…

Tom

• Fernando

Hello there thank you very much for all your help and sharing wit Latex.

I am “new” in Latex and I would like to ask a similar question about the column layout. I am trying to make a document with two columns but with some pages with independent columns. My idea is for these pages to write the text on the right side (for example) and the figures and tables I mention on the left side without text on the column I put them. I hope someone can help me with this doubt.

Thank you very much.

Regards!

• tom

Hi Fernando,

My suggestion would be to switch to a single column layout and use a “side-by-side” environment such as minipage. You can find more on minipage here.

Just drop me a line should you run into some issues.

Best, Tom

• Fernando

Thank you very much Tom. minipage is great for this.
Just one thing I am missing. I tried to use this command:

\begin{minipage}[t]{.475\linewidth}
begin{figure}
\centering
\includegraphics[width=7cm]{Cu.png}
\end{figure}
\end{minipage}\hfill

But the eror message says “\begin{minipage} ended by \end{figure} ”

Not sure what is happening.

• tom

Great!

You won’t need the figure environment in this case. Placing figure inside minipage is the reason for the error, as figure is a floating environment ‘trapped’ inside minipage. So, removing \begin{figure} and \end{figure} should fix the error.

Best,

47. Fernando

Thank you very much Tom. I am sorry for the question with figure and minipage as I am starting maybe that was a rookie mistake.

I am still having problems and I was thinking that maybe the code I am using is wrong. Let me tell you briefly maybe you can have an idea: I started a document with two colums using {multicols}{2}. Then there is a “special page” where I intend to put the explanation on one column and the figures in the other. So for this I used end{multicols}{2}. Then I started the document by using {multicols}{1} and only after this I used {minipage}, like:

\begin{multicols}{2}
blablabla
\end{multicols}{2}

\onecolumn

\begin{minipage}[t]{.475\linewidth}
blablabla %this is the paragraph in the first column
\end{minipage}

\begin{minipage}[t]{.475\linewidth}
\includegraphics[width=7cm]{Figure.png} %this is the image in the second column
\end{minipage}

\end{multicols}{1}

The only thing is that I can not center the images on the right column. That is the only detail I can not solve.
Regards!

• tom

Hi Fernando,

Thanks for the code. Below are my suggested changes. Also, environment parameters are always passed with \begin{environment} if any, but never with \end{environment}. Just use \end{multicols} instead of \end{multicols}{1} or \end{multicols}{2}.

Hope this helps,
Tom

\documentclass[11pt]{article}
\usepackage{multicol}
\usepackage{blindtext}
\begin{document}
\begin{multicols}{2}
\blindtext
\end{multicols}
\onecolumn
\begin{minipage}[m]{.475\linewidth}
\blindtext
\end{minipage}
\begin{minipage}[m]{.475\linewidth}
\rule{5cm}{12cm}
\end{minipage}
\end{document}
• Fernando

Thank you very much man!
It works great!
regards.

• tom

Great, that’s good to know! Regards, Tom

48. Fernando

Thank you very much Tom!
This works great, it is just that I can not center the figures horizontally in the minipage. I think I am missing something as it seems the \centering command does not work inside the minipage.
Sorry for so many questions.
Best Regards.

• tom

Hey Fernando,

It seems to work in the minimal example below. Did you try \begin{center}...\end{center}? Please provide a minimal working example to illustrate your problem.

Thanks, Tom

\documentclass[11pt]{article}
\begin{document}
\begin{minipage}[m]{\textwidth}
\centering
\rule{5cm}{5cm}
\end{minipage}
\end{document}
• Fernando

Thank you very much Tom. I really appreciate your answers. Here is a minimal working example of what I am doing (the first minipage is for text and the second for three figures that I want to center in the right side minipage, one after the other in a vertical position):

\onecolumn
\begin{minipage}[c][/c]{.475\linewidth}
\section{section 1}
\subsection*{subsection 1}
blablabla
\end{minipage}
\begin{minipage}[c][/c]{.475\linewidth}
\includegraphics[width=7cm]{fig.1.png}{\centering}
\includegraphics[width=7cm]{fig.2.png}{\centering}
\includegraphics[width=7cm]{fig.3.png}{\centering}
\end{minipage}

When I used your working example, it works fine but it puts one figure alone and the other two next to each other.

Thank you!

• tom

Hi Fernando,

Thanks for the code. An empty line between images inserts a linebreak. See the minimal working example below:

HTH, Tom

\documentclass[11pt]{article}
\usepackage{multicol,blindtext}
\begin{document}
\begin{multicols}{2}
\blindtext
\end{multicols}
\onecolumn
\begin{minipage}{.475\linewidth}
\section{section 1}
\subsection*{subsection 1}
blablabla
\end{minipage}
\begin{minipage}{.475\linewidth}
\begin{center}
\rule{0.7\linewidth}{2cm}

\rule{0.7\linewidth}{2cm}

\rule{0.7\linewidth}{2cm}
\end{center}
\end{minipage}
\begin{multicols}{2}
\blindtext
\end{multicols}
\end{document}
49. Fernando

Hello Tom I hope you are doing great. I am sorry for this question it does not belong here, but I wrote this in another post and I haven´t recieved an answer.
I am using the multicols{2} environment and I need to put some footnotes that use each column wide and not the pagewide below the columns. For what I have read it seems that I should use \twocolumns instead or is there any way to force the footnotes only in the corresponding column?
Thank you very much.
Best Regards.

• tom

You are right, I don’t think it’s possible with the multicol package at this point. Cheers, Tom.

50. Hello
I am trying to do a two column page with a vertical line separating the columns. Any idea how I could realize that? Help much appreciated.
Thanks a lot

• tom

Hi Alb,

Thanks for your question. Please see the minimal example below. Let me know if you have any further questions.

Best, Tom.

\documentclass[11pt,twocolumn]{article}
\usepackage{blindtext}
\setlength{\columnseprule}{0.4pt}
\begin{document}
\blinddocument
\end{document}
51. Nasra

thanks alot this is what i wanted.

52. Binh

Hi Tom,

I try to create two columns section but I want to manually write in each column instead of automatically done by Latex. Says, I write some math formulas in column 1 then write some explanations in column 2. Or I insert 1 table in left column but write some maths on the right. Is it possible? Thank you very much

• tom

Hi Binh,

Thanks for your question. The multicol package can create multiple columns locally. I created a minimal working example which you can find below. Alternatively, you can also use the tabular environment.

Hope this helps,
Tom

\documentclass[10pt]{article}
\usepackage{multicol,lipsum}
\begin{document}
\begin{multicols}{2}
\rule{5cm}{5cm}
\columnbreak

\lipsum[2]
\end{multicols}
\lipsum[3]
\begin{multicols}{2}
\lipsum[4]

\columnbreak
\rule{5cm}{5cm}
\end{multicols}
\end{document}
53. Massimiliano Fregoni

Hi Tom,
I am creating a two column document. All is done apart two things:
1 I would like the theme of the essay to be on one line instead of being squeezed into one column and slightly separated from the main body.
2 Bibliography: very basic one. [1] with reference to the book or article I took the information from. I understand I have to create a file in which to store those information and link it to latex. How do you do it?

Kind Regards,
Max

• tom

Hi Massimiliano,

Thanks for your question. When you say theme, do you mean abstract? The example below illustrates how to have a one-column title and abstract. Also, it shows how to generate a bibliography. The package is called biblatex. You can get bib-entries through doi2bib.org and save them to reference.bib. To generate the bibliography, you’ll have to use biber or bibtex. It depends on the editor you use, so I can’t really tell you how to do that. In the command line, you’d type latex main (main.tex), biber main, latex main and again latex main. This should get all references right.

Best,
Tom

\documentclass[11pt, twocolumn]{article}
\usepackage{blindtext}
%Bibliography
\usepackage[backend=biber]{biblatex}
\bibliography{references} % references.bib file

\begin{document}
\title{Some fancy document}
\twocolumn[
\begin{@twocolumnfalse}
\maketitle
\begin{abstract}
\blindtext
\end{abstract}
\end{@twocolumnfalse}
]
\blinddocument
\printbibliography
\end{document}
• Massimiliano Fregoni

Hi Tom,
My most profuse thanks. It really helps!
Have a lovely Christmas and Happy new year 2017, in case I do not drop a line again.
All the best,
Max

54. Mazin

Hi Tom

I’ve written a journal paper of 27 pages in two columns style. In 26 pages there is a space between the two columns, and only in one page they come side by side without any space between them. Please how can I fix this issue?