Dienstag, 24. Juni 2014

Redefine existing command in Latex

First you have to save your old existing \command to use it in the new redefined command via:
 \let\OLDcommand\command

Then you can redefine the exisiting command \command and use the old \OLDcommand:
 \renewcommand{\command}{this was \OLDcommand}

Keine Kommentare:

Kommentar veröffentlichen