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
2 votes
1 answer
610 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, ...
Gil Williams's user avatar
1 vote
1 answer
69 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 ...
garondal's user avatar
  • 445
0 votes
1 answer
57 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{...
Marca85's user avatar
  • 118
1 vote
1 answer
339 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 ...
Raphael G's user avatar
5 votes
1 answer
227 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} \...
Mamoun Mohammed's user avatar
2 votes
1 answer
101 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?
user77538's user avatar
2 votes
1 answer
133 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{...
Mamoun Mohammed's user avatar
2 votes
0 answers
114 views

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

What are the good exercise packages -from link- ? https://ctan.org/topic/exercise
Mamoun Mohammed's user avatar
2 votes
0 answers
139 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?
Mamoun Mohammed's user avatar
1 vote
0 answers
177 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 ...
Manuel Schmidt's user avatar
2 votes
1 answer
145 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 ...
WeCanLearnAnything's user avatar
2 votes
1 answer
78 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: ...
Wulle's user avatar
  • 1,042
0 votes
1 answer
205 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 ...
jowe_19's user avatar
  • 783
1 vote
1 answer
186 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 ...
WeCanLearnAnything's user avatar
1 vote
1 answer
305 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 @...
Nguyễn Xuân Duy Bảo's user avatar
1 vote
0 answers
73 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 ...
Piroooh's user avatar
  • 1,093
1 vote
2 answers
216 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 ...
N3buchadnezzar's user avatar
2 votes
1 answer
144 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/...
cis's user avatar
  • 7,185
4 votes
1 answer
448 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} ...
cis's user avatar
  • 7,185
2 votes
1 answer
211 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 ...
cis's user avatar
  • 7,185
1 vote
1 answer
92 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 ...
cis's user avatar
  • 7,185
1 vote
1 answer
617 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 ...
Piroooh's user avatar
  • 1,093
0 votes
1 answer
92 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{...
RL-S's user avatar
  • 229
1 vote
1 answer
479 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 ...
N3buchadnezzar's user avatar
1 vote
1 answer
165 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, ...
haver's user avatar
  • 333
4 votes
2 answers
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 ...
tatojo's user avatar
  • 1,311
2 votes
3 answers
409 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 ...
Nicolas Wu's user avatar
1 vote
0 answers
261 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 ...
jef123's user avatar
  • 23
1 vote
1 answer
170 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 ...
Gonneman's user avatar
1 vote
1 answer
117 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} % ...
Hafid Boukhoulda's user avatar
0 votes
0 answers
276 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 ...
NoviceMath's user avatar
1 vote
1 answer
149 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 ...
Thomas Benko's user avatar
2 votes
1 answer
416 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 ...
Al-Motasem Aldaoudeyeh's user avatar
2 votes
2 answers
334 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 ...
garondal's user avatar
  • 445
2 votes
1 answer
351 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/...
garondal's user avatar
  • 445
4 votes
3 answers
2k 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 \...
Piroooh's user avatar
  • 1,093
0 votes
1 answer
92 views

Exercises imported don't print when i call a collection

I undertook to build a database of my exercises and to store them, i wrote in subfolders. When needed, i called them with xsim package. At the moment, the classification acts as follows : And there ...
Piroooh's user avatar
  • 1,093
3 votes
1 answer
814 views

xsim-package: subexercises and points calculation

I want to setup exercises/questions for an exam. Some exercises will have subquestions. When there are no subquestions I can simply specify the "points" property and get that neat space in the right ...
RL-S's user avatar
  • 229
2 votes
1 answer
169 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 ...
alchemist's user avatar
  • 1,517
3 votes
1 answer
210 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} ...
Mike Ehrmantraut's user avatar
0 votes
0 answers
127 views

Slow typesetting due to xsim package - Any way to speed it up?

I really appreciate the xsim package and it's functionality. However, when including many questions, the typesetting slows down considerably (in my setup, up to 10 minutes for around 200 included ...
Manuel's user avatar
  • 311
3 votes
1 answer
414 views

Printing solution of mcq using xsim

How to print the solution of multiple choice question in the following example ? \documentclass{scrartcl} \usepackage[clear-aux]{xsim} \usepackage{enumitem,amssymb,fmtcount} \newlist{choices}{...
cosmicraga's user avatar
  • 2,600
1 vote
3 answers
353 views

True/False Question Answer with xsim

With reference to the following answer https://tex.stackexchange.com/questions/484753/true-false-type-questions-with-xsim-package/484760?noredirect=1#[True False question with xsim][1] How to print ...
cosmicraga's user avatar
  • 2,600
3 votes
1 answer
440 views

True/False type Questions with xsim package

How to make true/false type questions in 'xsim' package? In the manual of 'xsim', I could not find it. \documentclass[10pt,a4paper]{article} \usepackage[verbose,clear-aux]{xsim} \usepackage{xsimverb,...
cosmicraga's user avatar
  • 2,600
0 votes
0 answers
427 views

'xsim' with 'exam' class

I am getting error while using xsim package with exam class. For exaple: LaTeX error: "xparse/command-already-defined" Command '\points' already defined! For immediate help type H . } How to ...
cosmicraga's user avatar
  • 2,600
0 votes
1 answer
125 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-...
tatojo's user avatar
  • 1,311
1 vote
1 answer
563 views

xsim: LaTeX3 Error: File '' not found

Below is a minimalized template I have been using without any trouble for quite some time (Edit: Simplified the code and updated the error message). It no longer runs on my system. I do not know if it'...
PatrickT's user avatar
  • 2,798
4 votes
1 answer
321 views

Showing points and total points using exercise or any other suitable package

I want to prepare a book with many chapters (and sections), notes, exercises and linked solutions at the end of the book . I decided to adopt the example from on matching enumerated exercises with ...
Freeman's user avatar
  • 289
2 votes
1 answer
357 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{...
Yves C's user avatar
  • 21
7 votes
1 answer
982 views

How to do subexercises or exercise parts with the xsim package?

I quite often see, and myself create, exercises which consist of multiple subexercises or parts, like this: # Exercise 1 Two cars are traveling in opposite directions. They are 2.7km apart, driving ...
Jonas Camillus Jeppesen's user avatar