-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Formatting of solution environment #351
Comments
The solution environment so far only adds the contents after a header. The header layout can me modified by redefinition. This behavior can be changed ofc. How about if we add a Then you could add contents before/after the environment without affecting the switch mechanism. |
I just made a rough draft, so if you insert the followiung into your preamble
You can afterwards redefine the
This does not affect the headers, because otherwise this feature would conflict the difference of |
Thanks for the quick and thorough reply! |
Oh, if you don't switch the solution boolean later it won't be adjusted. I added |
That solves the change not being applied but it also results in an error:
Is there a reason why I shouldn't just use the
|
The I messed something up with copying the example the following would probably do what you want to without changepage because it's not necessary to load an additional package:
|
It It's not working please give me a minimal working example or send me the file via email and I will have a look, then something else is weird (marei@peitex.de) |
I've set up a somewhat small example and invited you. |
Alright, had a quick view you load some conflicting packages I will have a closer look during the afternoon it seems like it's a conflict not directly a TUDa-CI bug. |
Additionally it's indeed a bit weird I will have to dig a bit deeper into it.
or
I will send you an email with some general remarks concerning the package configuration. I will change the internal definition to an own environment so redefinition will be possible, this will make the change with |
Shame on me. I forgot about the generic hooks. We don't need the internal environment at all, one could simply use
documentation of this can be found in It requires a current TeX Live installation but simplifies this by a lot. I will try to find some time to write a bit more about this for the wiki. |
Is there an option to format how the solution environment looks?
E.g. a runin style like for the subtasks or an indentation of the solution block to differentiate it more clearly from the task descriptions.
The text was updated successfully, but these errors were encountered: