-
Notifications
You must be signed in to change notification settings - Fork 15
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
Cannot set leftmargin
via \SetTemplateKeys{block}{display}
#755
Comments
The block still calls the legacy commands, in this case |
@u-fischer I see, thanks. I understand these interfaces are a work in progress. So is there any way to change the settings besides either passing the key directly to |
I think we have conflicting goals here. I think that the block implementation has to make use of the legacy list environments because they are all over the place in existing document classes and as long as those aren't updated (and many will not) this means that either we keep it (which allows for tagging even of those classes) or drop it (which means we rule out those as being usable going forward) without a full replacement of their code. So my tendency is to just document this as a restriction. |
@FrankMittelbach I'm a little confused. Isn't the point of separating the |
@mbertucci47 yes the idea is to separate both and for new classes that do not also implement Some of that behavior might eventually be controlled with something like |
I am trying to implement margin setting for keytheorems with tagging enabled and ran into trouble overriding the
block
settings locally with\SetTemplateKeys
. The following MWE shows the issue:If
leftmargin
orrightmargin
is set in the optional argument ofenumerate
then it works as expected. The same is true forrightmargin
if set with\SetTemplateKeys{block}{display}
. Butleftmargin
set in\SetTemplateKeys
has no effect. It doesn't matter if this is executed in the preamble or right before the environment.Am I trying to use this the wrong way? Or is this a bug in the block code? Even in the first case, it's odd that
rightmargin
does something whileleftmargin
does not.The text was updated successfully, but these errors were encountered: