Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I want to make a two column document such as in the first column there is text and in the second column pictures with examples for the text. How can i do that?

share|improve this question
1  
you could utilize the multicolumn package for this –  Rico Sep 14 '13 at 11:53
5  
I would suggest one column with a large margin and \marginpar or \marginnote to place the graphics. –  Ulrike Fischer Sep 14 '13 at 12:31
    
I have a problem with the second comment. When i use \includegraphics it doesn't fit the margin. Even when i use \textwidth. Is there something else i can do? –  thodoris Sep 14 '13 at 16:06
    
@thodoris as ulrike said, use \marginpar{\includegraphics{...}} –  David Carlisle Sep 14 '13 at 17:47
    
use \marginparwidth for the width of the images –  David Carlisle Sep 14 '13 at 17:49

1 Answer 1

If you love the tufte-handout or tufte-book default style, these document classes are what you are looking for. It might be also a good option if you know how adapt this style to your own preferences, as in this "de-tufted" MWE. In other case, this has been already answered in the comments.

MWE

    \documentclass[nofonts,nols,justified]{tufte-handout} 
\usepackage{mwe} % for demo images
\usepackage{graphicx} 
\setcounter{secnumdepth}{3}
\setcaptionfont{\itshape\sffamily}
\usepackage{titlesec}
\titleformat{\section}
{\color{blue!80!black}\normalfont\Large\bfseries}
{\color{blue!60!black}\thesection.}{.5em}{}

\begin{document}
\section{Lore ipsum}
\lipsum*[2] (See figure \ref{a}).

\begin{marginfigure}
\includegraphics[width=\textwidth]{example-image-a}
\caption{Some clever caption\label{a}}
\end{marginfigure}
\lipsum[1]
\section{Na dui ligula (figure \ref{b})}
\begin{marginfigure}
\includegraphics[width=\textwidth]{example-image-b}
\caption{Some clever caption\label{b}}
\end{marginfigure}
See figure \ref{c}. \lipsum[3]
\begin{marginfigure}
\includegraphics[width=\textwidth]{example-image-16x10}
\caption{Some clever caption\label{c}}
\end{marginfigure}
\end{document}
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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