Questions tagged [xsim]
xsim is the official successor of exsheets. Use this tag if you have a question about xsim. For questions about other packages like exsheets use the respective tag instead.
148 questions
0 votes
1 answer
56 views
TeX capacity exceeded with xsim and tikz
I am working on this document for a remote assistance session, but I cannot identify what is triggering the error. Commenting out two of the three exercises allows the compilation to work fine, but ...
2 votes
1 answer
65 views
Conditional text in a document that uses xsim package
I would like to conditionally add text (for example, "- Answers") to my exercise sheet title based on the global solution/print option set in \xsimsetup. My goal is to have the title change ...
2 votes
0 answers
64 views
Print collection exercise one and twocolunm
I use the xsim package to create a collection of exercises using \documentclass[10pt]{scrartcl} \KOMAoptions{ %headings=chapterprefix, twocolumn=true, %toc=indenttextentries, %toc=flat, twoside=true, ...
0 votes
0 answers
38 views
Several exam subjects with their own grading table
Let's imagine that I want to gather different exam subjects with their own grading table. For two subjects, I can proceed as follows, but this approach cannot be generalized to any number of subjects. ...
3 votes
2 answers
137 views
XSIM : print solutions of exercises having a predefined tag?
I would like to print in a document all the solutions of the exercices having the tag dm, and after the others. How can I test this in the \printsoldm command defined below ? \documentclass{article} \...
1 vote
1 answer
82 views
Remove hyperref warnings when using commands in XSIM exercise heading
Following this answer, I add XSIM exercises to the table of contents with \newcommand\addsec[1]{% \section*{#1}% \addcontentsline{toc}{section}{#1}% } \xsimsetup{exercise/heading = {\addsec}} But ...
1 vote
1 answer
104 views
In XSIM, how to make solution/print work for custom exercise environments?
Can I make the global solution/print = true option work for other exercise types? I don't understand the dynamics between the solution/print option and \IfSolutionPrint<TF> in XSIM. It seems to ...
1 vote
0 answers
43 views
xsim : Wrong numbering of the solutions of sub responses
I try to manage the numbering of exercices and sub-exercices with xsim. It works well for the questions, but i can't have the same numbering in the solutions... Here is a simple code : \documentclass{...
2 votes
1 answer
79 views
minted nested in xsim
I want to have an environment with minted as below : \documentclass[a4paper,french,10pt]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{babel} \usepackage{minted} \...
2 votes
1 answer
56 views
Removing the text from \addpoints in xsim
I have the following output I would like to get rid of the extraneous "[x] points" (as the marks/points are given on the far right) MWE: \documentclass[12pt]{article} \usepackage{multicol, ...
1 vote
1 answer
117 views
Customize exercise and solution environment using xsim
I am trying to typeset a document with a section on exercises and solutions. Here is my MWE: \documentclass{article} \usepackage{xsim} \DeclareExerciseEnvironmentTemplate{item} {\item[\...
1 vote
0 answers
68 views
XSIM setting points property
I cannot figure out how to set points besides the classic points=... options of the exercise environment. Situation Some of my exercises have a points property because they are dedicated to be ...
0 votes
0 answers
86 views
issue with a large project using the Mathbook class and the XSIM package
I use the mathbook.cls class by Stéphane Pasquet to create a mathematics book. The book contains 400 pages, 12 chapters, with hundreds of exercises. However, I've encountered two major issues with ...
1 vote
1 answer
215 views
XSim: Have a set of exercises with individual solution, but under a sole "Exercise n"
I wish to give students long series of exercises (imagine 3 x 15 calculations to do). I want to keep each solution tied to each exercise, but using "exercise" and "solution" blocks ...
2 votes
1 answer
98 views
DeclareExerciseType/XSIMtransate doesn't appear like I expected?
This is my first time asking a question here because every question I've had over the past 20 years was already answered somewhere in here. So thank you all so much for that. I'm not ok with your ...