Is it possible to use math commands in text without using $..$ or \(..\) as for example:
... testing \alpha more text
|
Is it possible to use math commands in text without using
|
|||||
|
|
While it's possible to coax LaTeX into allowing
or similar input, this opens the door to
or, even worse, to
which would give something we are, regrettably, used to see in poorly typeset documents. Getting trained into writing
will help the typist to keep math properly segregated, so that TeX will be able to apply its special math processing. AddedIf all you need is to type Greek words, as opposed to math symbols, the road is different: put
in your preamble. If you already use babel, add the
will typeset the Greek lowercase alphabet. The "tonos" can be input as a prefix apostrophe:
will print Αγία Σοφία (Κωνσταντινούπολη) There's also support for polytonic Greek. |
||||
|
|
|
You will need first to store the original commands using
and then redefine the command, here is a minimal:
The |
|||||||
|
|
All answers have mentioned using the alpha from the math font. If you are looking for typesetting a Greek word then you should use alpha from a text font. I don't know about LaTeX, but in ConTeXt there are two ways to use Greek letters from the text fonts. For both cases, you need to use a text font that has Greek letters (TeX Gyre Fonts have that, LM does not).
which gives
|
|||
|
|
|
Sorry, but it is not possible to write math control sequences without placing them in a math environment such as Such as: MWE:
Which produces:
So this is one way to get the job done. Hope this helped. EDIT: As egreg kindly pointed out to me. The |
||||