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). I used to do this in exsheets with something along the lines of

\ifdefined\exam 5 \else 0 \fi

but this is not working anymore.

Also, I can't find something analogous to

type = exam

in order to get "Question" rather than "Exercise" (yes, I minor thing but anyway...). Is that gone?


  • Welcome to TeX.SX!
    – Bobyandbob
    Feb 17 '18 at 15:59
  • Which template (in the xsim sense) do you use for exercises? Did you try defining your own template without printing points?
    – TeXnician
    Feb 17 '18 at 17:11
  • No, I didn't...I'm new to xsim and I was an un-advanced user of exsheets where I didn't need this. I'll take a look.
    – manu
    Feb 18 '18 at 19:42
  • If you do not want points at all, replace \begin{question}[ID=001, points=10] with \begin{question}[ID=001]. If you set a template, something like \GetExercisePropertyT{points}{} might work (untested).
    – PatrickT
    Feb 27 '18 at 9:45

Thanks PatrickT, that did the trick!!

For future reference, in the preamble I added

    solution/print = true,
    exercise/template = nopoints,
    solution/template = nopoints
        { {\normalfont\itshape\PropertyValue}}%

(the template is simply the default template with the change suggested by PatrickT).


  • 1
    Leaving \GetExercisePropertyT{points}{} away completely would be even easier
    – cgnieder
    Feb 28 '18 at 16:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.