Closed noctux closed 5 years ago
This is because the inside of an exercise is written to an external file. The reading mechanism cannot cope with stuff that is on the same line as \begin{exercise}
. I am afraid I can't change this behaviour
This is actually mentioned in the manual but I will emphasize it in the next release!
Thank you for the explanation and for looking into it!
Hello, thank you for the package!
I'm currently porting our exercises from exsheets to xsim, and noticed a strange behaviour. Up to now, we used the following structure for crossreferencing:
However, with xsim, the label is not correctly set afterwards. However, it works when the
\label
command is placed on a new line. The problem seems to be that any content that is on the same line as the start of the environment is acutally emitted before the environment is started.MWE:
Output:
Thank your for your effort!