OpenSource For You

Creating custom commands

-

If you issue the same set of commands over and over again or decide to get creative with your LaTeu skills, then you hDYH WhH oSWLon oI GHfinLng yoXU own FXsWoP FoPPDnGs. The simplest kind is akin to macro expansion. For instance, we have been using the word LaTeu quite often in this DUWLFlH. YoX FoXlG GHfinH LW Ds Iollows Ln WhH SUHDPblH oI your .tex filH \nHwFoPPDnG {\lWx}{{\/DTH;}}. EYHUy WLPH you issue the command \ltx it would get expanded to what we have mapped it to. You can use the \renew command to overwrite existing commands; use this with caution and only after you have seen some usage examples.

A PoUH XsHIXl FoPPDnG PLghW bH WhH onH Wo LnFlXGH figXUHs. /HW’s GHfinH D FoPPDnG wLWh IoXU DUgXPHnWs Ds Iollows:

Newspapers in English

Newspapers from India