Questions tagged [tasks]
{tasks} is about the tasks package.
108
questions
0
votes
0answers
32 views
Task environment changes the text to uppercase [closed]
I wonder if someone around here can help me solve this question.
When I use the task environment, it automatically changes the text to uppercase.
\documentclass[12pt, letterpaper]{article}
\usepackage[...
0
votes
0answers
26 views
Alignment of tasks inside exercise
I have the following code:
\documentclass[13pt]{scrartcl}
\usepackage[no-files]{xsim}
\usepackage{tasks}
\DeclareExerciseEnvironmentTemplate{main-task}{
\par
\textit{\GetExerciseName}
\...
2
votes
1answer
50 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 ...
0
votes
0answers
23 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}.
}
...
0
votes
1answer
36 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 -- ...
1
vote
1answer
35 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{\...
2
votes
1answer
28 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 \...
1
vote
1answer
47 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
52 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 ...
2
votes
0answers
74 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
19 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
30 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{...
1
vote
1answer
51 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
44 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.
...
1
vote
1answer
35 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
21 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
105 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
40 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, ...
1
vote
1answer
64 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
98 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
66 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
56 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
53 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
29 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
91 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
145 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
82 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 ...
4
votes
1answer
312 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
84 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
126 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
207 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
54 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
169 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
150 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
240 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
134 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
367 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
207 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}{...
2
votes
1answer
185 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
217 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
82 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
420 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
263 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
55 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
65 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
60 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
907 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 ...