Questions tagged [tasks]

{tasks} is about the tasks package.

Filter by
Sorted by
Tagged with
2 votes
1 answer
63 views

How to simplify the custom task command?

When I'm typesetting the answer to an exam paper, I'd like to us a fontawesome logo to mark the correct choice of the problems, so I type the following with the task package and fontawesome5 package \...
Axia's user avatar
  • 514
0 votes
0 answers
16 views

Task Environment: Can't force a line break to prevent text over-running right margin

Within the \tasks environment for this math problem set, I need to force a line break due to text overflowing the right margin as shown below. I tried the following commands without success: \\ \...
Siuslaw Math's user avatar
0 votes
1 answer
47 views

\tasks environment w/ multicol: changing from 3 cols to 1 cols causes undesired enum restart

This project is an exam class maths worksheet with print/no print options in multicol format wherein the number of columns changes several times. The first column change (from 2 to 3 cols) executed as ...
Siuslaw Math's user avatar
2 votes
1 answer
61 views

Tasks environment: How to set counter to begin at number other than #1

In the mwe below, I want the question number counter to start at #44 instead of #1 because this doc is part 2 of a larger problem set: I tried inserting \task\SetTaskNumber{44} but that produced an ...
Siuslaw Math's user avatar
1 vote
3 answers
51 views

Increment counter by 2 in tasks package

I am using the tasks package to layout answers to exercises. However the exercises are numbered 1, 3, 5, 7, etc. Of course tasks wants to increment by 1 to get 1, 2, 3, 4, etc. Is there anyway to set ...
rhody's user avatar
  • 1,030
1 vote
1 answer
40 views

How to modify the decimal separator of the tasks package?

By default, the decimal separator of the tasks package is the period. In French, it is the comma. How to make the following code display a comma while keeping the period in the source code? In other ...
AndréC's user avatar
  • 24.5k
0 votes
1 answer
84 views

Custom tasks environment with a task counter

I use the tasks package extensively and it's become necessary for me to obtain the current task number/letter at any point. There doesn't seem to be a built in \theenumi like in the enumitem package, ...
Dan P.'s user avatar
  • 321
2 votes
1 answer
366 views

Making a solution key at the end of a LaTeX document

I have a bunch of exercises written up as seen in the image below. I'd like to write solutions for each exercise directly below where they are written in the .tex document. Then, I want those ...
Dan P.'s user avatar
  • 321
0 votes
1 answer
41 views

Amsmath + Multicol + task environment: Reduce vertical space between solution box & instructions

For the math problem set shown below, I want to reduce the vertical space created each time I include a new text line with instructions. The red arrows in the screenshot below show the location of the ...
Siuslaw Math's user avatar
0 votes
1 answer
34 views

Tasks: Automatic displaystyle math for items

I found in github, that I can set the item-format of a task list to math mode using \ensuremath. This seems to be equivalent to inline math i.e. for writing something like \task \(x^2 + y^2 = z^2\). ...
Julia's user avatar
  • 1,658
0 votes
1 answer
41 views

Three-column page setup: How to continue enumeration after \end{task} and reduce vertical space?

The code below creates a 3 column, enumerated math solution set within \task environment. After Problem #8, the words Multiply and simplify are inserted independent of the enumeration. These words are ...
Siuslaw Math's user avatar
1 vote
1 answer
81 views

How do I align tasks to the left margin?

I've managed to align it by arbitrarily adjusting the values of "column-sep and item-indent" (the values I used are commented out in the code) but is there another more effective way to do ...
Guillermo LP's user avatar
1 vote
0 answers
28 views

Before-skip alignment problems with Tasks package; particularly when nested within an enumerate list

When a tasks environment is positioned within an enumerate list, there is a misalignment; tasks will sit below the enumeration item: Please see below for MWE: \documentclass{article} \usepackage{...
Harry's user avatar
  • 938
2 votes
1 answer
76 views

Using \def to output boolean true/false values - Usage in Tasks Package "Resume" Function

I am attempting to use a \def (or any equivalent) to give a boolean output, but unable to do so. Compilation of below results in the following error: \documentclass{amsart} \usepackage{tasks} \begin{...
Harry's user avatar
  • 938
0 votes
1 answer
71 views

amsmath & task environment improve spacing between fractions inside radicals

The vertical line spacing problem. The solution steps shown below are IMHO too tight because the fractions are inside a radical. I tried a couple of hacks to increase the vertical line spacing within ...
Siuslaw Math's user avatar
2 votes
1 answer
64 views

amsmath & \tasks environment: How to align multi-step equation solution on "="

Using amsmath with the \tasks environment. @orelo fixed 2 problems: reduced line spacing partially fixed alignment on the "=" symbol. I probably wasn't clear enough in my OP re: desired ...
Siuslaw Math's user avatar
0 votes
1 answer
39 views

{amsmath} using \enumitem with \tasks multiple errors in log

The mwe code below compiles in overleaf.com. But the screenshots below show the error messages generated which I can't solve despite several hours of tweaks and researching tex.stack posts. Your ...
Siuslaw Math's user avatar
0 votes
1 answer
56 views

{amsmath} \settasks \begintask multiple errors generated by \end{task}

OP edited below to show resolution of enumeration issue (h/t @egreg). But there are several error messages generated by \end{tasks}/ Your assistance is much appreciated! mwe: \usepackage{amsmath} \...
Siuslaw Math's user avatar
1 vote
2 answers
63 views

Task Alignment Issue

I have not been able to figure out the alignment issue I am having. You can see the numbers are not quite aligned, most likely due to the display of the integrals. Can anyone help me figure out how ...
Nick B's user avatar
  • 807
3 votes
1 answer
50 views

make4ht error with mathml mathjax and packages tasks, amsmath?

The following code produce a error : \documentclass{article} \usepackage{amsmath} \usepackage{tasks} \begin{document} \begin{tasks}(2) \task one \par New par \task two \end{tasks} $\dfrac{3}{2}$ \end{...
Manuel Cart's user avatar
1 vote
1 answer
58 views

Code conflict between packages \systeme, \amsmath, \enumerate & \tasks

Stackers: I stitched together 3 difference code sections from various stack users in a attempt to create: a 2 col. horizontally enumerated math problem set for a system of linear equations. the ...
Siuslaw Math's user avatar
0 votes
1 answer
158 views

Configure the bullets of a list created with the tasks package [duplicate]

I want to split the content of a bulleted list in a beamer presentation into several columns. Apparently this can be be easily acomplished through a tasks environment. My problem is that the bullets ...
Tonechas's user avatar
  • 976
0 votes
1 answer
109 views

Tasks and enumerate not aligning properly because of parskip

According to the Tasks Package documentation, nesting of the tasks environment is not supported, so I typically combine tasks with enumerate for questions with multiple parts. The issue is that ...
Luke Collins's user avatar
  • 1,920
0 votes
0 answers
35 views

Task Environment \end{task} error & math mode spacing error

There are 2 errors in the MWE I want to resolve. in the enumerated #1 problem, I bolded the answer to right of equal sign. But that messed up the proper spacing after the = sign. $(12)\div 4 = $\...
Siuslaw Math's user avatar
0 votes
0 answers
70 views

How to create a half filled circle in tasks?

I'm trying to make the last circle half filled like how \skill{Office}{4.5} work. Here's my try: \documentclass[12pt, a4paper]{resume} % Use the custom resume.cls style \usepackage[left=0.4 in,top=0....
Azarang's user avatar
0 votes
1 answer
107 views

Horizontal Multicols

Since the answer for my last question Tasks not accepting environments was pretty much: doesn't work, is there any alternative to tasks where the items are horizontally aligned? Normal behavior of ...
Astrina's user avatar
  • 63
3 votes
1 answer
199 views

Tasks and align* environments baseline alignment

In the example below, I want to raise the equations in align* environment, so they would be in the same line with the numbering labels of Tasks package. How I can do that? \documentclass[12pt,fleqn]{...
miltos's user avatar
  • 2,625
0 votes
1 answer
62 views

No linebreak before TASKS in solution-environment of XSIM-Package

Is it possible to avoid linebreak before tasks in xsim? \documentclass{article} \usepackage{xsim,tasks,ulem} \loadxsimstyle{layouts} \xsimsetup{% exercise/template = mytemplate , solution/...
Stefan's user avatar
  • 3
2 votes
1 answer
96 views

Create a command using a `tasks` environment

I would like to use a command bitcol (see below) with a tasks environment, but the following code give an error. How can I fix it ? \documentclass[a4paper]{book} \usepackage{tasks} \usepackage{...
jowe_19's user avatar
  • 939
0 votes
1 answer
106 views

Aligned nested enumerate

I'm trying to create a nested enumerate items as shown below. I cannot get the second level labels to align with the first level labels. Is there way to do this cleanly? \documentclass{article} \...
Auslander's user avatar
  • 103
0 votes
0 answers
342 views

Worksheet generator with random numbers

I would like to implement a worksheet generator in Latex with the following features: It should contain commands to generate addition, subtraction, multiplication and division exercises with random ...
nrf52840's user avatar
2 votes
1 answer
156 views

Configuring the tasks package

The tasks package forms a list like this * a * b * c * d * e * f How to configure the package to display such a list * a * d * b * e * c * f ? Also need to have line alignment as tasks does, ...
Pavel's user avatar
  • 43
0 votes
1 answer
37 views

Vertical alignment between the choices

I want to adjust the vertical alignment between A and D, B and E. I want it to be like this: \documentclass[a4paper]{article} \usepackage[margin=4.cm]{geometry} \usepackage{amsmath} \usepackage{...
Pitaya88's user avatar
  • 377
1 vote
2 answers
186 views

Typeset a kind of exercise list

How to typeset this kind of exercise list: A possible solution is to use the tasks package: \documentclass{article} \usepackage{tasks} \settasks{label=\arabic*.,label-format=\bfseries} \begin{...
Stephen's user avatar
  • 3,870
1 vote
2 answers
82 views

Align choices to width

I want to align the question options to the width of the column Like this: \documentclass[a4paper,9pt]{extarticle} \usepackage[margin=1.5cm]{geometry} \usepackage{amsmath} \usepackage{ragged2e} \...
Pitaya88's user avatar
  • 377
2 votes
1 answer
100 views

Task align style

Original .: And I want to do like this. how can I do it? \documentclass[a5paper]{article} \usepackage[margin=1.5cm]{geometry} \usepackage{amsmath} \usepackage{tasks} \newlength{\taskindent} % \...
cufcuf's user avatar
  • 594
1 vote
0 answers
88 views

Stretch spacing after the last row of a tasks environment

I am making an exam using the tasks package, and I would like to have each item/row to have an equal amount of space under it. Typically I would do this with a bunch of \vfill thrown around, but the ...
Miha Habič's user avatar
2 votes
1 answer
104 views

Line spacing problem and Multiple choice option editing

Why is red vertical alignment not regular? I want to show choices in capital bold letter and i want to horizontal align choices. Help me please \documentclass[a4paper]{article} \usepackage[margin=1....
suarez's user avatar
  • 182
0 votes
1 answer
561 views

How to properly align/indent questions (question text) and options in automultiplechoice?

How do i align the question and the option text properly such that the next line doesnt start from that far left but the indent/alignment is maintained as shown? MWE Attached \documentclass[a4paper]{...
Aman's user avatar
  • 63
2 votes
1 answer
226 views

How to enumerate horizontally instead of vertically in MCEXAM package using "tasks" package?

how do I use tasks package to put options as a b c d Multicols puts the options as a c b d See screenshot. here is the mwe \documentclass[twoside]{article} \usepackage[utf8]{inputenc} \usepackage[...
Aman's user avatar
  • 63
1 vote
2 answers
400 views

How to align and modify items using tasks or enumerate?

I´m sorry my English mistakes. I would like to align items using tasks or enumerate (or both) to get better experience for me. I have been using the first one a long time, but unfortunately it does ...
Moura's user avatar
  • 1,575
1 vote
2 answers
605 views

Using Multicols or tasks to enumerate horizontally instead of vertically in auto-multiple-choice

i am trying to make assignment sheets using AMC, and to save space on some questions, i am using multicols Here is an MWE \documentclass[a4paper]{article} \usepackage[utf8x]{inputenc} \usepackage[T1]{...
Aman's user avatar
  • 63
1 vote
1 answer
116 views

Generate answer keys for multiple choices using xparse and tasks

I am using the following code to generate answer keys. When I try it in a long document, which is needed to add \answerkey in every section, answer keys printed repeat the counterparts of previous ...
Nguyễn Xuân Duy Bảo's user avatar
2 votes
1 answer
217 views

Issue with recent version of tasks and numbering

I recently updated my Miktex and now the package tasks is not behaving how it used to. Using \task[] would provide a non labeled task that wouldn't increase the enumeration, but now it increases the ...
The Fourth Man's user avatar
0 votes
0 answers
99 views

How to set normal vertical alignment using xsim and tasks packages?

MWE \documentclass[13pt]{scrartcl} \usepackage[no-files]{xsim} \usepackage{tasks} \DeclareExerciseEnvironmentTemplate{main-task}{ \par \textit{\GetExerciseName} \GetExerciseProperty{counter}. } ...
Allok's user avatar
  • 405
1 vote
1 answer
101 views

Replace tasks with enumerate

I'm trying to reformat a separate tex file without having to change the source file. What I want to do here is convert a tasks environment to a simpler enumerate environment. It should be simple -- ...
Steven Hearnt's user avatar
1 vote
1 answer
96 views

How to randomise the order of items in a tasks environment?

I have set up a document with a structure like this \documentclass[a4paper,12pt]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{exsheets} \usepackage{tasks} \newcommand{\...
dakralex's user avatar
2 votes
1 answer
200 views

How to skip some arabic labels in task environment?

I am writing an answer key to a (math) problem set which contains, suppose, 10 problems. To generate a sequence of numbers I am using task environment with global settings \NewTasks[label = {\bf \...
prashant sharma's user avatar
2 votes
1 answer
145 views

Task label with TikZ doesn't work anymore

Skillmon's solution proposed here doesn't work anymore, with an up-to-date TeX distribution: \documentclass{article} \usepackage{tikz} \usepackage{tasks} \newcommand*\Choice[1]{% \begin{...
CarLaTeX's user avatar
  • 63.2k
1 vote
0 answers
242 views

Tasks package doesn't work [closed]

I'm having problems with the tasks package. Just with a very simple code: \documentclass{report} \usepackage{tasks} \begin{document} hola \end{document} I get this log-file ! LaTeX3 Error: Unknown ...
Tito Eliatron's user avatar