From: Martin Mares Date: Tue, 5 Jun 2018 16:48:46 +0000 (+0200) Subject: \addto generalized and became \prependef and \appendef X-Git-Tag: v1.99~1^2~35 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=bf4e57ecbf3093b09dd6b0b5733235e5539c15b2;p=ucwmac.git \addto generalized and became \prependef and \appendef --- diff --git a/ucwmac.tex b/ucwmac.tex index db94954..6983e6e 100644 --- a/ucwmac.tex +++ b/ucwmac.tex @@ -24,8 +24,9 @@ %%% Auxiliary macros %%% -% Append #2 to the definition of #1 -\long\def\addto#1#2{\expandafter\def\expandafter#1\expandafter{#1#2}} +% Prepend/append #2 to the definition of #1 +\long\def\prependef#1#2{\expandafter\def\expandafter#1\expandafter{#2#1}} +\long\def\appendef#1#2{\expandafter\def\expandafter#1\expandafter{#1#2}} %%% Page size and margins %%%