I'm trying to create a page with two columns, on one page only, the rest should be with only one column.
I've tried the package multicol
and that solves one part of my problem which is to get a divider line between the columns. For that I use
\setlength{\columnseprule}{0.5pt}
\def\columnseprulecolor{\color{orange}}
It seems like there is no way to change the width of the columns with multicol
.
I've seen different approaches like using minipage
but that removes my separator.
Is there any way to do this? I've been at it for a couple of hours now and can't seem to find a nice easy way to do it.
And I'm using the latexmk -pdf file.tex
in linux to create my pdf's whatever that latex package is called.
\documentclass{article}
\usepackage{multicol}
\setlength{\columnseprule}{0.5pt}
\def\columnseprulecolor{\color{orange}}
\begin{document}
\begin{multicols}{2}
[
\section*{First Section}
Section title, spanning.
]
This is the left column that I want to be 0.3 of \textwidth
\columnbreak
And here is the right column with \textwidth 0.7
\end{multicols}
Something else here. The text should not be multicolumned in this part
\end{document}
Best Answer
You can use the
parcolumns
package:If you want a colored rule, you have to patch a command
However, it seems that a simple
minipage
could do:The output is essentially the same.