I need to write a text which contains some math symbols. In detail those include \rightarrow
, \forall
and \exists
. I know I can switch into math mode with the $
symbol, but I have quite a lot of text and I do not want em in italic like it is default for math mode.
I am just curious what is the right way to go. Shall I switch to math mode for every symbol and try to make the math mode "non-italic" or is there a better way like with the Greek symbols the \textalpha
, etc. from the textgreek package?
Here is an example line from my text:
(S.Sname, B.Bname): ∀S ∃A ∃B (S.AId = A.AId \& B.BId = A.BId \& S.Sduration > 300)
XeLaTeX
and a font that contains these symbols (DejaVu Sans
, for instance), you can compile as is.\text
command into equatios for comments or words. That text not appears in italic. Example:$\forall x,\;\exists y\text{ such that }$
. I don't remember if you will needamsmath
to use that command.\em
or\emph
, if 'em' is not a typo for 'them'.)