Closed student-sx closed 8 years ago
Nice idea. This should be easy to implement. I'm thinking of a more general option which lets the user apply an arbitrary formatting to an item. This would cover math-mode then.
\documentclass{article}
\usepackage{tasks}[2016/05/02]
\settasks{
item-format = \ensuremath
}
\begin{document}
\begin{tasks}(4)
\task y + 4x
\task \sin(x)
\task \int e^x \,dx
\task a^2 + b^2
\end{tasks}
\end{document}
On of the motivations of creating the tasks packages seems to be (from the manual):
Now such exercises often consist of only math formulas (for example calculating some integrals or derivatives) without text. Then you have to enter mathmode for every task. With regard to the quoted aim of the package, I think it would be a good idea to have an option such that the whole task environment operates in mathmode (similar as you can have matrices of math nodes in tikz).
Here is an example of a similar environment called brqalign, which was created by David Carlisle in response of one of my questions:
http://tex.stackexchange.com/a/51543/4011