I would simply like to have the possibility to turn on and off some parts of a TeX file. For example, when writing a course assignment, it should be possible to hide the solutions to my students, but to show them to me after a new compilation. Hint: The comment
package does not work for me, since it does not understand German Umlaute like, e.g., Ä, Ö, Ü, etc. In general, this package seems to be a little bit out of date...
comment
package with utf-8 characters, by adopting the trick described by egreg in this answer: tex.stackexchange.com/a/159824/27635exam
class and its\printanswers
/\noprintanswers
commands. I believe theexsheets
package can also do this, though I'm less familiar.