Skip to content

Expandable styled commands

Compare
Choose a tag to compare
@Loara Loara released this 13 Dec 11:36
· 3 commits to main since this release
  • You're now able to define expandable styled commands with \newstyledcmdExp command. Since expandable commands should not have optional arguments in order to use the default style you must use an empty string inside the style argument:

    \newstyledcmdExp{\expCMD}{sty1}{Style 1}
    \newstyledcmdExp{\expCMD}{sty2}{Style 2}
    
    \expCMD{}          % uses default style (sty1)
    \expCMD{sty1}      % uses style sty1
    \expCMD{sty2}      % uses style sty2
    
  • Groups entirely redesigned, legacy commands are still available but deprecated. See documentation for the new syntax for groups.