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

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

1 Answer 1

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

1
  • Why this downvote?
    – Bernard
    Commented Feb 2, 2018 at 23:57

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .