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
1answer
45 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
19 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{...
0
votes
0answers
45 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 ...
0
votes
0answers
24 views

xsim: How to handle with two or one column style in printsolutions?

What is the best way to set solutions in two-column-sytle by default, but some particular (extra-long) solutions in one column style? Is there a special method or have I to do it like in the ...
1
vote
1answer
53 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
865 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
85 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
50 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
62 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
29 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
34 views

Possibility of “variations of an exam” in xsim like in exsheets

I want to migrate from exsheets to xsim but I couldn't find any possibility of variations - like this answer. Is it any chance to do similar with less hacking?
0
votes
0answers
53 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
40 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
75 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
120 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
115 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/...
2
votes
3answers
240 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
39 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
89 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 : ...
2
votes
1answer
186 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
67 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
51 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 ...
1
vote
1answer
70 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
87 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
82 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
50 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 ...
2
votes
1answer
127 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
133 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
99 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
256 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
126 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 ...
1
vote
0answers
95 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
237 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 ...
5
votes
2answers
216 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
60 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
69 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
65 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}% \...
4
votes
1answer
264 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 ...
2
votes
1answer
356 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
212 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
69 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
1answer
111 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 ...
3
votes
1answer
364 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
238 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
144 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
109 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
256 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
160 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
273 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
113 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 (...