Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [exsheets]

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

4
votes
3answers
133 views

How to resume enumi in a question of exsheets?

I can resume by adding \setcounter{enumi}{\thetemp} before the first item \setcounter{temp}{\theenumi} after the last item where temp is my new counter. However this approach does not look elegant. I ...
1
vote
1answer
57 views

Textbook with exam questions and solutions all bundled together using exsheet

I would like to thank those who have edited my question, and thoae who had answered the previous post. I am trying to write a book with the following key features Questions laid out in the exam class ...
0
votes
1answer
34 views

Why does not cross-referencing of exercises work with `exsheets`?

I am trying to use cleveref package to create custom referencing scheme for exercises created using exsheets. I customize cross-referencing of floats and equations very well using codes similar to the ...
2
votes
1answer
48 views

Print Questions with Code by Groups

I'd like to write a document with questions containing pieces of code (in minted environments), separated in two groups (say A and B, and with A∩B ≠ ∅), and their solution. I'd like to be able to ...
0
votes
1answer
67 views

How can I change all the labels from the exsheets packages?

I am using Exsheets package to do an exam \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{exsheets} \begin{document} \begin{question} Question Here \end{question} \begin{solution} ...
3
votes
1answer
123 views

Comma as decimal separator in exsheets package broken

If I want to allow a comma as a decimal separator for points in exams I usually use the solution proposed by @clemens in a comment here as in the example below. However since I updated to texlive ...
8
votes
2answers
267 views

How to define a new environment with old environment by setting the optional parameter?

\documentclass{ctexbook} \title{Introduction to Latex} \author{Me} \date{} \usepackage{exsheets} \SetupExSheets{counter-within={chapter}} \newenvironment{myquestion}{\begin{question}[name={myExercise}...
4
votes
3answers
291 views

How to (use package exsheets to) make a exercise section at the end of each section or subsection like the following?

PS: exsheets isn't a must, all methods are welcome. My document structure: \documentclass{book} \title{Introduction to Latex} \author{Me} \date{} \begin{document} \chapter{first} \...
1
vote
1answer
168 views

Randomly selecting subquestions in exsheets

Here in the MWE: \documentclass{article} \usepackage{exsheets} \SetupExSheets{counter-format=} \begin{document} \begin{question}[name=Answer the following in one sentence] \begin{enumerate} \...
0
votes
0answers
60 views

Exam class with variations using exsheets

When I make an exam with 2 variations and add a points table at the end it considers that the exam has twice the number of questions. How can you stop this from happening automatically?
3
votes
2answers
113 views

Analogue of examspace in xsim

I am looking to recreate what \examspace command does in exsheets with its successor xsim package. The default seems to be to leave blank lines (ouch!!). Here is what I thought might work (but doesn'...
3
votes
2answers
124 views

Dynamically aligning points of exsheets question on the right/left in a multicol environment

My exercise sheets contains question in two columns. Every question has points which are to be displayed as [***] either on the right or on the left. I am using exsheets package. It provides a default ...
1
vote
2answers
59 views

Margins play spoilsport with figures in exsheets question

I am designing question papers. Several of these question contains graphs and I would like to format the graph in right half space of the question. I am using exsheets package for writing the ...
0
votes
1answer
80 views

Automated numbering of questions and solutions

I'm working on a textbook with sections and subsections, where some subsections are dedicated to exercises. \documentclass[12pt]{book} \begin{document} \section{First!} \subsection{Some theorems} ...
3
votes
1answer
149 views

How to underline headings with exsheets?

Recently I discovered exsheets for creating my worksheets and exercise booklets. I usually do not use bold fonts, but underline my headings. I'm sure there is a simple way to underline headings with ...
1
vote
1answer
180 views

How to select number questions in exsheets with some rules?

I have some questions in Database.tex (6 questions). \documentclass{article} \usepackage{fouriernc} \usepackage[paperwidth=17cm, paperheight=24cm, left=2cm,right=2cm,top=2cm,bottom=2cm]{geometry} \...
1
vote
1answer
70 views

Exsheets package: use the chapter name in chapter-hook option

I am typesetting a problems book with the exsheets package. I want the structure of solutions to repeat the structure of the problems set. Chapter-hook and section-hook options allow to add custom ...
3
votes
2answers
109 views

Using color in exsheets counter-format causes error

With the exsheets package, I'm defining a new question type that should be distinguished by having a coloured number. The following MWE throws the error message "Use of \SaveCounterPattern doesn't ...
1
vote
1answer
112 views

control of existence or not of paragraph in exsheet header in question and solution environments

I'm new to exsheets (started to use it today), just installed the latest version. After some experiments I think I got the basics to start using it, regularly, except for one esthetics thing I would ...
2
votes
2answers
99 views

Can one use exsheets to produce a marks layout after each question?

I'm trying to get an exam layout of the form: 1. Blahblahblahblahblahblahblahblah [ ] blahblahblahblahblahblahblahblahbla hblahblahblahblahblahblahblahblah. where [ ] should be a fairly large (1 cm ...
3
votes
1answer
65 views

TikZ \pic gives error in a german exsheets enviroment

I am a german math teacher and prepearing my tests with a combination of exsheets and tikz. Since I am at triangles currently i tried to prepare a text but run into an error. I narrowed it down and ...
2
votes
0answers
59 views

Reset total points counter in exsheets

How can I reset the totalpoints counter in exsheets? For example if I create two variants of an exam I usually do this with includequestions and variants using two files. However if I want to include ...
4
votes
1answer
48 views

Print only pointsum since last printed pointsum in exsheets

Is there something like a \nextpointssum command which prints the sum of all points since the last occurrence of \nextpointssum in exsheets? \documentclass{article} \usepackage{exsheets} \begin{...
5
votes
1answer
202 views

Exsheets: Having two solutions to a question and printing them out separately

I'm using exsheets to write up a document that contains math questions and prints out the numerical solutions to each of the questions at the end. However, I would also like to include the worked ...
0
votes
0answers
64 views

Page break problem with exsheets: How to avoid this automatically?

I have a problem with exheets and page breaks. The document contains a lot of pictures and multiple exsheets environments as in my MWE below. The problem is that I often get bad looking page breaks as ...
4
votes
1answer
114 views

tcolorbox around exsheets heading

I want to style my ExSheets questions with a box around the headings but I can't make it work. I got this far: \documentclass[a4paper,11pt,oneside]{memoir} \usepackage{tcolorbox} \usepackage{...
4
votes
1answer
194 views

How to change the question number from just '1' to 'Question No. 1.' in the book class?

\documentclass[11pt,a4paper]{book} \usepackage{kantlipsum} \usepackage{exsheets} \DeclareInstance{exsheets-heading}{exclist}{default}{ runin = true , number-post-code = \space , attach = { ...
2
votes
2answers
178 views

counter name for NewTasks environment

I'm using tasks (as a subset of exsheets) to create environments exer2 and exer3 which organize exercise sets in a calculus workbook into rows and columnns. I am also using the exsheets environments ...
4
votes
1answer
66 views

Spacing around lstquestion when solution are not printed

The exsheets gives handy commands to write exams, with a nice switch to print the answers. It also provides an environment to print code (using the exsheets-listings package). However, even when the ...
1
vote
0answers
36 views

Use of \pointssum with selected questions [closed]

I would like to select questions by topic, as described in the exsheets manual. However, it seems that the \pointssum command does not respect this, instead adding points of all questions, even those ...
1
vote
1answer
381 views

Selecting not previously selected questions in exsheets

Is it possibile, using exsheets, to randomly select not recently selected question (like probsoln does, for example)?
1
vote
1answer
117 views

Even and odd questions in grade table using ExSheets

I would like to create a grade table using the ExSheets package. Unfortunately the table is too long for the title page. Having tried other approaches (e.g. longtable-environment, resizebox and others)...
0
votes
0answers
96 views

exsheets: headings and page break

If a picture doesn't fit on a page, it's printed one the following page, while it's heading (in my case just the exercise number) is printed on the page before. Is it possible to print the heading ...
0
votes
0answers
181 views

Why does tcolorbox adds vertical space?

I use some tcolorboxes in the solution section of a math paper. For some reason there is some vertical space added. How can I align the solution number with the top of the tcolorbox? (The red boxes ...
5
votes
1answer
134 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 ...
0
votes
0answers
70 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
82 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
160 views

Exsheets: Switching solution printing on/off multiple times [closed]

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
78 views

How to change the decimal separator in exsheets to comma [duplicate]

In the exsheets package the default decimal separator is dot. How can I change it to a comma?
2
votes
1answer
201 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
351 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[...
4
votes
1answer
108 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-...
2
votes
1answer
87 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
91 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. ...
3
votes
2answers
298 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
226 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
244 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
124 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? \...
2
votes
1answer
332 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} \...
0
votes
1answer
127 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}...