Questions tagged [tasks]

{tasks} is about the tasks package.

Filter by
Sorted by
Tagged with
0
votes
1answer
39 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{...
1
vote
0answers
32 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 ...
1
vote
0answers
61 views

what is the difference between exsol and xsim package? [closed]

what is the difference between exsol and xsim package? And which is the closest one to exam document class?
0
votes
0answers
15 views

Shuffle questions and generate answer keys using xparse

The following code was originated by @egreg and then modified by @cgnieder to be compatible with tasks package. It is very helpful thank to both, but now I'm curious that is there anyway to set the ...
1
vote
0answers
26 views

How to reformat “f” labelling in tasks package so the right side has more kerning space

I have a working solution to the problem posed here for other packages such as enumitem, but I require a solution that works in the tasks package, which is not nearly as flexible. \documentclass{...
0
votes
0answers
39 views

Unwanted punctuation in cleveref rererences

I use cleveref for referencing. There are a set of questions (which could be items) and their subquestions, which I want to come out as "question 1.1" or (preferably) "subquestion 2.3&...
1
vote
0answers
32 views

Task environment with answer key [closed]

I fixed my problem using hyperref, posted by CarLaTeX Visit Task environment and answer package clash. I got what I want and how to let the answer key be in the horizontal direction, not in vertical. ...
0
votes
0answers
24 views

How to add right answer key at the end of \newpage, created in article with task environment

I'm creating a math test, this is the file I'm using. I like this file, basically I coped this from different latex files, at the beginning, I used the table to input the right keys, this way is too ...
0
votes
0answers
20 views

Tasks: How to nest tasks in newcommand? [duplicate]

I would like to perform a few tasks at the beginning of the document so that I can later use them in a defined environment. Why doesn't the following work? \documentclass{article} \usepackage{tasks} ...
3
votes
2answers
101 views

Vertically enumerated multi-column lists

I am looking for a list environment that places the elements forming a grid, (an array, a table...) and with the elements vertically numbered. This small detail has become to be a great pain for me. I ...
2
votes
1answer
35 views

Can't use tasks to generate answer keys using xparse

I tried to compile the following code, which I collect and modify from: Label an item of a 'randomized enumerate' written by @egreg. \documentclass[12pt,a4paper]{article} \usepackage{amsmath, ...
0
votes
0answers
41 views

Shuffle questions in xsim

As said in the title, I want to shuffle questions while using xsim and tasks packages. Here is the code I took from multiple choice questions with correct choice environment which is written by @...
0
votes
1answer
91 views

Is there no way in Tex to do this?: MCQ using tasks package with answers to print at the end for each section

I am writing some notes which contains question of multiple choice options, each question has 4 options out of which 0,1,2,3, or 4 options may be correct. I am using tasks package for wring options. (...
1
vote
1answer
55 views

Auto labeling in tasks environment

I have done this: \documentclass[12pt,a4paper]{article} \usepackage{amsmath, mathptmx, amssymb} \usepackage{tasks}[newest] \settasks{label = \textbf{\Alph*.}} \usepackage{enumitem} \setlist[...
1
vote
1answer
50 views

Enumerate Horizontally with multicols and span a column

Follow up to question Enumerate Horizontally with multicols. I want one of my entries to span a column. That last task doesn't quite fit in a column. \begin{tasks}(3) \task $\ds \frac{d}{dx} \int_3^...
1
vote
1answer
48 views

the tasks package break hyperref links

I'm writting a student book and i use the tasks package. Compilation with Pdflatex work well but compilation with latex+dvips+ps2pdf break links beetween the table of contents and sections ...
0
votes
0answers
27 views

Line split for long equation not working in AMS + Tasks environment

I created a 2 column math problem set using tasks + amsmath environments (and several other packages). Code executes without problem. But in the step-by-step solution box I want to split a long ...
1
vote
1answer
68 views

Enumeration option task

When I update Miktex 2.9 I have problem with enumeration option task. When I print: \makeatletter \def\@mynum#1{\ifcase#1\or a\or b\or v\or g\or d\or d1\or e\or zh \or z\or i\or j\or k\or l\or lj\or ...
0
votes
1answer
91 views

Latex: task environment not enumerating properly

I am trying to create a 2 column math worksheet with the problems numbered horizontally. The code is show below. The error is causing the enumeration (using numbers rather than letters) to render ...
0
votes
1answer
66 views

Custom counter in tasks environment

I am using a custom counter to generate the labels in a \NewTasksEnvironment (package tasks v.1.1a). This is the approach I had chosen since I use this counter elsewhere (I need to increment and ...
0
votes
0answers
45 views

By changing width task environment is not working properly [duplicate]

I am working in extbookdocument class. I prepared my book with setting width size 7 inches by using the command \usepackage[paperheight=9in,paperwidth=7in,top=1in,bottom=1in,right=1in]{geometry} But ...
3
votes
1answer
230 views

Task environment is not working

I am using a task environment but it is not working. My sample code is \begin{tasks}[label=(\arabic*)] \task 1 \task 2 \task 1 \task 3 \task 4 \end{tasks} But if I use the same code without [label=(\...
4
votes
2answers
78 views

Flashcards and tasks

I use the flashcard package in my work. I want to use task package in my flashcards, but it seems to be impossible. Who can help me? My TeX code is: \documentclass[avery5371,grid,frame]{flashcards} \...
1
vote
1answer
49 views

File I/O to create exercise set with tasks package: missing \item

Background: I'm attempting to use some exercises from an open text that are distributed across many files. I've rewritten the input mechanism and have it working fine. I can use multicols and ...
0
votes
1answer
93 views

Adaptive column size based on width of tasks

Problem: This issue is related to the following post: Align enumerate to text and items to numbering for exercises and answers - but it deals with a different aspect of the package tasks, namely how ...
3
votes
1answer
148 views

multiple choice questions with correct choice environment

I am writing some notes in which I need to write some objective type questions. I also need to have one or two options correct in some questions. How can I define a correct choice environment and ...
0
votes
0answers
53 views

Tasks Package (not found) Is there any alternative to that package?

I would like to make horizontally aligned items with equations with multicols and tasks packages, but multicols doesn't align and texstudio doesn't recognize the tasks package (which I've already ...
2
votes
2answers
144 views

Redefine enumerate/answerlist environment

Every two months I have to prepare the written statistics exams for my institute. In order to reduce the amount of printed pages I want to print the items of an answerlist horizontally. The package ...
4
votes
1answer
125 views

Equally split the aligned items in tasks package

Problem I am now updating my resume and I found tasks package is a good choice to list my research interests in the same line (which could save a lot of space). Even though I basically got what I ...
2
votes
1answer
208 views

xsim and questions in columns within tasks

I would do with xsim, successor of exsheets, the same I do with it: lists of questions inside a tasks environment. Is that possible? Something like this: \documentclass{article} \usepackage{...
10
votes
2answers
116 views

Remove punctuation from references to task counter

I'm using the tasks environment to spread a list across two columns. But the \ref command appears to carry punctuation with it differently than it does in the enumerate environment. I want to produce ...
5
votes
2answers
344 views

How to create a list in two columns with symbols label

Please consider this MWE: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage[T1]{fontenc} \begin{document} {\scriptsize\begin{itemize} \item Item 1 \...
2
votes
2answers
147 views

Too much vertical space after displayed math in tasks environment

Tasks package inserts too much vertical space after displayed math: \documentclass{article} \usepackage{tasks} \begin{document} \begin{tasks} \task \[ X\rule{10cm}{1pt}X \] \task \[ Y\rule{10cm}{...
1
vote
0answers
156 views

How to define choices instead of tasks and print answers at the end

I am trying to write some questions which are of objective or multiple choice format. The tasks package does the job except for two things: Instead of \begin{tasks} and \task I want to write \begin{...
1
vote
1answer
181 views

Item number not aligned with tasks

I have an alignment issue when using enumerate and tasks. Specifically, when I have a "blank" item with associated tasks, the item # and task # don't line up horizontally. Any suggestions would be ...
4
votes
1answer
78 views

Incompatibility between babel-french and tasks

There seems to be an incompatibility between these two packages. Look at these two MWE: The right one \documentclass{article} \usepackage{tasks} %\usepackage[french]{babel} \begin{document} \begin{...
5
votes
2answers
355 views

Custom label for references using tasks inside a xsim exercise

In order to create an assignment sheet, I am using the xsim package and to create subquestions within a question, I use the package tasks. The problem comes while referring to the subquestions. ...
3
votes
2answers
229 views

How to italicize enumeration in task environment

Consider the following MWE: \documentclass{article} \usepackage{tasks} \begin{document} \begin{tasks}[label-format=\itshape](4) \task Ex. 1 \task Ex. 2 \task Ex. 3 \task Ex. 4 \end{...
1
vote
1answer
126 views

How to define shorcuts for the tasks package with \def?

I tried to define the shortcuts \documentclass{article} \usepackage{tasks} \def\bqcmt{\begin{tasks}(2)} \def\eqcmt{\end{tasks}} \def\myitem{\task} \begin{document} \bqcmt \myitem This is a test \...
2
votes
1answer
53 views

How to auto-fit a left-to-right list?

For instance, \documentclass{article} \usepackage{tasks} \begin{document} \begin{tasks}(3) \task A \task B \task C \task D \task E \task F \end{tasks} \vspace{1cm} \begin{tasks}(5) \task A \task B \...
0
votes
1answer
61 views

filbreak adds extra vertical space

I'm writing a book with a long list of questions. Most questions come in parts. At the bottom of a page it breaks after printing the number of the problem but before printing the parts, which is ...
1
vote
1answer
53 views

tasks in enumerate: problem with baselines if lineheight too big

I'm using tasks (https://github.com/cgnieder/tasks) in enumerate. If the line-height is encreased (eg by a formula) the baseline of the first task is not on the item-baseline: \documentclass{article}...
2
votes
1answer
798 views

Using answers with tasks

I'm writing a book of maths problems. I need a way to present both the problems and their solutions at the end of the book. I worked out a way to get the problems and answers to look just as I would ...
1
vote
1answer
97 views

Error when using fbox numbering with tasks package

When I insert "\renewcommand{\labelenumi}{\bfseries \fbox{\arabic*}}" in the preamble, I receive an error "! Argument of \boxframe has an extra }.\par \item" but it's good If I don't insert that. My ...
7
votes
1answer
142 views

TASKS package issue with TColorBox: unwanted carriage returns

The package TASKS is very useful for horizontal lists. However, when using Tasks lists inside TColorBoxes, Tasks behaves oddly, adding carriage returns when not necessary. Is there a way to restore a ...
1
vote
1answer
71 views

Changing tasks order

When I use tasks environment, I get (a) item 1 (b) item 2 (c) item 3 (d) item 4 (e) item 5 Is possible to change the order to (a) item 1 (c) item 3 ...
6
votes
2answers
162 views

Expansion issue in tasks package

I'm trying to switch from enumitem lists to tasks lists, but the following, which works in an ordinary enumerate environment, generates a "Something's wrong--perhaps a missing \item" error in the ...
1
vote
2answers
193 views

Bug between tasks and minipage and multicol and geometry?

I have noticed the following behaviour. I wonder if it is a bug or if it is normal. \documentclass[a4paper]{article} \usepackage{tasks, lipsum} \usepackage{multicol} \usepackage[hmargin=1.5cm]{...
2
votes
0answers
86 views

Strange behavior of `tasks` items inside `tcolorbox` box [duplicate]

I am drawing a fancy box around theorem environment using tcolorbox package. The content of the environment contain horizontal enumerate and I prefer tasks package. The default box setting work ...
0
votes
1answer
196 views

New environment using tasks

I'm trying to create a new environment: \newenvironment{tasksx}{ \begin{tasks}[counter-format = (tsk[a]), after-item-skip = -.5ex, before-skip = -2.5em, after-skip = 1em] \task \end{...