LaTeX forum ⇒ Text FormattingTurning two columns into one column

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
bennarky
Posts: 1
Joined: Sun Dec 16, 2018 7:14 am

Turning two columns into one column

Postby bennarky » Sun Dec 16, 2018 7:18 am

Hi, I'm new to this and my teacher is making me use this for a physics project. Could someone tell me how to make it so that I can make a title to a new section that shows up down the middle of the page in a two column document and then go back to two column after the title?

User avatar
Stefan Kottwitz
Site Admin
Posts: 9371
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Sun Dec 16, 2018 2:37 pm

Welcome to the forum!

If it's ok to have the heading at a new page, here's a simple example with the optional argument of \twocolumn:

  1. \documentclass[twocolumn]{article}
  2. \usepackage{blindtext}
  3. \begin{document}
  4. \twocolumn[\section{This is a very wide section heading spanning over two columns}]
  5.  
  6. \blindtext[5]
  7.  
  8. \twocolumn[\section{This is another wide section heading spanning over two columns}]
  9.  
  10. \blindtext[5]
  11.  
  12. \end{document}


Stefan
Site admin


Return to “Text Formatting”

Who is online

Users browsing this forum: No registered users and 3 guests