1

Is it possible to make a command that create commands??

Something like:

\newcommand{apprentice}[4][forestgreen]{ %
\newcommand{#2}{ \color{#1} Lærling #3}%
 \newcommand{a#2}{\color{#1} #4}%
}

that creates 2 new commands \#2 and \a#2 defined as shown above.

this would just be faster than doing the above 8+ times

TeXnician
  • 33,589

0 Answers0