2

I'm trying to make a list in which each item has multiple lines, and I want the items to line up horizontally, like this:

1. this is the        2. and this is
   first item in         the second item
   the list           

I've tried a bunch of different things, but what always ends up happening is that the first line of the second item lines up with the last line of the first item, like so:

1. this is the
   first item in
   the list 2. and this is
   the second item

Anyone have a way around this? Thanks!

  • Related, possible solution: Multiple Choices Questions in 2 or 3 columns – Mike Renfro Jun 4 '16 at 2:17
  • Welcome to TeX.SE. It would be helpful if you composed a fully compilable MWE including \documentclass and the appropriate packages that sets up the problem. While solving problems can be fun, setting them up is not. Then, those trying to help can simply cut and paste your MWE and get started on solving the problem. Also, in this case, the solution may very well depend on how you are creating the lists. – Peter Grill Jun 4 '16 at 2:53
  • 1
    Have you taken a look at the tasks package? I've found it quite useful for something along the lines of what you want. – A.Ellett Jun 4 '16 at 4:19
3

Have you considered using the tasks package? It can achieve something like what you're asking for.

\documentclass{article}
\usepackage{tasks}
\begin{document}

I'm trying to make a list in which each item has multiple lines, and I want the items to line up horizontally, like this:
\begin{tasks}(2)
\task  
 this is the        
   first item in      
   the list      this is the        
   first item in      
   the list      this is the        
   first item in      
   the list      this is the        
   first item in      
   the list           
\task and this is the second itme.and this is the second itme.and this is the second itme.and this is the second itme.and this is the second itme.
\end{tasks}

\end{document}

enter image description here

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.