1

I tried to use \noindent and \tolerance to get no space between the paragraph and the items from the list, but I have no success. Is there another way to change that?

\begin{enumerate}
  \item List
  \begin{multicols}{3}
    \begin{enumerate}
      \item 1
      \item 2
      \item 3
      \item 4
      \item 5
    \end{enumerate}
  \end{multicols}
\end{enumerate}

enter image description here

  • I also tried \vspace{-.25cm} for example, but I want something more fancy. – mvfs314 Feb 2 '18 at 19:44
  • Are you sure you want a vertical enumeration? – Bernard Feb 2 '18 at 20:04
  • @Bernard what do you mean? haha – mvfs314 Feb 2 '18 at 20:13
  • The usual first line should be (a) 1 (b) 2 (c) 3. – Bernard Feb 2 '18 at 20:15
  • 1
    There are the shortlst or the ` tasks` packages. – Bernard Feb 2 '18 at 20:21
1

Here is how to do it with tasks. Adjust the value of item-indent to your real needs. Also remove the [showframe] option of geometry for production : it's only there to check the margins are OK:

\documentclass{article}

\usepackage[utf8]{inputenc}
\usepackage[showframe]{geometry} 
\usepackage{tasks}

\begin{document}

\begin{enumerate}
  \item List\leavevmode\vspace*{-\dimexpr\baselineskip + \topsep}
  \begin{tasks}[counter-format = (tsk[a]), item-indent = 2cm, label-width = 1.5em](3)
      \task 1
      \task 2
      \task 3
      \task 4
      \task 5
    \end{tasks}
\end{enumerate}

\end{document} % 

enter image description here

  • Why this downvote? – Bernard Feb 2 '18 at 23:57

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.