Hi guys.
I'm wanting to be able to have the following page layout.
- n vertical text columns
- n-1 vertical lines between the n vertical text columns
- the ability to put a horizontal line dividing sections of text within a particular column of text (of the n columns)
Any help or suggestions would be very much appreciated!
Thanks.
schmag
Page Layout ⇒ Multiple text columns
NEW: TikZ book now 40% off at Amazon.com for a short time.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Multiple text columns
I'm not really sure if I understand you right. But you may take a look at the following example.
If this doesn't match your ideas, be more precise in your descriptions.
Best regards and welcome to the board
Thorsten¹
Code: Select all
\documentclass[11pt,a4paper,english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{babel}
\usepackage[centering,includeheadfoot,margin=2cm]{geometry}
\usepackage{lmodern}
\usepackage{multicol}
\usepackage{titlesec}
\usepackage{blindtext}
\setlength{\columnseprule}{1pt}
\titleformat{\section}{\titlerule\vspace{0.8ex}\bfseries\sffamily\large}{\thesection.}{0.5em}{}
\begin{document}
\begin{multicols}{3}
\section{First Section}
\blindtext[2]
\section{Second Section}
\blindtext[2]
\section{Third Section}
\blindtext[4]
\end{multicols}
\end{document}
Best regards and welcome to the board
Thorsten¹
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Multiple text columns
That's exactly what I'm looking for! Thanks!