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.

0
votes
1answer
29 views

How to add a title and author to exsheets?

I have a nice exsheets template, however i just cannot manage to add a title and author! (if i add one it still compiles but title is never shown.). Please help me add a tilte & author? Here is ...
4
votes
1answer
165 views

Issue after TL update 2019-01-10 related exsheets and LaTex3

Before yesterday TL update my file compiled well. Today I got the error: ! LaTeX3 Error: Variant form 'n' deprecated for base form (LaTeX3) '__exsheets_blank_skip:N'. One should not change an (...
0
votes
0answers
28 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{...
0
votes
1answer
31 views

How to hang the question/exercise header?

I think below pic should be enough to illustrated what I mean: The number 1,2,... are hang-ed to left, like a margin, how should I do like that in exsheets packages?
2
votes
2answers
36 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
44 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 \...
4
votes
3answers
147 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
84 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 ...
1
vote
1answer
52 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
61 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
106 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
160 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
391 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
433 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
214 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
71 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
120 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
147 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
62 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
110 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
161 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
212 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
75 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
126 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
119 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
107 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
74 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
66 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
49 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
238 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 ...
1
vote
0answers
76 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
122 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
231 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
203 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
38 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
383 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
122 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
105 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
189 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
139 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
83 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
89 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
179 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
225 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
410 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
122 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
96 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
96 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. ...