89 Comments

  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}
  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}

    instead of

    \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. sergio f.

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

    • 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.

  7. 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.

  8. 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.

  9. 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 & Value\\
    \hline
    Flow(injection) rate&4.0 ml/min\\
    \end{tabular}
    \end{table}
    \end{multicols}
    \end{document}

    Thanks for answer!

    • 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

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

  10. 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.

  11. 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 & 2 & 3 & 4 \\ 1 & 2 & 3 & 4 \\ 1 & 2 & 3 & 4 \\ 1 & 2 & 3 & 4 \\
      1 & 2 & 3 & 4 \\ 1 & 2 & 3 & 4 \\ 1 & 2 & 3 & 4 \\ 1 & 2 & 3 & 4 \\
      1 & 2 & 3 & 4 \\ 1 & 2 & 3 & 4 \\ 1 & 2 & 3 & 4 \\ 1 & 2 & 3 & 4 \\
      1 & 2 & 3 & 4 \\ 1 & 2 & 3 & 4 \\ 1 & 2 & 3 & 4 \\ 1 & 2 & 3 & 4 \\
      1 & 2 & 3 & 4 \\ 1 & 2 & 3 & 4 \\ 1 & 2 & 3 & 4 \\ 1 & 2 & 3 & 4 \\
      1 & 2 & 3 & 4 \\ 1 & 2 & 3 & 4 \\ 1 & 2 & 3 & 4 \\ 1 & 2 & 3 & 4 \\
      1 & 2 & 3 & 4 \\ 1 & 2 & 3 & 4 \\ 1 & 2 & 3 & 4 \\ 1 & 2 & 3 & 4 \\
      1 & 2 & 3 & 4 \\ 1 & 2 & 3 & 4 \\ 1 & 2 & 3 & 4 \\ 1 & 2 & 3 & 4 \\
      1 & 2 & 3 & 4 \\ 1 & 2 & 3 & 4 \\ 1 & 2 & 3 & 4 \\ 1 & 2 & 3 & 4 \\
      1 & 2 & 3 & 4 \\ 1 & 2 & 3 & 4 \\ 1 & 2 & 3 & 4 \\ 1 & 2 & 3 & 4 \\
      1 & 2 & 3 & 4 \\ 1 & 2 & 3 & 4 \\ 1 & 2 & 3 & 4 \\ 1 & 2 & 3 & 4 \\
      1 & 2 & 3 & 4 \\ 1 & 2 & 3 & 4 \\ 1 & 2 & 3 & 4 \\ 1 & 2 & 3 & 4 \\
      \hline
      \end{supertabular}
      \end{center}
      \end{document}
  12. 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

  13. 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.

    • Do you want a line separating the two columns?

      \setlength{\columnseprule}{.3pt}

      You can adapt the thickness by changing the second parameter.
      Please read the post above.

      Best, Tom.

  14. 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)&=&a_9x^9+a_8x^8+a_7x^7+a_6x^6+a_5x^5+\\
      &&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.

  15. Mohd Asrul Affendi Abdullah

    \begin{eqnarray}\nonumber
    L_c(y_{dj}\gamma,\beta,\psi)&==0}^n}\ln[\exp(z'_i\gamma) + ( 1+\psi\exp(x'_\beta))^{-\psi}]+\\ &>0}^n}{\displaystyle\sum_{j=0}^{y_{dj}-1}}\ln(j+\psi^{-1})+\\
    &>0}^n} \{-\ln(y_{dj})!-(y_{dj}+ \psi^{-1})+\\
    &&ln (1+\psi\exp(x'_i\beta)) + y_{dj}\ln(\psi) + y_{dj}x'_\beta\} -\\ &^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 &=& right-side \\
      && right-side only no sign \\
      &>& right-side only with sign \\
      left-side only && \\
      \end{eqnarray*}

      Best, Tom.

    • 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.

  16. 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.

  17. 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

  18. 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!

      Thanks for your comment.
      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.

  19. 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.

  20. 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:
    ——- ——-
    ——- ——-
    ——- ——-

    instead of:
    ——- ——-
    ——-
    ——-
    ——-
    ——-
    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?

    Thank you in advance for your help.

    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.

  21. Hello Tom, please help me, this is the 13th day I can not solve my problem, I must follow the template of the journal which is given in this link: http://www.springer.com/cda/content/document/cda_downloaddocument/LaTeX.zip?SGWID=0-0-45-468198-0

    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}&\multicolumn{3}{c|}{scen. $1$}&\multicolumn{3}{c|}{scen. $2$}&\multicolumn{3}{c|}{scen. $3$}&\multicolumn{3}{c}{scen. $4$}\\
    
     & C & SI & PAPR & C& SI & PAPR & C& SI & PAPR & C& SI & PAPR  \\
    \hline
    CSLM&\textendash& $5$ & $10.5$ &\textendash& $5$ & $10.5$ &\textendash& $5$ & $10.5$ &\textendash& $5$ & $10.5$ \\
    SSLM	&$44$&	$5$  &  $9.5$  &	$70$ & $4$ & $9.75$ &$83$&$3$&$9.75$&$90$&$2$&$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).
    Thank you in advance.

    • 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}&\multicolumn{3}{c|}{scen. $1$}&\multicolumn{3}{c|}{scen. $2$}&\multicolumn{3}{c|}{scen. $3$}&\multicolumn{3}{c}{scen. $4$}\\
      & C & SI & PAPR & C& SI & PAPR & C& SI & PAPR & C& SI & PAPR \\
      \hline
      CSLM&\textendash& $5$ & $10.5$ &\textendash& $5$ & $10.5$ &\textendash& $5$ & $10.5$ &\textendash& $5$ & $10.5$ \\
      SSLM	&$44$&	$5$ & $9.5$ &	$70$ & $4$ & $9.75$ &$83$&$3$&$9.75$&$90$&$2$&$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.

  22. 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}
    
    \fancyhead{My header}
    \renewcommand{\headrulewidth}{0.4pt}
    \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.

    Thanks in advance !

    • Hi Jo,

      This should work:

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

      Best, Tom.

  23. muhammadalzaidi1

    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?

    Thank you for your help

    • 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

  24. 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 & 2 & 3 \\ 1 & 2 & 3 \\ 1 & 2 & 3 \\ 1 & 2 & 3 \\
    1 & 2 & 3 \\ 1 & 2 & 3 \\ 1 & 2 & 3 \\ 1 & 2 & 3 \\
    1 & 2 & 3 \\ 1 & 2 & 3 \\ 1 & 2 & 3 \\ 1 & 2 & 3 \\
    1 & 2 & 3 \\ 1 & 2 & 3 \\ 1 & 2 & 3 \\ 1 & 2 & 3 \\
    1 & 2 & 3 \\ 1 & 2 & 3 \\ 1 & 2 & 3 \\ 1 & 2 & 3 \\
    1 & 2 & 3 \\ 1 & 2 & 3 \\ 1 & 2 & 3 \\ 1 & 2 & 3 \\
    1 & 2 & 3 \\ 1 & 2 & 3 \\ 1 & 2 & 3 \\ 1 & 2 & 3 \\
    1 & 2 & 3 \\ 1 & 2 & 3 \\ 1 & 2 & 3 \\ 1 & 2 & 3 \\
    1 & 2 & 3 \\ 1 & 2 & 3 \\ 1 & 2 & 3 \\ 1 & 2 & 3 \\
    1 & 2 & 3 \\ 1 & 2 & 3 \\ 1 & 2 & 3 \\ 1 & 2 & 3 \\
    1 & 2 & 3 \\ 1 & 2 & 3 \\ 1 & 2 & 3 \\ 1 & 2 & 3 \\
    1 & 2 & 3 \\ 1 & 2 & 3 \\ 1 & 2 & 3 \\ 1 & 2 & 3 \\
    1 & 2 & 3 \\ 1 & 2 & 3 \\ 1 & 2 & 3 \\ 1 & 2 & 3 \\
    1 & 2 & 3 \\ 1 & 2 & 3 \\ 1 & 2 & 3 \\ 1 & 2 & 3 \\
    1 & 2 & 3 \\ 1 & 2 & 3 \\ 1 & 2 & 3 \\ 1 & 2 & 3 \\
    1 & 2 & 3 \\ 1 & 2 & 3 \\ 1 & 2 & 3 \\ 1 & 2 & 3 \\
    1 & 2 & 3 \\ 1 & 2 & 3 \\ 1 & 2 & 3 \\ 1 & 2 & 3 \\
    1 & 2 & 3 \\ 1 & 2 & 3 \\ 1 & 2 & 3 \\ 1 & 2 & 3 \\
    1 & 2 & 3 \\ 1 & 2 & 3 \\ 1 & 2 & 3 \\ 1 & 2 & 3 \\
    1 & 2 & 3 \\ 1 & 2 & 3 \\ 1 & 2 & 3 \\ 1 & 2 & 3 \\
    1 & 2 & 3 \\ 1 & 2 & 3 \\ 1 & 2 & 3 \\ 1 & 2 & 3 \\
    1 & 2 & 3 \\ 1 & 2 & 3 \\ 1 & 2 & 3 \\ 1 & 2 & 3 \\
    1 & 2 & 3 \\ 1 & 2 & 3 \\ 1 & 2 & 3 \\ 1 & 2 & 3 \\
    1 & 2 & 3 \\ 1 & 2 & 3 \\ 1 & 2 & 3 \\ 1 & 2 & 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 & 2 & 3 \\ 1 & 2 & 3 \\ 1 & 2 & 3 \\ 1 & 2 & 3 \\
      1 & 2 & 3 \\ 1 & 2 & 3 \\ 1 & 2 & 3 \\ 1 & 2 & 3 \\
      ...
      \hline
      \end{supertabular}
      \end{document}
  25. 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:-)

  26. 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.

  27. 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

  28. 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”.

Leave a Reply