2

I am trying to create a document in landscape with two columns (portrait) and borders around each column.

Here is what I am using

\documentclass[12pt,landscape,twocolumn,letterpaper]{article}
\usepackage{fancybox}
\begin{document}
\fancypage{\fbox}{}

My text here.

\end{document}

The problem I am having is that it puts a border around the whole page rather than each column. Thoughts?

Thank you!

  • Welcome to TeX.SE. Well, \fancypage does use the whole page, it does not care about the two columns – user31729 Jan 30 '17 at 23:42
  • Welcome to TeX.SE! Please take a moment to take our Tour! You may also want to look at what makes a good Minimal Working Example (MWE) – Tavrock Jan 31 '17 at 17:01
1

One solution using flowfram:

enter image description here

\documentclass[a5paper]{article}
\usepackage[latin]{babel}
\usepackage[margin=1cm,bmargin=2cm,paperheight=9cm]{geometry}
\usepackage{flowfram}
\newflowframe*[all]{.47\textwidth}{\textheight}{0em}{0em}[colA]
\newflowframe*[all]{.47\textwidth}{\textheight}{.51\textwidth}{0em}[colB]
\usepackage{lipsum}
\begin{document}
\lipsum[1-10]
\end{document}

Another (quite different) with tcolorbox, that could more convenient if you want more than a simple frame:

\documentclass[a5paper,twocolumn]{article}
\usepackage[latin]{babel}
\usepackage[margin=1cm,bmargin=2cm,paperheight=9cm]{geometry}
\usepackage{tcolorbox}
\tcbuselibrary{breakable} 
\usepackage{lipsum}
\begin{document}
\begin{tcolorbox}[breakable, 
colback=white, colframe=black, 
sharp corners,boxsep=0pt]
\lipsum[1-10]
\end{tcolorbox}
\end{document}

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.