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
1
vote
0answers
24 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 ...
1
vote
1answer
21 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{...
1
vote
0answers
29 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 \...
4
votes
1answer
73 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 ...
0
votes
0answers
31 views

Alignment of tasks inside exercise

I have the following code: \documentclass[13pt]{scrartcl} \usepackage[no-files]{xsim} \usepackage{tasks} \DeclareExerciseEnvironmentTemplate{main-task}{ \par \textit{\GetExerciseName} \...
0
votes
0answers
25 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}. } ...
1
vote
2answers
54 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 ...
0
votes
0answers
89 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 ...
1
vote
1answer
64 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,%...
1
vote
1answer
17 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} \...
0
votes
1answer
44 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} ...
1
vote
1answer
42 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 ...
1
vote
1answer
95 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, ...
1
vote
1answer
31 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 ...
0
votes
1answer
25 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{...
1
vote
1answer
73 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 ...
3
votes
1answer
92 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} \...
2
votes
1answer
57 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?
2
votes
1answer
54 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{...
2
votes
0answers
51 views

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

What are the good exercise packages -from link- ? https://ctan.org/topic/exercise
2
votes
0answers
80 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?
0
votes
0answers
21 views

Prevent xsim from breaking questions

How can I avoid that an exercise is distributed to two pages as in the following MWE? \documentclass{article} \usepackage{xsim,lipsum} \begin{document} \begin{exercise} \lipsum[1-3] \...
0
votes
0answers
71 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 ...
2
votes
1answer
73 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 ...
0
votes
0answers
32 views

How to print only odd-numbered solutions with xsim?

I am using xsim package. I want to have a section at the end of each chapter with the solutions of only odd-numbered questions.
2
votes
1answer
49 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: ...
0
votes
1answer
101 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 ...
1
vote
1answer
104 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 ...
1
vote
1answer
89 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 @...
0
votes
0answers
35 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 ...
1
vote
1answer
130 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 ...
2
votes
1answer
88 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/...
3
votes
1answer
168 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} ...
2
votes
1answer
88 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 ...
1
vote
1answer
60 views

xsim: Vertical shifts by using customized points

I changed inside \DeclareExerciseEnvironmentTemplate{custom}{...} \IfInsideSolutionF{\rule{1.2cm}{1pt}\slash}% to \IfInsideSolutionF{\noindent\usekomafont{sectioning}\color{pointscolor}} and I ...
1
vote
1answer
295 views

Adding a complete solution to xsim exercise

I've just read this post linked in the xsim_manual on p.71 example 35 and i've some troubles to adapt it to my goal. I want to add an environment resolution for each exercises of my database. This ...
0
votes
1answer
53 views

xsim: clear-aux option causes error

Since today, I got an error when trying to compile a document with the xsim package and its clear-aux option. MWE: \documentclass{article} \usepackage{xsim} \xsimsetup{ clear-aux } \begin{...
1
vote
1answer
275 views

Properly defining problems and subproblems using the xsim package

I am trying to use the xsim package to sort and order the previously given exams in a course (MAT-1001). For this to be viable I need the following equirements I should be able to request exam ...
1
vote
1answer
116 views

Collection of tasks, xsim, et al.: How to controll layout of printsolutions best way

I read Math book: how to write Exercise and Answers and ask myself: What is the best way to get a layout like this using xsim. MWE: \documentclass[ngerman,paper=A5]{scrreprt} \usepackage{amsmath, ...
4
votes
2answers
1k views

filehook error with memoir after update texlive 2019 in Oct 15

After the new LaTeX2e <2019-10-01> version, I got this error: ! Package filehook Error: Detected 'scrlfile' package with unknown definition o f \InputIfFileExists. It seems related with ...
2
votes
3answers
196 views

Space after exercise

The following example is of an exercise followed by a paragraph: \documentclass{article} \usepackage{xsim} \begin{document} \begin{exercise} This is some text for an exercise. \end{exercise} And now ...
0
votes
0answers
131 views

Xsim package: Same space if solutions are printed or not

I want the to leave the same space if solutions are printed or not. This MWE is good if there is an excercise without subquestions This MWE is bad if there is an excercise with subquestions I tried ...
1
vote
1answer
112 views

Replicaing some exsheets features in xsim

My exsheets templates no longer compile after a recent LaTeX update and so I thought that rather than downgrading TeX, it might be better just upgrade my templates. Unfortunately, I'm struggling to ...
0
votes
1answer
64 views

A comment after the xsim solution environment is being printed

If I add a comment after the solution environment of the xsim package the comment is printed before the solution. \documentclass[]{article} \usepackage{xsim} \begin{document} \begin{exercise} % ...
0
votes
0answers
144 views

Using xsim for creating tex files for Question Banks

I have been able to use xsim to extract easy, medium and difficult questions from a tagged Question Bank. However, I am not able to get the tex file with the list of all easy questions, all medium ...
1
vote
1answer
73 views

Misplaced \PropertyValue with xsim package using own exercise definition

I had to create a new definition for exercise with xsim package, because the hungarian heading text is reversed for the original. I did it as the manual shown, with only the necessary changes. Now the ...
1
vote
1answer
227 views

Customizing points in `xsim`

The points in exercise environment seem to align right under the line of the exercise name and label as shown here How do I left it upwards as follows This alignment is the typical behavior of ...
2
votes
2answers
253 views

Questions: Migrating from exsheets to xsim (2)

I am currently trying to migrate from exsheets to xsim and have some problems. Since exsheets won't be supported, I am trying to migrate to xsim but I have some problems: How can I insert the ...
2
votes
1answer
242 views

From exsheets to xsim: runin

I try to convert from exsheets to xsim but I fail to implement runin. I just copied the runin-template from the manual (http://ftp.math.purdue.edu/mirrors/ctan.org/macros/latex/contrib/xsim/doc/...
4
votes
3answers
742 views

Expand command in an argument before the main command

Related to my problem for xsim here. I want to use commands \ExOption and \ExPart to implement more easily my collection in xsim package. But i'm facing the problem that my commands do not expand in \...