I want to create page with two columns with different background color and height of whole page. What I was able to do is two columns with different background color but I can't set proper height and there is small gap between two columns and another gap between top of the page and top of the columns. I want to remove these gaps. Also I want to create vertical line between two columns. Right now I have minipages packed inside \colorbox
which allows me to create all four borders but I only want one.
Final effect should look like this:
This is what I figured out for now:
\documentclass{article}
\usepackage{blindtext}
\usepackage{xcolor}
\usepackage{geometry}
\geometry{margin=0in}
\begin{document}
\noindent
\fcolorbox{black}{red}{
\begin{minipage}{.3\textwidth}
test
\end{minipage}
}
\fcolorbox{yellow}{yellow}{
\begin{minipage}{.7\textwidth}
test
\end{minipage}
}
\end{document}
Best Answer
If there should be nothing else than a splitted background, this can be done with
tcolorbox
package quite easily.