Most of the bloated preambles I see have dozens of lines like
\newcommand{\Acal}{\mathcal{A}}
\newcommand{\Bcal}{\mathcal{B}}
%...
\newcommand{\Gcal}{\mathcal{G}}
While I can easily code a macro to loop over a list and define the corresponding control sequences, it is not pretty. For instance,
\def\letterdef#1#2#3{\def\letterdef@##1{\expandafter\def\csname #1\endcsname{#2}}%
\letterdef@@#3{?\@car{}}\@nil}
\def\letterdef@@#1{\@gobble#1\letterdef@{#1}\letterdef@@}
Used as \letterdef{#1cal}{\mathcal{#1}}{ABCDEFG}. Putting that in a preamble makes it look ugly. Is there already a package providing that kind of functionality?