35

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
45

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 '11 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 '11 at 11:26
23

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 at 23:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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