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'd like to make a two-column list with some kind of titles, with "normal" text before and after. I tried it with the package "multicol" an with "minipage", neiter turned out well. Since the problem is hard to explain, have a look:

    \documentclass{scrartcl}
    \usepackage[ngerman]{babel}
    \begin{document}

    \section{Messdaten}
    Blabla Blabla Blabla Blabla Blabla Blabla Blabla Blabla Blabla Blabla Blabla Blabla Blabla Blabla Blabla Blabla Blabla Blabla Blabla Blabla Blabla Blabla Blabla Blabla.

    \begin{minipage}{0.5\linewidth}
    First List:
    \begin{itemize}
    \item{aaa}
    \item{bbb}
    \end{itemize}
    \end{minipage}
    \begin{minipage}{0.5\linewidth}
    Second List:
    \begin{itemize}
    \item{ccc}
    \item{ddd}
    \item{eee}
    \end{itemize}
    \end{minipage}

    Blabla Blabla Blabla Blabla Blabla Blabla Blabla Blabla Blabla Blabla Blabla Blabla Blabla Blabla Blabla Blabla Blabla Blabla Blabla Blabla Blabla Blabla Blabla Blabla.

    \end{document}

I'd like "First List" and "Second List" on the same height, and not so near to the upper Blabla. The items can but don't have to have different distances from each other. The item "ccc" is too near to the bottom Blabla. Truth is, my very approach is not clever, but unfortunately I don't know any better. ;) Help requested.

share|improve this question
    
Welcome to TeX.sx! –  Kurt Feb 21 '13 at 20:43
    
Just use the optional paramater to minipage: \begin{minipage}[t]{0.5\linewidth} to specify top alignment, for both minipages. –  Peter Grill Feb 21 '13 at 20:48

1 Answer 1

up vote 4 down vote accepted

Here's one possibility, using t for the optional argument of both minipages (top alignment), suppressing a spurious blank space (after the first \end{minipage}) and adding some vertical spacing:

\documentclass{scrartcl}
\usepackage[ngerman]{babel}

\begin{document}

 \section{Messdaten}
Blabla Blabla Blabla Blabla Blabla Blabla Blabla Blabla Blabla Blabla Blabla Blabla Blabla Blabla Blabla Blabla Blabla Blabla Blabla Blabla Blabla Blabla Blabla Blabla.\par\medskip

\noindent\begin{minipage}[t]{0.5\linewidth}
    First List:
    \begin{itemize}
    \item{aaa}
    \item{bbb}
    \end{itemize}
    \end{minipage}%
    \begin{minipage}[t]{0.5\linewidth}
    Second List:
    \begin{itemize}
    \item{ccc}
    \item{ddd}
    \item{eee}
    \end{itemize}
\end{minipage}\par\bigskip

Blabla Blabla Blabla Blabla Blabla Blabla Blabla Blabla Blabla Blabla Blabla Blabla Blabla Blabla Blabla Blabla Blabla Blabla Blabla Blabla Blabla Blabla Blabla Blabla.

\end{document}

enter image description here

share|improve this answer
    
Thank you, that is just perfect. I tend to underestimate optional arguments. :) –  Josephus Feb 22 '13 at 14:27

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.