My question is how may I specify that the parts to a question be typeset horizontally with the option to specify the amount of rows as well as shown below. It is also essential that the level of enumeration inside the exercises start with lowercase letters (not numbers).
Asked
Active
Viewed 613 times
2
1 Answers
2
Here is a solution using the tasks package by your fellow user clemens.
To get three 3 columns, say
\begin{tasks}(3)
\task ...
\task etc.
\end{tasks}
The task labels can be changed with counter-format={(tsk[a])}, where 'tsk' will be replaced with the actual task counter. [a] will use \alph, i.e. lower case characters. (See the tasks manual for more options)
\documentclass{article}
\usepackage{mathtools}
\usepackage{tasks}
\begin{document}
\begin{enumerate}
\item Evaluate each expression without calculator
\settasks{counter-format={(tsk[a])},label-offset=1em}
\begin{tasks}(3)
\task $(-3)^4$
\task $-3^4$
\task $3^{-4}$
\task $\dfrac{5^{23}}{5^{21}}$
\task $\left(\dfrac{2}{3}\right)^{-2}$
\task $16^{-3/4}$
\end{tasks}
\end{enumerate}
\end{document}
-
This seems like a good way to do it! I keep getting that tasks is deprecated option in my build log. What is that about? – 1028 Sep 07 '15 at 21:21
-
@1028: I don't understand.
tasksis a rather new package by clemens, I don't think it's deprecated – Sep 07 '15 at 21:23 -
I don't understand either, it keeps asking me for epic.sty and I don't know what package that's from. – 1028 Sep 07 '15 at 21:32
-
@1028: Yes,
tasksrequires theepicpackage, but I don't have this warning. Have you updated your distribution? – Sep 07 '15 at 21:42 -
I believe so, I'm running Arch and under tasks it says it is installed and up to date. I am however using TeXLive so if you're referring to the package here: https://www.ctan.org/tex-archive/macros/latex/contrib/epic?lang=en then it is not contained in TeXLive. – 1028 Sep 07 '15 at 21:49
-
-
-
@1028 can you look in the log file what the warning says exactly? (There's nothing deprecated about
tasks… so I'm wondering what this might be?) – cgnieder Sep 07 '15 at 22:12 -
@clemens Here is my log file: ! LaTeX Error: File `epic.sty' not found.
Type X to quit or
to proceed, or enter new name. (Default extension: sty) Enter file name: /usr/share/texmf-dist/tex/latex/tasks/tasks.sty:56: Emergency stop. <read *>
l.56 \msg_new:nnn {tasks} {deprecated-option} No pages of output. Transcript written on /tmp/gummi_TDO63X.log.
– 1028 Sep 07 '15 at 22:14 -
@1028:
epicis on TeXLive, I've completely installed yesterday on my new machine, from scratch, and fetched no other packages so far -- it's on my new machine, so I could only get from TL. The error message is perhaps misleading here. – Sep 07 '15 at 22:17 -
@1028 Ah, so the deprecated thing is secondary and the error really is
! LaTeX Error: Fileepic.sty' not found.`, thanks. – cgnieder Sep 07 '15 at 22:21 -
-
-
-


multicolsandenumeratewill enumerate in columns rather than in rows like in the picture. But there are a number of questions here asking the same thing: http://tex.stackexchange.com/q/107269/, http://tex.stackexchange.com/q/149273/ – cgnieder Sep 07 '15 at 21:13tasks;-) – Sep 07 '15 at 21:13tasksalready, but wrote too quickly that undesirable feature ofmulticolsandenumeratewith somewhat 'transposed' counting. – Sep 07 '15 at 21:15multicolsandenumerateis thatenumeratetraverses downwards along the column, not horizontally – Sep 07 '15 at 21:24