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
\expandafter\newcommand\csname #2\endcsname{\color{#1}...}etc. – Mar 30 '17 at 14:15ask a questionfield. – Thorbjørn E. K. Christensen Mar 30 '17 at 14:30