I currently use latex newcommand
to store (and format) "variables", like so:
\newcommand{\someVariable}{\emph{value}}
I do this for key words that I want to be formatted a certain way every time they appear, by typing \someVariable{}
Is there a way to remove the formatting from \someVariable{}
for certain times that I do NOT want any special formatting, something like \removeFormatting{\someVariable{}}
.
Of course I could just manually type the text value
, but I prefer to keep it in a command so that I can change all occurrences of it easily.