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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
16 views

xsim file suffixes [duplicate]

The behavior of the example below is very odd. Every file name suffix I've tried works -- except for .js! I've tested this on Windows, but not Linux. The behavior is the same whether run under ...
user avatar
0 votes
0 answers
107 views

How may I create a Multiple correct answerS' exercice using xsim

I would like to adapt the MWE below to accept and display MULTIPLE correct answers exercices using xsim. %Code to adapt from @cgnieder: \documentclass{book} \usepackage[no-files]{xsim} \usepackage{...
user avatar
  • 1
0 votes
0 answers
32 views

XSIM package and custom grade table

How do I go about using the xsim package to display a custom gradetable in tags rather than exercises/questions. So far I have (my MWE) \documentclass{article} \usepackage{xsim,tasks,siunitx} \...
user avatar
0 votes
1 answer
51 views

Custom enumeration of a list of exercises

I'd like to typeset a set of exercises from a book, from different chapters and sections, and give the solutions. I'm aware of packages like xsim or exercise, but I have not found a way to change ...
user avatar
1 vote
1 answer
26 views

Ignore empty line in runin template of exercise/solution environment with xsim package

How can I modify the runin template of the exercise/solution environment of xsim package to ignore an empty line at the beginning of the environment in the source code? Thanks \documentclass{article} \...
user avatar
  • 118
1 vote
0 answers
47 views

How to hide a solution in xsim for the student book and display all solutions for the teacher book

In my books there are two types of exercises. The first type has public solutions, those solutions should appear in the student's book and teacher's book. The second type has solutions that should ...
user avatar
1 vote
1 answer
28 views

LaTeX xsim: printing only even/odd number answer

I am writing exercises sheets for my student and I want to print only solutions to odd (or even) numbered exercises using LaTeX xsim. I have searched on Google and looked in the xsim manual, but ...
user avatar
1 vote
1 answer
51 views

Xsim shortsolution appear after each exercise

I am trying to have a document with some exercise and solution. I know there is many packages to do that, and I chose xsim because it fits to many of my criteria. Now, I would like to had a short ...
user avatar
  • 860
1 vote
1 answer
39 views

xsim multiple choice repeating letter that is designated as \correct

Why is the (C) popping up instead of (D). (D) should be the right solution. Code copy/pasted from xsim manual. \NewTasksEnvironment[label=(\Alph*),label-width=15pt]{choices}[\choice] \newcommand*\...
user avatar
  • 11
1 vote
2 answers
52 views

xsim collections: how to filter on multiple tags?

My goal is to have mandatory exercises sorted by subject and then optional exercises sorted by subjection using this MWE: \documentclass{report} \usepackage{xsim} \DeclareExerciseTagging{subject} \...
user avatar
0 votes
1 answer
85 views

xsim solution environment within exercise environment vs outside exercise environment

For previous versions of xsim, it was possible to have the solution environment within the exercise environment and the global command \xsimsetup{solution/print = true} would print the solutions right ...
user avatar
  • 301
4 votes
3 answers
243 views

Creating a solution label for an exercise using \declaretheoremstyle

I am writing a book with exercises scattered throughout the text, for which solutions are presented at the end of each chapter. I want the layout to be as follows: An exercise environment is ...
user avatar
  • 298
1 vote
1 answer
56 views

In the LaTeX package XSIM, how do I get points in parentheses right after the question?

MWE: \documentclass{article} \usepackage[verbose]{xsim} \begin{document} \begin{exercise}[points = 4] Solve the equation \[ 3(x-2) + 7 = x + 3 \] \end{exercise} \end{document} The output: I ...
user avatar
0 votes
0 answers
53 views

How to make sections in Answer key table in Automultiplechoice?

How do i make sections in answer key table in AMC. For example the exam, may contain section such as physics, chemistry and maths and supposedly 10 questions in each. the sections may also have any ...
user avatar
  • 49
0 votes
1 answer
111 views

Need help creating an exercise/solution template

I am trying a create a simple and minimal layout for a collection of problems my department uses for a high school mathematics contest. I would like the exercises to simply be numbered consecutively, ...
user avatar
0 votes
1 answer
86 views

XSIM: Question counter does not print

The following template worked with xsim v.0.19, but no longer works with v.0.20. The problem seems to be that \GetExerciseProperty{counter} is unable to retrieve the counter. Package info: Package: ...
user avatar
  • 2,654
1 vote
1 answer
108 views

answer space in xsim

I am trying to use xsim to design a workbook for students, with a second version available for tutors. Therein will be exercises/questions/homework, however you want to call it, and their respective ...
user avatar
  • 187
1 vote
1 answer
59 views

How do I create a solution manual for a textbook which uses xsim (v0.20) for its exercises?

I am writing a textbook using LaTeX. Within the textbook I am using the xsim package to create the exercises and their solutions. I would like the printed textbook to contain the exercises only and I ...
user avatar
0 votes
0 answers
63 views

Issue with exercice titles with XSIM

If I create a first exercise using the XSIM package, with a certain subtitle, everything typesets correctly. However, when the body of the exercise is changed for an other one which does not have a ...
user avatar
  • 693
2 votes
1 answer
100 views

Instructions between Exercises in XSIM Exercise Collection

I am writing a book and I want the book to have Exercises at the end of each chapter and Solutions at the end. I'm using "xsim" to typeset the Exercises and Solutions. I've started my MWE ...
user avatar
1 vote
1 answer
43 views

Conditional header's content depending on xsim solutions being printed or not

Is there a way to set the header contents depend on whether the solutions are printed or not ? \documentclass[headsepline]{scrartcl} \usepackage{xsim} \usepackage{scrlayer-scrpage} \cohead{...
user avatar
1 vote
0 answers
67 views

Numbering with greek numeral of exercises with xsim package

I would like make xsim numbering my exercises with greek numerals. For example instead of Θέμα 1 Θέμα 2 ... i would like Θέμα Α Θέμα Β ... etc How can i modify or set the counter? I have tried \...
user avatar
4 votes
1 answer
143 views

Exercise order in grading tables using xsim and collections

I'm trying to build exam sheets with xsim using collections where exercises doesn't show up in the id order. The exercises print in the specified order (= counter order) in the exam itself but in the ...
user avatar
0 votes
0 answers
46 views

How to set normal vertical alignment using xsim and tasks packages?

MWE \documentclass[13pt]{scrartcl} \usepackage[no-files]{xsim} \usepackage{tasks} \DeclareExerciseEnvironmentTemplate{main-task}{ \par \textit{\GetExerciseName} \GetExerciseProperty{counter}. } ...
user avatar
  • 345
1 vote
2 answers
100 views

Add xsim exercises in table of contents

I wanted to know if it was possible to insert the list of exercises in the table of contents via \tableofcontent. For each of my exercises, I use a template like this: \begin{exercise}[subtitle=title ...
user avatar
1 vote
0 answers
191 views

Faster Compilation for a large latex book

I am working on an application where the user learns a topic by interacting with a chatbot. After the completion of the course, the user can generate a personalized notebook using their interaction ...
user avatar
2 votes
1 answer
214 views

xsim number chapterwise in own exercise environment

My code is: \documentclass{scrbook} \usepackage[utf8]{inputenc} %Rahmenumgebung \usepackage{tcolorbox} \usepackage[ngerman]{babel} \tcbuselibrary{skins,breakable,xparse} \usepackage[% blank,%...
user avatar
1 vote
1 answer
94 views

xsim changes case in `solution-name`

Consider the following example code for xsim (in German): \documentclass{article} \usepackage[ngerman]{babel} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{xsim} \...
user avatar
  • 27.8k
0 votes
1 answer
71 views

Multiple hint environments with xsim

I want to use the xsim package to write exercises with may contain multiple hints (short and long version) and maybe also solutions. I.e. something like this: \documentclass{article} \usepackage{xsim} ...
user avatar
  • 27.8k
1 vote
1 answer
134 views

xsim: Can't get custom exercise types to use custom numbering

Using xsim, I have defined two custom exercise types, meditation and thoughtexperiment. They seem to work right, except for custom numbering. I'm trying to get meditation to appear as Meditation ...
user avatar
1 vote
1 answer
365 views

How to print questions and exercises in-place with xsim?

I'm working on a textbook, and I'm trying to use xsim for questions/exercises and their answers. What I want to do is simple: Place small question/exercise items throughout each chapter, ...
user avatar
1 vote
1 answer
56 views

Height with xsim's blank-command

Currently I'm working with the package xsim and I want to use the blank-command for a gapped text. When my gap text is several lines long the space between the lines is too narrow to write. Therefore ...
user avatar
  • 445
0 votes
1 answer
47 views

List in shortsolution with xsim package

I am facing a compilation error while trying to use list environment (itemize, enumerate, etc) in shortsolution environment from the xsim package. Here is a MWE. \documentclass{scrartcl} \usepackage{...
user avatar
  • 118
1 vote
1 answer
203 views

Package xsim - print a list of exercises by Tag

I want to have a file with exercises and at the end of the file, I want to print the exercises sorted by level (a tag i created with xsim). Below what do not work, for obvious reason, \printcollection ...
user avatar
5 votes
1 answer
164 views

Could I do a different automatic exam copies -one for each student-?

If I wrote an exam of ten Multiple choice questions, and I have 20 student. so Could I do a different automatic -by jumble the questions- exam copies -one for each student-? \documentclass{exam} \...
user avatar
2 votes
1 answer
82 views

Is the Exsheet package still under development?

I prefer use Exsheet.I know Exsheet been replaced by a XSIM package, but is the Exsheet package still under development?
user avatar
2 votes
1 answer
79 views

How could I change the points design?

IN xsim package, I want to get any new style for points -or remove the dash at least-. \documentclass{article} \usepackage{xsim} \begin{document} \begin{exercise}[points=4] \end{exercise} \begin{...
user avatar
2 votes
0 answers
72 views

What are the good exercise packages -from link-? [closed]

What are the good exercise packages -from link- ? https://ctan.org/topic/exercise
user avatar
2 votes
0 answers
110 views

what is the difference between exsol and xsim package? [closed]

what is the difference between exsol and xsim package? And which is the closest one to exam document class?
user avatar
0 votes
0 answers
121 views

What are the differences between the exam and xsim classes?

I am currently preparing exercises and wonder which class xsim or exam is best suited for the task. They seem to fulfill the same purpose, but I get the impression xsim comes with more support for ...
user avatar
2 votes
1 answer
111 views

xsim, counters, and TikZ

In my previous post, I asked how to save random numbers for the xsim package. Now I would like to know how to do that when those random numbers are inserted into a TikZ picture. What about my counter ...
user avatar
2 votes
1 answer
70 views

Missing item error with xsim and TeXLive 2020

I recently updated from TeXLive 2019 to TeXLive 2020. After upgrading the code from this link (only slightly modified) didn't work anymore. It terminates with the following error: LaTeX Error: ...
user avatar
  • 977
0 votes
1 answer
147 views

XSIM and crossrefs

I looked at the template xsim_crossref.tex (in the XSIM documentation) to create hyperlinks between statements and solutions. It works fine but now I would like to hide the empty references (exercises ...
user avatar
  • 693
1 vote
1 answer
147 views

Saving Random Numbers in xsim for Solutions

I'm trying to create exercise sheets with random numbers and xsim. Each time I generate random numbers, though, the variables are overwritten to create new exercises (desired), but also overwritten so ...
user avatar
1 vote
1 answer
200 views

Shuffle questions in xsim

As said in the title, I want to shuffle questions while using xsim and tasks packages. Here is the code I took from multiple choice questions with correct choice environment which is written by @...
user avatar
1 vote
0 answers
58 views

Automatically add exercise to the corresponding collection [duplicate]

I'm using xsim package to manage exercises in my lessons but I can't find a good way to select exercises by using tags. In particular, when i write the following code (example1), each exercise ...
user avatar
  • 989
1 vote
2 answers
176 views

xsim's copious amount of aux files and compilation time

This can be seen as a follow up to this question: Properly defining problems and subproblems using the xsim package I have not yet accepted this question, as I am still trying to update my tex ...
user avatar
2 votes
1 answer
121 views

xsim: How to calculate points of the sections

Is there a simple way to calculate the points a section includes? \documentclass{scrartcl} \usepackage[no-files]{xsim} \xsimsetup{ exercise/the-counter = \thesection.\arabic{exercise}, exercise/...
user avatar
  • 6,217
4 votes
1 answer
302 views

xsim: What is the correct way to count exercises per section?

What is the correct way to count exercises per section like I got it with % Count exercises per section ===== \let\oldsection\section \renewcommand{\section}{% \setcounter{exercise}{0}% \oldsection} ...
user avatar
  • 6,217
2 votes
1 answer
142 views

xsim: Headline of \printsolution when exercise/name has been changed

I want the word "Question" (or the german word "Aufgabe") instead of "Exercise", so I set \xsimsetup{ exercise/name=\XSIMtranslate{question}, } But \printsolutions gives me still "Solutions to the ...
user avatar
  • 6,217