2

For instance,

\documentclass{article}
\usepackage{tasks}
\begin{document}
\begin{tasks}(3)
\task A
\task B
\task C
\task D
\task E
\task F
\end{tasks}
\vspace{1cm}
\begin{tasks}(5)
\task A
\task B
\task C
\task D
\task E
\task F
\end{tasks}
\end{document}

I want to list my list so that it makes automatically the width of the page full, and it does not matter the way that can be achieved.

enter image description here

These are some of them, taken by my phone: enter image description here enter image description here

  • 1
    I'm afraid your objective isn't entirely clear. Please edit your posting to explain in more detail what you're trying to achieve. And, do indicate whether a solution has to make use of the tasks package. – Mico Aug 23 '18 at 20:08
2

To create a task which spans the while line, you can use the starred version \task*.

\documentclass{article}
\usepackage{tasks}
\begin{document}
\begin{tasks}(3)
\task A
\task B
\task C
\task A
\task B
\task C
\task! spans the whole line
\task*(2) spans 2 columns
\task C
\task* spans more than one column
\end{tasks}

\end{document}

enter image description here

  • Actually, I see this style in a math book. There are expressions that are different in length but they are arranged so that it fills (fits) the width regardless of the length of the expression. – Ali Aug 23 '18 at 21:06
  • So, is this the right one ? – Ali Aug 23 '18 at 21:06
  • 1
    @Ali, so I think 2nd option is what you want. Try to insert longer items. – Sigur Aug 23 '18 at 21:07
  • @Ali Can you maybe add an image of what you see in the math book? I'm still not really sure what layout you are looking for. – user36296 Aug 23 '18 at 21:12
  • I have added some of them. – Ali Aug 23 '18 at 21:20

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.