37

Simply using \twocolumn changes my document to look like this:

-----HEADER----
######   ######
######   ######
######   ######
######   ######
######   ######
######   ######
-----FOOTER----

But I'd like to make the line between two columns visible like this:

-----HEADER----
###### | ######
###### | ######
###### | ######
###### | ######
###### | ######
###### | ######
-----FOOTER----

What command will make the line visible?

0

2 Answers 2

49

Use \setlength{\columnseprule}{0.4pt}.

EDIT: Obviously, you may freely choose the thickness of the column-separating line. I suggested 0.4pt because standard LaTeX uses this value for rules above footnotes and around fboxes.

2
  • Thanks, and if I want to make it invisible again do I just modify {0.4pt} -> {0pt} ? Jul 23, 2011 at 11:23
  • 1
    Yes. Should you want to change settings mid-document, \setlength{\columnseprule}{0pt} will take effect starting with the page where the command was placed.
    – lockstep
    Jul 23, 2011 at 11:26
24

You can use the multicol package (edit: not required in fact) and adjust those settings:

\setlength{\columnsep}{1.5cm}
\setlength{\columnseprule}{0.2pt}
1
  • what if i'm not using multicol, but partition my page manually with flowfram?
    – ivan866
    Aug 8, 2021 at 23:11

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .