mtheme icon indicating copy to clipboard operation
mtheme copied to clipboard

pass options to block environment

Open gennaro-tedesco opened this issue 4 years ago • 0 comments

I would like to add padding space between the block title text and its margins; likewise for the left/right boundaries and the text therein.

I have looked into the source code and it seems that one way to do so would be to redefine the original lengths as appearing in the \metropolis@block macro; however, I would like to avoid modifying the global package code for something I may need only somewhere and not everywhere. Is there a more practical way to do so, namely to just re-define the padding by passing it as option to the block? Something along the lines of:

\begin{block}[padding=<length>]{block title}
    ...
\end{block}

gennaro-tedesco avatar Apr 14 '20 15:04 gennaro-tedesco