The {exsheets} package provides flexible means to create exercises and corresponding solutions for exercise sheets, exams and problems in text books.

learn more… | top users | synonyms

2
votes
1answer
25 views

Reset counter with starred sections as well (example using exsheets)

I am typesetting exercise/exam sheets with the “exsheets” package. It allows me to reset the question counter with every other counter step (e.g. with every section). Unfortunately this does not work ...
4
votes
2answers
132 views

How to use \newenvironment; why doesn't this code work? How do I fix it?

I've been trying to find out but my latex skills are too weak to understand what seem like similar problems. When I try this: \documentclass{memoir} \usepackage{graphicx} \usepackage{exsheets} ...
2
votes
0answers
24 views

Exsheets counters for new question pairs

When defining a new question/solution pair, is it possible to specify that it should get its own counter? \documentclass{article} \usepackage{exsheets} \NewQuSolPair{query}[name=Query]{exsol} ...
3
votes
1answer
29 views

CurrentQuestionID not expanding in Exsheets

I would like to be able to call \CurrentQuestionID within a question, specifically in a \IfQuestionPropertyTF statement, but it seems that \CurrentQuestionID is not expanding when called within a ...
3
votes
3answers
46 views

Problematic question subtitles in exsheets

I'm using the excellent exsheets package to write the problem sections of a book. Because I need titles for the questions, I'm using the subtitle functionality built in the package. So even though it ...
2
votes
1answer
71 views

Change title of question in exsheets

Is there any way to change the title of questions created with exsheets? I would like the title to be like "Lecture 1 - Exercise 1", instead of "Exercise 1".
3
votes
1answer
55 views

Inserted text in tasks

I'm using the great exsheets and tasks packages to create my exercises. I want the follow: in environment tasks insert plus text, which is not part of task (plus instruction or information). For ...
0
votes
0answers
56 views

Package for redirecting from questions to answers

Good evening, could someone tell me which package should I use in order to be redirected from the number of a question to its answer. In detail, suppose that I have written some questions and their ...
1
vote
1answer
60 views

Splitting Exsheets Answers into Two Lines

MWE: \documentclass[12pt]{article} \usepackage[margin=2cm]{geometry} \usepackage{amsmath, amssymb} \usepackage [english]{babel} \usepackage [autostyle, english = american]{csquotes} ...
3
votes
2answers
74 views

Exsheets is going on a new line

How do I disallow exsheets from starting a question on a new line if I have to use the enumerate environment immediately in it? \documentclass[12pt]{article} \usepackage[a4paper, top=3cm, ...
0
votes
1answer
34 views

No vertical space between question title and question

In a book I am writing I want to write various exercises for problems. For this purpose I am using the package exsheets. How can I ensure that the text for the question is immediately after the ...
3
votes
1answer
83 views

Exsheets: Print solutions in footnote

I'm trying to display the solutions to questions in a footnote. So far I have tried two approaches. The easy one is to simply wrap the solution environment in a \footnotetext, which works reasonably ...
4
votes
1answer
140 views

How to automatically links questions and solutions with the Exsheets package?

I'm writing up some lecture notes that contain questions/problems for the reader scattered accross the text. The solutions are provided in the end of each chapter. Exsheets appears to be a nice ...
3
votes
2answers
85 views

Exsheets and pythontex compatibility

I am using exsheets and pythontex packages in order to make a book of exercises. I have noticed that pycode environment cannot be used inside question (or solution) environment of exsheets. However, ...
2
votes
1answer
173 views

Exam with multiple choice using exsheets

I have seen many examples of multiple choice exams setting the correct with exam. But, is there anyway of doing a mulitple choice with exsheets? I would like something like: 1. Question 1 a) b) ...
4
votes
1answer
90 views

I want to reset the question numbering under each section?

I am using exsheets to type questions and answers. When I start a new section, the question number continues from the previous one. How do I reset it it and make it start from number 1 again? Here is ...
0
votes
0answers
66 views

exsheets: printsolutions[all] versus printsolutions per chapter/section

I am trying to format the printsolutions' output differently from chapter to chapter (or even from section to section) so I need to print the solutions per chapter (section). I will use the MWE from ...
0
votes
0answers
44 views

how to change the layout of everypage to give every question enough blank space?

\documentclass[10pt,adobefonts]{article} \usepackage{ctex} \usepackage[margin=.75in]{geometry} \usepackage{exsheets,mathpazo,titlesec} \usepackage{amsmath} \usepackage{xcolor} \usepackage{array} ...
4
votes
1answer
91 views

exsheets vs. siunitx

I want to use \vary from exsheets and \SI from siunitx. The \SI macro parses the first argument (it wants a number), but can it disable with parse-numbers=false, but in this case the \SI doesn't ...
1
vote
1answer
95 views

Prevent exsheets from creating newline at beginning of question

I want to use the exsheets package for some homework sheets in combination with enumitem. When I encapsulate an enumerate environment inside a question environment, the first item of the enumeration ...
3
votes
1answer
88 views

Aligning Exsheets Answer with \printsolutions

When using exsheets package,I have a problem with \printsolution[all]. \documentclass[UTF8,11pt,a4paper]{book} \usepackage{kantlipsum} \usepackage[load-tasks=true]{exsheets} ...
2
votes
1answer
150 views

Aligning Exsheets Question with Enumitem Inline

Follow-up question to For the inline enumerate: controlling the item spacing. I am having a problem with something using Exsheets and XeLaTeX to compile. \documentclass[11pt, twoside]{article} ...
1
vote
1answer
155 views

show solution after each subquestion using exsheets package

I have a scrbook document with chapters and sections and each section contains a set of questions + solutions (using the exsheets package, with numbering reset in every section; see MWE below). Each ...
1
vote
1answer
105 views

examples for some options for the 'solutions' environment?

Can anyone give an example of how to use the 'pre-hook', 'post-hook', 'pre-body-hook' and 'post-body-hook' options for the solutions environment of the exsheets package please? They don't seem to do ...
1
vote
1answer
136 views

spacing between the items of a tasks list

I thought I managed to solve this by tweaking the 'after-item-skip', 'after-skip' &Co settings of the tasks package but I ran into some unexpected issues with page breaks when the number of tasks ...
4
votes
2answers
123 views

Passing the string value of a variable

The MWE bellow uses exsheets package to print the solutions to questions at the end of a book. The code doesn't work as it should as it seems to be an expansion issue. When, instead of ...
0
votes
0answers
84 views

How to make svmono class work with exsheets package?

I've been writing notes in tufte-book class, but it keeps giving me unidentifiable errors. So I'm changing to svmono class. The problem is that it doesn't seem to work with exsheets package. To ...
5
votes
1answer
188 views

How to create two versions of a document?

I've read similar questions, but my problem seems to require a little more sophisticated solution. I have some notes that I want as my lecture notes and as handouts. These two versions will have a ...
3
votes
1answer
193 views

ExSheets includequestions

I have a large file database.tex with a lot of questions and solutions in the format of the ExSheets package. If I include multiple questions with one \includequestions command, the questions are ...
3
votes
1answer
141 views

beamer + exsheets package

Is it possible to use exsheets package with beamer class? I try to do so, but this piece of code \documentclass{beamer} \usepackage{exsheets} \begin{document} \begin{frame} test \end{frame} ...
2
votes
1answer
167 views

“exsheets” package: How to use “chapter-hook” when using \printsolutions[all]?

I'm writing a book which includes exercises spreaded through its chapters. To typeset the exercises I'm using the exsheets package. I want to make an appendix with all the solutions listed per chapter ...
6
votes
1answer
426 views

exsheets and tikz matrix

What is the problem with this file? \documentclass{article} \usepackage{exsheets} \usepackage{tikz} \usetikzlibrary{matrix} \begin{document} \begin{question} \begin{tikzpicture} \matrix (magic) ...
0
votes
0answers
58 views

exsheets \vary with tikz \coordinate

I'm trying to use exsheet's \vary command in a tikzpicture: \documentclass{article} \usepackage{tikz} \usepackage{exsheets} \begin{document} \begin{tikzpicture} \coordinate (point) at (0, ...
3
votes
1answer
267 views

Problem with numbering of questions in exsheets

When using : \documentclass[11pt,letterpaper,oneside]{article} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{graphicx} \usepackage{enumitem} \usepackage{verbatim} ...
3
votes
0answers
120 views

exsheets reorder questions

I'm using the excellent exsheets package, and I'd like to have different orders of questions in the different variants of my test. That is, I'd like \variant{1} to print one order of questions, ...
0
votes
1answer
104 views

exsheet print several exams same document

How to print several exams in the same document using exsheets? I need to print several exams using \includequestions[random=1]{easy} \includequestions[random=1]{medium} ...
5
votes
1answer
265 views

Exsheets: how do I print the 'solutions' on the same line?

I want to print (dump) the solutions to questions at the end of the book. If I just use \printsolutions I get every solution on a new line (as a new paragraph). I need to have them on the same line ...
1
vote
1answer
92 views

exsheets varying of question's point value

I'm using exsheets package. I want variations with different point values. \documentclass[a4paper]{article} \usepackage[magyar]{babel} \usepackage[utf8x]{inputenc} \usepackage{t1enc} ...
7
votes
1answer
255 views

ExSheets fancy headings breaks

Remarks From the exsheets documentation I grabbed a piece of code to produce fancy headings for questions and solution, but it breaks. It is the fancy heading style on page 49 and 50 in the current ...
5
votes
1answer
245 views

Put points of question into brackets in exsheets

I want align the points value of questions to margin and put inside brackets with exsheets package. MWE: \documentclass[a4paper]{article} \usepackage[load-headings,load-tasks,]{exsheets} ...
5
votes
1answer
177 views

AMSbook documentclass and exsheets problem

I think that there is a problem when you use task lists in amsbook class. Here is an example: \documentclass[12pt]{amsbook} \usepackage[load-headings, load-tasks]{exsheets} ...
7
votes
1answer
241 views

Using cleveref for cross-referencing to exsheets questions

I really like the functionalities offered by exsheets, a package for typesetting exercise sheets and exam papers (and their solutions). One particularly nice feature is the possiblity of assigning ...
5
votes
1answer
130 views

Exsheets does not work with unicode-math package

Here is the code: \documentclass{article} \usepackage[vmargin=1in]{geometry} \usepackage{xfrac,fontspec,unicode-math} \setmathfont[version=lm]{Latin Modern Math} \setmathfont[version=cambria]{Cambria ...
8
votes
1answer
146 views

How can I get a question's difficulty to be typeset in the question's heading?

In his excellent exsheets package, cgnieder explains how to define custom dividing concepts, such as question difficulty. After difficulty has been as a new dividing concept, each question can be ...
3
votes
1answer
231 views

Exsheets: print solutions per section fails

I'm using the exsheets package to write exercises and solutions in a textbook. My purpose is to list some exercises at the end of each section followed by their corresponding solutions, as intended in ...
4
votes
1answer
278 views

Maintainable approach to adding a title to an exsheets question?

I've started using cgnieder's wonderful exsheets package for my problem sets, but it seems to be missing a valuable functionality: exercise titles. In my case, the latter would prove particularly ...
7
votes
1answer
197 views

How to change the counter of problems or questions and solutions to start from any number?

I have a homework. The problems chosen by the lecturer are often not in arithmetic sequence so I have to change the problem counter (and its solution counter) manually. ...
5
votes
2answers
265 views

How do I extract repeated functionality (exsheets workaround) to make it reusable?

Speaking with Clemens (exsheets maintainer) he pointed me to a workaround by Gonzalo Medina, that helps put verbatim and listings code in the exsheets pseudo (Clemens' word choice) question and ...
1
vote
1answer
184 views

How to automatically provide a blank space after a question based on the solution size?

I want to generate a problem booklet that provides a more accurate space after each question. As I always make the solution as general as possible, I think I can use the size of my solution for the ...
7
votes
1answer
280 views

How to change the title of “question” environment from English to another language?

I want to change the title question in English to other language. How to do that? You can choose any other language in your answer. \documentclass{article} \usepackage{exsheets} \begin{document} ...