I would like to know which way is suited for defining a greek letter in text mode (e.g. delta). Is it:
\newcommand{\deltat} {\ensuremath{\delta}}
and you have to use \deltat
instead of \delta
or
\usepackage{letltxmacro}
\LetLtxMacro{\old}{\delta}
\renewcommand{\delta}{\ensuremath{\old}}
Best Answer
What about...
(to find the code, you use a plain δ in your input, and you have the nice error:
...letting TeX itself telling you the code).
If what you want is a text-like delta:
Clearly, you need a nice way to input it: I have a personal keymap that let me use AltGr to emit all the greek unicode letters...
Clearly, this is just for typing the odd Greek letter alone in math mode inside text. For even a bit more complex formulas, using
$...$
is better; and for typing Greek extensively, you should usebabel
and/or the unicode engines with an appropriate font. (Thanks to David for the tip).