Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I don't know why each section is shown in one separate page when I use \onecolumn rather that the normal (two columns) format.

\onecolumn
\section{Goals} 
some text
share|improve this question
1  
\onecolumn always starts a new page if that is what you are asking. (Your question and example are not very clear) –  David Carlisle Mar 30 at 18:39
    
@MonaJalal another option is to load the cuted package, and use the strip environment (which changes into \onecolumn but doesn't start a new page). –  Manuel Mar 30 at 19:20
    
@MonaJalal \section isn't defined in the latex format. If it is defined at all it is defined in the document class, so the formatting of \section depends completely on which class is being used, which you have not stated. This is why all questions should have a complete small document that shows th problem. –  David Carlisle Mar 30 at 20:58

1 Answer 1

Column mode changes of LaTeX (without packages) are limited:

  • Mode switches \onecolumn, \twocolumn start a new page.
  • \twocolumn allows one column material at the top in the optional argument at least.
  • Maximal number of columns is two.

Package multicol implements several improvements:

  • Column mode switches in the same page.
  • More than two columns.

Example:

\documentclass{article}
\usepackage{multicol}
\usepackage{lipsum}

\begin{document}
  \begin{multicols}{2}
    \lipsum[1]
  \end{multicols}

  \section{Goals}
  \lipsum[2]

  \begin{multicols}{2}
    \section{Foo}
    \lipsum[3]
    \section{Bar}
    \lipsum[4]
  \end{multicols}
\end{document}

Result

share|improve this answer
    
How did the title of Goal become left margined? My one-columned sections have the title in the center while I want them to have the title in the left –  Mona Jalal Mar 30 at 18:55
2  
@MonaJalal: The example is just using the default formatting of the section title. Perhaps you can make a minimal working example (MWE) that shows the class and packages that deal with section titles. –  Heiko Oberdiek Mar 30 at 19:04

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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