2

Original .: enter image description here And

I want to do like this. how can I do it? enter image description here

\documentclass[a5paper]{article}
\usepackage[margin=1.5cm]{geometry}
\usepackage{amsmath}
\usepackage{tasks}
\newlength{\taskindent}
%
\settowidth{\taskindent}{\text{m)}}
\settasks{
    item-indent=\taskindent,
    label-format=\MakeUppercase, 
    after-skip = 3ex,
}
%
\begin{document}
%
            \begin{tasks}(3)
                \task $360$
                \task $190$
                \task $209$
                \task $300$
                \task $120$
            \end{tasks}
%
\end{document}
2
  • Can anyone help
    – cufcuf
    Oct 3, 2021 at 16:11
  • Rolled back changes to the question since edit 3 entirely changed the contents of the question by replacing the original question's code with the code given as the answer.
    – leandriis
    Oct 8, 2021 at 6:36

1 Answer 1

3

Edit:

The following code

\documentclass[a5paper]{article}
\usepackage[margin=1.5cm]{geometry}
\usepackage{amsmath}
\usepackage{tasks}
\newlength{\taskindent}
%
\settowidth{\taskindent}{\text{m)}}
\settasks{
    item-indent=\taskindent,
    label-format=\MakeUppercase, 
    after-skip = 3ex,
}
%
\begin{document}
%
\begin{tasks}(5)
  \task*(2) $360$
  \task*(2) $190$
  \task $209$
  \task[] 
  \task*(2) $300$
  \task $120$
\end{tasks}
%
\end{document}

generates: enter image description here

7
  • thanks for comment but When I add the after document to my code, the options are a, b, c, e, f . Not a,b,c,d,e @Luis Turcio
    – suarez
    Oct 3, 2021 at 18:21
  • Can you show your preamble, because this behavior is due to something in your document Oct 3, 2021 at 18:42
  • \documentclass[a5paper]{article} \usepackage[margin=1.5cm]{geometry} \usepackage{amsmath} \usepackage{tasks} \newlength{\taskindent} \settowidth{\taskindent}{\text{m)}} \settasks{ item-indent=\taskindent, label-format=\MakeUppercase, after-skip = 3ex, } \begin{document} \begin{tasks}(5) \task*(2) $360$ \task*(2) $190$ \task $209$ \task[] \task*(2) $300$ \task $120$ \end{tasks} \end{document} @Luis Turcio
    – suarez
    Oct 3, 2021 at 18:53
  • @suarez I have edited my answer showing the output generated by the code with the addition of your supposed preamble. As you can see it is the desired output, so if you don't have the same it must be something in your preamble Oct 3, 2021 at 19:28
  • @Luis Turcio thanks for support but see screenshot here ibb.co/6R1dSK0
    – cufcuf
    Oct 3, 2021 at 19:33

You must log in to answer this question.

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