Closed aquileia closed 4 months ago
The second commit introduces the Package option AdjustTheme
, which is passed through to beamerouterthemefau & beamerinnerthemefau. This allows a user to substitute some of the spacing values in the slide layout.
Usage example: There's two use cases I've encountered so far,
Instead of resorting to hacking the values in the package itself, the AdjustTheme
option provides a clean and visible way to do this:
\RequirePackage[institute=Tech, aspectratio=169,
AdjustTheme={TitleHeight=25mm, TitleTitleSkip=2mm, TitleSkip=2mm},
]{styles/beamerthemefau}
Implementation details:
The \adjustment
command is just there as a buffer to save the value of AdjustTheme. \edef & \noexpand are necessary for delayed parsing, so that the value isn't treated as a text.
I added a summary of the above description to the commit, and rebased the branch on FAU-AMMN:main so that merging won't create a merge commit. The actual code changes are untouched by this.
Ok thanks,
I was only reflecting, if it would have negative consequences, to basically allow redefining any command via this method and if one should, instead, explicitly expose these arguments. But I guess the solution you proposed is easier and more elegant than that and as far as I see it now, it would be up to the user to not break the package by redefining commands.
So thanks for the contribution.
Thank you very much, looks good!
I don't completely understand the
\adjustment
command. Other than that, I'm ready to accept the PR.