Text FormattingTurning two columns into one column

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

Turning two columns into one column

Post by bennarky »

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?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

Turning two columns into one column

Post by Stefan Kottwitz »

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:

Code: Select all

\documentclass[twocolumn]{article}
\usepackage{blindtext}
\begin{document}
\twocolumn[\section{This is a very wide section heading spanning over two columns}]

\blindtext[5]

\twocolumn[\section{This is another wide section heading spanning over two columns}]

\blindtext[5]

\end{document}
Stefan
LaTeX.org admin
Post Reply