4

I have this code that uses the multicols environment to split a list on multiple columns:

\begin{multicols}{3}
\begin{itemize}
    \item List1ItemA
    \item List1ItemB
    \item List1ItemC
    \item List1ItemD
    \item List1ItemE
    \item List1ItemF
\end{itemize}
\begin{itemize}
    \item List2ItemA
    \item List2ItemB
    \item List2ItemC
    \item List2ItemD
    \item List2ItemE
    \item List2ItemF
\end{itemize}
\end{multicols}

I get this output:

reality

But I want a left-to-right (horizontal) order. Like this:

expectation

1
  • Give the tasks package a try!
    – user31729
    Jan 18, 2016 at 14:18

1 Answer 1

4

If the multicols environment is no real demand, the tasks environment provides left to right alignment of the individual items.

\documentclass{article}


\usepackage{tasks}
\begin{document}
\begin{tasks}(3)
\task A
\task B
\task C
\task D
\task E
\task F
\end{tasks}

\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.