% What to do here
\begin{document}
This is good integration.
$$\displaystyle \int x dx = \frac{x^2}{2}$$
\end{document}
I don't know much about LaTeX so I am going to need some spoon feeding.
I want text to appear in normal font. But math to appear in AMSEuler
Font.
I don't want to make any changes inside the document.
Best Answer
Just add either
\usepackage{euler}
or\usepackage{eulervm}
to your document's preamble:The
eulervm
package includes many revisions by Zapf to the original Euler fonts. If you use theeulervm
package, you will probably want to load it with the optionseuler-digits
andeuler-hat-accent
, i.e., asIncidentally, the use of
$$ ... $$
to generate display-math equations is heavily deprecated; it's much better to use\[
and\]
, as I do in the example above. For much more on this subject, please see the postings Why is\[ ... \]
preferable to$$
and What are the differences between$$
,\[
, align, equation and displaymath?Addendum: There is no text font that's matched perfectly to
AMS Euler
. If you provide the directive\usepackage{concrete}
in the preamble, you'll get theConcrete Roman
text font family.Concrete Roman
andAMS Euler
were used together (very successfully, I'd say) in the textbook Concrete Mathematics, 1st ed. 1988, 2nd. ed. 1994, by Ronald Graham, Donald Knuth, and Oren Patashnik. However, be forewarned thatConcrete Roman
is a "raster font" and therefore won't look very good on screen. If the font is generated at 600 dpi, it'll look just fine in print; it's only the on-screen look that will likely disappoint. Other text fonts that are known to work well withAMS Euler
arePalatino
,Aldus
, andMelior
; perhaps not coincidentally, all three are creations of Hermann Zapf, the designer of theAMS Euler
fonts. To setPalatino
as the text font of your document, you could, e.g., issue the command\usepackage{newpxtext}
.