# How can I implement a twocolumn template

How can I implement such template (two columns):

In my case additional panel can contain images.

-
Will the additional panel contain text, or is it just a margin? –  cmhughes Nov 22 '11 at 23:45
In can contain text ... but mostly images which are anchored to some text in 'Main text' block. 'Additional panel' block had to be present on all pages –  davs Nov 22 '11 at 23:53
Welcome to TeX.sx! Please only ask one question per question post. I think your follow-up questions have been asked here before, but you'll have to check. –  doncherry Nov 22 '11 at 23:59
thanks. I've done :) –  davs Nov 23 '11 at 0:01

It looks like you want a twosided document. In the MWE I have used

• the geometry package to set up the page dimensions
• the caption package to provide the captionof command, used in the margin figures
• the changepage package to give the extra width environment that you wanted.

I have also loaded the lipsum package for sample text, and the graphicx package to include images.

\documentclass[10pt,twoside]{report}
\usepackage[left=7cm,right=1cm,showframe=true,                  % page settings (showframe is useful!)
top=1.5cm,bottom=1.5cm]{geometry}
\usepackage[demo]{graphicx}
\usepackage{lipsum}
\usepackage{caption}
\usepackage{changepage}

\reversemarginpar

\begin{document}

\marginpar{
\centering
\includegraphics[width=\marginparwidth]{myfig}
\captionof{figure}{My Figure}}
\lipsum

\lipsum

\marginpar{
\centering
\includegraphics[width=\marginparwidth]{myfig}
\captionof{figure}{My Figure}}

\lipsum[1]

\lipsum[2]

Note that you'll want to remove showframe=true from the geometry load, and [demo] from the graphicx load- these were just for demonstration.
@davs There is a starred version of adjustwidth which helps to deal with the odd/even page problems that you describe. Have a look at the documentation for details. By default, \marginpar is anchored to its surrounding text- if it's not exactly what you want, then a new question might be in order –  cmhughes Nov 23 '11 at 0:31
Did geometry complain about an over-specification in the vertical direction? If so, the height specification is superfluous. –  Werner Nov 23 '11 at 0:44