From bf4e57ecbf3093b09dd6b0b5733235e5539c15b2 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Tue, 5 Jun 2018 18:48:46 +0200 Subject: [PATCH] \addto generalized and became \prependef and \appendef --- ucwmac.tex | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 %%% -- 2.39.2