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.

0
votes
0answers
20 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
24 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
35 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
31 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
41 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
155 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
56 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
39 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{...
3
votes
0answers
77 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
132 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
46 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
39 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
43 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}% \...
1
vote
1answer
131 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
149 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
112 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
54 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
62 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
239 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
130 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
97 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
80 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
151 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
138 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
202 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
85 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
125 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
137 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
220 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
47 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
382 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
399 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
110 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
156 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
390 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 ...