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 [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.

2
votes
2answers
51 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 \...
0
votes
1answer
17 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 ...
0
votes
0answers
24 views

xsim - \printcollection for a certain tag

I'm sorting all of my exercises of this year by using xsim to make a database of exercises. At this moment, i've many questions about xsim but a topic a question so let's go for my first question : ...
1
vote
1answer
37 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 ...
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
0answers
59 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 ...
0
votes
0answers
38 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}{...
0
votes
1answer
30 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 ...
1
vote
1answer
51 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,...
0
votes
0answers
49 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 ...
0
votes
1answer
60 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-...
1
vote
1answer
173 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'...
4
votes
1answer
85 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 ...
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{...
4
votes
0answers
104 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 ...
4
votes
2answers
144 views

Custom label for references using tasks inside a xsim exercise

In order to create an assignment sheet, I am using the xsim package and to create subquestions within a question, I use the package tasks. The problem comes while referring to the subquestions. ...
2
votes
2answers
49 views

Get the value of \TotalExerciseGoal

I am trying to print the total points of my exercises using the "\num"-command of siunitx, in order to have a comma separted format. I am getting an invalid-token error when trying \num{\...
0
votes
1answer
41 views

Size of linewidth with xsim and geometry packages

I'm trying to make a bunch of lines for an exercise list using the blank command from the xsim package. However, when I use the geometry package to change the size of the page, I get the following ...
1
vote
1answer
47 views

Odd vertical spacing with xsim

I'm trying to write the following document with xsim, using some customized templates based on the predefined ones: \documentclass{scrartcl}% \usepackage{lipsum} \usepackage{xsim,mdframed}% \...
3
votes
1answer
166 views

xsim slow with external files

I'm using the package xsim for writing exercises. The exercises are stored in external files and when I use several files, the latex compilation is slow. It is at least 3-4 minutes. The exercises ...
0
votes
0answers
173 views

Creating a multi-labeled question bank with xsim/exam

I want to make a question bank on functional equations problems (in mathematical olympiads) using xsim or exam (or any other) packages. The number of the questions is huge (around 3000) and I have ...
2
votes
1answer
123 views

xsim: question/solution throws 'environment already defined'

In xsim I would like to combine a question environment with a solution environment. I am getting an error: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! LaTeX error: "xparse/environment-...
0
votes
0answers
55 views

Inverse search in xsim with Texstudio

I can't get xsim to get along with TexStudio's inverse search (Ctrl left-clicking in the live preview brings up the corresponding source code). The problem is that when I left-click in a given ...
1
vote
0answers
64 views

Confine each exercise/question to one page using xsim

I can do the following: \begin{samepage} \begin{exercise} Long text question or maybe a table and some stuff etc. \end{exercise} \end{samepage} But I would prefer to have this automated (since I ...
2
votes
1answer
255 views

xsim: problems with multiple questions

With xsim, how to type a problem with several parts (questions) in such a way that a number of points is assigned to each part and the total number of points for the whole problem is calculated ...
1
vote
0answers
146 views

How to print solution with ID in xsim?

I have recently adopted xsim (the successor of exsheets, author Cle­mens Nieder­berger) and had the following question: How can I select SOLUTIONS by ID? I wanted to be able to choose where to print ...
1
vote
1answer
102 views

avoid printing points in xsim

I'm trying to migrate from exsheets to xsim, and I was wondering if there is an easy way to tell xsim not to print the points of the exercises (I'm thinking about a parameter added within xsimsetup). ...
2
votes
1answer
83 views

Adjusting margins for points in margin with xsim

With xsim, how can you adjust the space between the exercise and the number of points, using the default style? If I change the horizontal margins manually for my document (using geometry), then the ...
4
votes
1answer
169 views

xsim and “conditional” printing

I'd like to know if the following is possible with the xsim package: Could the space created by commands like \blank[width=4.8\linewidth,linespread=1.5]{} (as given in the manual) not be printed if ...
5
votes
1answer
144 views

Automatic blackening out answers based on a single comment

I am designing question papers comprising of multiple choice questions. The answers are to be marked by blackening the appropriate answers (more than one may be correct) in an answer sheet. In my ...
2
votes
1answer
216 views

Splitting up gradetables in xsim

I am using the great xsim-package to create a new exam-template at work. So far, I have the following setting: I created two exercise-types, one for the first part of the exam (question) and one for ...
0
votes
1answer
88 views

Hyphenation and strange line breaks with xsim \blanks

I have a problem with the line breaks using \blank from the xsim package. As shown in the following picture the line breaks, even if there would be way enough space to finish it at both questions (...
3
votes
2answers
130 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'...
1
vote
1answer
141 views

extra solution for \blank in xsim necessary?

I was wondering if/why it is necessary to have the extra solution for the \blank exercises, as the question already contains all the informations. One reason for the question is, that it is extra ...
2
votes
1answer
237 views

more complex use of tags in xsim

I would like to use the tag level (1,2,3) in xsim, but not only in exclusive manner, but as multiple tags, so that an exercise can have the tag level 1 and 2. So that, collecting later all level 2 ...
1
vote
1answer
50 views

Is there a command for separated lines for each word in a \blank in xsim?

I want to print a cloze with xsim, but instead of one complete line for the gap I want a line that indicates how many words there have to be. Of course it's doable by giving each word an extra blank, ...
5
votes
1answer
421 views

How can I print exercise with ID in xsim?

I have some exercises with ID. \documentclass{report} \usepackage[paperwidth=17cm, paperheight=24cm, left=2cm,right=2cm,top=2cm,bottom=2cm]{geometry} \usepackage{fouriernc} \usepackage{xsim,pgffor} \...
4
votes
1answer
416 views

xsim access exercises text

While experimenting with xsim I found that a basic functionality for me is missing: printing solutions which repeat the exercise's text (btw: styled with tcolorbox). I could emulate a similar behavior ...
1
vote
1answer
115 views

Pass a macro as parameter to package xsim

I am trying to write a document using the xsim package. It is divided into chapters and each contains its own exercises and its solutions, at the end of each. At present, the structure of each ...
2
votes
2answers
169 views

Unwanted vertical space with enumitem list in xsim exercise environment

I am using the xsim package to create exercise sets. Some exercises begin immediately with parts (a), (b) etc and no introductory text. I've used other answers from here to set up an enumitem list ...
2
votes
1answer
396 views

Change enumeration style in exercises using xsim

Forgive me if this has already been asked, but I couldn't find this question, exactly. I'm using the xsim package (documentclass book) and I'd like my "top"-level enumeration to be labeled with ...