I need three item lists next to each other, with a centered heading for each list.
Using the multicol
-package doesn't seem to fit my needs as it doesn't allow me to fill my columns independently, does it?
Putting everything into a table, does not seem to be appropriate neither.
I came up with a solution using minipage
, though it feels like overkill, it's quite close to what I want. But I can't manage to arrange the minipages side by side with some spacing between the columns. How to get the three minipages to use 100% of the space, let's say:
30% column one, 5% space, 30% column two, 5% space, 30% column three
I tried it with \hspace
but it didn't worked out.
\documentclass[11pt,a4paper]{article}%
\usepackage{enumitem}
\begin{document}
\begin{minipage}[t]{0.30\textwidth}
{\centering \subsection*{Header 1}}
\begin{itemize}[align=left,leftmargin=*,labelsep=1ex]
\item one one one one one one
\item two
\item three
\item four
\end{itemize}
\end{minipage}
\begin{minipage}[t]{0.30\textwidth}
{\centering \subsection*{Header 2}}
\begin{itemize}[align=left,leftmargin=*,labelsep=1ex]
\item one one one one one one
\item two.one \\ two.two
\item three
\item four
\end{itemize}
\end{minipage}
\begin{minipage}[t]{0.30\textwidth}
{\centering \subsection*{Header 3}}
\begin{itemize}[align=left,leftmargin=*,labelsep=1ex]
\item one one one one one one
\item two
\item three
\end{itemize}
\end{minipage}
\end{document}
Is there anything much easier to achieve what I want?
Best Answer
You needed not only the intercolumn space added, but also a
\noindent
before the first minipage. Elsewise, you exceeded the column width. Indeed, minipages are a good way to handle this sort of multicolumn problem.REVISED to remove 2 stray spaces that David pointed out, by inserting line-end percent signs.