Stack Exchange Network

Stack Exchange network consists of 175 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.

1
vote
1answer
29 views

Make wrapfigure span over two exsheets questions

How to make a long vertical image (using wrapfig) span over two questions from exsheet package? The following code does not produce a satisfactory result. \documentclass{book} \usepackage{lipsum} \...
0
votes
0answers
17 views

Using section titles in \printsolution template with xsim

This is the second question related to creating the Dutch State/Central Exam layout using xsim instead of exsheet. It concerns adding the title of the section that group the exercises (here called ...
1
vote
0answers
17 views

How to add rows to gradingtable default* template in xsim

First I want to thank all those users that asked questions and/or supplied answers that have been useful to me in my journey learning LaTeX and using it to replace MS Word in editing my chemistry high ...
0
votes
0answers
20 views

Is there an equivalent to exsheet's \exerciseNumber{} in XSIM?

The exsheets package allowed for referencing a previous exercise through its ID tag with \exerciseNumber{<id>}. Changing to XSIM now, I could not find an equivalent. The \GetExerciseProperty{ID} ...
0
votes
1answer
61 views

Migrating from exsheets to xsim

xsim looks fine. EDIT, March 28, 2019 I know, the manual has to be read! But just one question: How to mimick in xsim this exsheets setup? \SetupExSheets{% counter-format = ch.qu, counter-...
0
votes
0answers
24 views

Trying to use in command in exsheets package

I keep a database of the problems I like on Overleaf and use the exsheets package. I found myself writing something like this all the time: \begin{question}[ class=A, difficulty=M, source=...
2
votes
1answer
62 views

Pycode code inside exsheet question

I want to create a table inside of a exsheets question (or solution) (using data defined in another pycode environment outside of it). But this doesn't work. What did I do wrong and how can I make it ...
0
votes
1answer
32 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 ...
8
votes
1answer
764 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
50 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
54 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
42 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
69 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
152 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
98 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
67 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
73 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
127 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
198 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
542 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
539 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
247 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
78 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
131 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
163 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
65 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
125 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
168 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 ...
2
votes
1answer
247 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
86 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
130 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
121 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 ...
3
votes
2answers
113 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 ...
2
votes
1answer
76 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
68 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
265 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
84 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
127 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
280 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
225 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
70 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
42 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
386 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
125 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
109 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
211 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
144 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
89 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
95 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{...