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

5
votes
0answers
18 views

\usetikzlibrary{babel} does not work in exsheets’ question environment

I am trying to type math exercises by using XeLaTeX, the tikz-cd package for commutative diagrams, the babel package for German, and the exsheets package for formatting and organizing the questions ...
1
vote
0answers
21 views

Sympy in for Loop runaway argument error

I am trying to have the following document compile using sympytex. The goal is to generate squares of integers using sympy and the latex forloop into exsheets. I have been trying to fix the error for ...
1
vote
1answer
52 views

tikzpicture in exsheets solution

I get problems with \datavisualization in an exsheets solution. I only get a small cross but not the parabola. Has someone similar experience and can help me? \begin{solution}[print] \begin{...
1
vote
0answers
22 views

Exsheets: Switching solution printing on/off multiple times

I'm having some troubles with the (otherwise excellent) exsheets package. I want to switch between printing the solution to a question and not printing it multiple times in one document. I am trying ...
2
votes
0answers
22 views

How to change the decimal separator in exsheets to comma

In the exsheets package the default decimal separator is dot. How can I change it to a comma?
3
votes
1answer
61 views

How to right align text relative to the word above?

I use exsheets to generate some exercise papers. The layout looks like this: first comes the word EXERCISE under the word EXERCISE are the exercises, which are numbered within the section I would ...
1
vote
0answers
48 views

exsheets: How to print solutions to a very specific section?

I write some questions and answers with the exsheets package. I want to print the solution of a specific section, e.g. the solutions from section 2 of chapter 2. What doesn't work \printsolutions[...
5
votes
1answer
38 views

Problem numbering exsheets questions in appendix

I would like to include exercises in an appendix of a book and I have a problem to obtain correct numbers for these exercises: \documentclass{book} \usepackage{exsheets} \SetupExSheets{ counter-...
3
votes
1answer
47 views

Use question counter for numbering equations in solutions that appear at end of document

I'm using exsheets for writing problem sets. I want to number equations by question to which they pertain. So I use \numberwithin{equation}{question}. This works well for equations that appear within ...
3
votes
1answer
28 views

How to reference a user defined exsheets environment using cleveref

I have defined an environment in exsheets package and want to cite it using cleveref package and am not able to find a way. I tried many things and tried to read the exsheets manual. I searched also. ...
4
votes
2answers
79 views

Exsheets print subsection counter?

When defining a counter format in exsheets I can use ch for chapter, se for section orqu for question. But how can I reference to the subsection counter? I can do: \SetupExSheets{counter-within={...
5
votes
0answers
96 views

Using cprotect and environments with multiple arguments

Is there a way to use the cprotect package's \cprotEnv command to use verbatim inside environments that have optional or multiple arguments? My motivation for this question: I am working with ...
4
votes
2answers
172 views

Printing Solutions on Different Page

I have the following source code that generates random questions regarding conversions from Arabic to Roman Numerals. I would like the solutions to be printed on a new page after the exercises end. I ...
1
vote
1answer
79 views

TikZ Circle/Ellipse Around Text, Part 2 - ExSheets Spacing

This is a follow up to Part 1 TikZ Circle/Ellipse Around Text. My new problem: Since combining the answer from the last thread with ExSheets, there extra spacing around the correct answer. Why? \...
3
votes
1answer
91 views

What is causing a blank column below wrapfigure until end of chapter?

It happens when a wrapfigure is placed (by the system, not by myself) beside an ExSheets question. This is a minimal working example: \documentclass[a4paper,10pt]{book} \usepackage{fontspec} \...
1
vote
1answer
44 views

How to make \begin{gather} work inside ExSheets' \begin{solution}?

My minimal (not-)working example is as follow. It works only if I comment out the \begin{gather} and \end{gather} lines. \documentclass[a4paper,10pt]{book} \usepackage{exsheets} \usepackage{mdframed}...
4
votes
2answers
91 views

Hide counter for exsheets solution environment

I am using counter-format=se.qu. for my questions which gives the following output In my case I want to hide the counters from solutions (so that I only get Lösungsvorschlag. there without the 3.1) ...
1
vote
0answers
32 views

Can I configure or adapt ExSheets in order to distinguish “problems” from “exercises”, each type being independently counted?

For reasons that are beside the point, I want to have both exercises, Ex. 1.1, Ex. 1.2, Ex. 1.3, ..., and problems Prob. 1.1, Prob. 1.2, Prob. 1.3, ... Maybe also Example 1.1, Example 1.2, ... ...
1
vote
1answer
45 views

How to print only odd-numbered solutions with ExSheets?

I want to have a section at the end of each chapter with the solutions of only odd-numbered questions.
2
votes
2answers
78 views

How to expand ExSheets question environment to show user-defined blank space for solution?

This is my minimal not-working example: \documentclass[a4paper,10pt]{book} \usepackage{mdframed} \usepackage{exsheets} \newenvironment{exerciseWithSpace}[1]{\begin{question}}{\end{question} \...
1
vote
1answer
61 views

How can I change margins of mdframed boxes that enclose ExSheets questions?

I successfully enclosed my ExSheets questions with mdframed boxes by using the following code line: \SetupExSheets{question/pre-body-hook=\mdframed,question/post-body-hook=\endmdframed} Now, I ...
3
votes
1answer
92 views

class exsheets automatic points by question and solution

I used the exsheets class for my exercises and exams and everything is very configurable but I have some issues with the dealing of points by questions... \documentclass{scrartcl} \usepackage{...
1
vote
1answer
46 views

How to refer to ExSheets question using “Chapter.Question” format?

I've successfully configured ExSheet questions to write "Exercise 1.1", "Exercise 1.2", and so on before each exercise. But when use \ref{} command to refer to them, I get "Exercise 1", "Exercise 2", ...
1
vote
1answer
62 views

How can I add Subtitles to ToC with ExSheets?

I know how to add questions to the Table of Contents using exsheets key questions-totoc. I would like the Table of Contents to have question subtitles, so my students (and I) know what the questions ...
2
votes
1answer
71 views

Asymptote and Exsheets [duplicate]

How can I use asymptote language inside an exsheets question? For example, the code below will compile perfectly fine. But if the asypicture environment is moved inside the exsheets question ...
3
votes
1answer
77 views

exsheets: Link Solutions back to Questions

Using exsheets, I'd like to link questions to their solutions and solutions back to their questions. This issue is also discussed in the question How to automatically links questions and solutions ...
2
votes
1answer
61 views

exsheets: how to use skip-below with custom heading

I am using exsheets for making problem sets and worksheets. I made a custom heading, but now skip-below key does not work: \documentclass{article} \usepackage{exsheets} \DeclareInstance{exsheets-...
3
votes
1answer
114 views

How to guarantee a question appears on an exam created using exsheets?

I really have 3 questions that I want to know how to go about when using the exsheets package. My main question is if I have a tex file solely as a database for questions and if I create a separate ...
2
votes
1answer
332 views

exsheets and \PrintSolutionsTF Question

Am I missing something very basic with the exsheets package and its \PrintSolutionsTF command? I figured that if I set \SetupExSheets{solution/print=true} I would get 4 (this works) and for \...
4
votes
1answer
270 views

Converting latex to html using exsheets, and keeping equations as latex

I have been successfully using the configuration described in the excellent answer to keeping equations as latex, so as to use MathJax. Now I wish to also use the exsheets package (for creating ...
5
votes
1answer
156 views

Embedding Examples & Solutions In Worksheets

How can I "embed" examples and solutions into my code to make easy-to-use worksheets and solutions manuals? Context: I am creating a fractions workbook for students, many of whom have many ...
3
votes
1answer
135 views

Exsheets: how to get a counter/reference combining section and question numbers

I am writing a document that has several major sections, and each section will have some exercises and solutions. I am using the exsheets package, which seems to do almost everything I want. However, ...
2
votes
1answer
77 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
203 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} \...
3
votes
1answer
75 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
52 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
111 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
183 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
133 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
79 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
102 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} \setlength{\...
3
votes
2answers
111 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, bottom=...
0
votes
1answer
59 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 ...
4
votes
1answer
135 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 ...
5
votes
1answer
229 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
119 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, \...
4
votes
2answers
349 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) ...
6
votes
1answer
196 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
53 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
124 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 ...