I want to manually label inside the \task
environment. For example (a) and (b) are subquestions of 1 so I want to label them (1a) and (1b) respectively. Here is my MWE:
\documentclass[12pt, a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage[margin=3.0cm]{geometry}
\usepackage{graphicx}
\graphicspath{ {images/} }
\usepackage{enumitem}
\usepackage{amsthm}
\usepackage{amsmath}
\usepackage{tasks}
\linespread{2}
\begin{document}
\begin{center}
\underline{\textbf{\large Math 194 Tutorial 7 Solution}}
\end{center}
\begin{center}
\underline{\textbf{Excercise} }
\end{center}
\begin{tasks}(2)
\task $(2z-13)(5x +4y)$ \\
\task $(3a-2c)(6a -7b)$ \\
\task $(3x+5a)(3x-5y)$ \\
\task $(a+5b)(12x+3)$ \\
\task $(6c+7d)(5c^2 -1) $ \\
\task $(3a-5c)(6b+13c)$
\end{tasks}
\end{document}
a) (2z - 13)(5x + 4y)
, or are you referring to the notion of\label
ing the task so that you can later\ref
er to it.\task[1a)] ...
should do it. However, you probably need to expand the label width as well, as clemens describes in his answer.Note though, that using the optional argument will destroy the ability to employ\label
\ref
mechanism, unless alternate steps are taken.