How to change CMMI font to Palatino font in Equations
Source Code
\documentclass{book}
\renewcommand{\rmdefault}{ppl}
\renewcommand{\sfdefault}{phv}
\begin{document}
\section{Test}
Text font
$$A + B = \frac{1}{2} \alpha $$
\end{document}
How to change CMMI font to Palatino font in Equations
\documentclass{book}
\renewcommand{\rmdefault}{ppl}
\renewcommand{\sfdefault}{phv}
\begin{document}
\section{Test}
Text font
$$A + B = \frac{1}{2} \alpha $$
\end{document}
\usepackage[sc]{mathpazo}or\usepackage{newpxtext,newpxmath}to the preamble and remove the\renewcommandlines. – egreg Oct 06 '17 at 12:36$$ .. $$for display math in LaTeX. Use\begin{equation*} .. \end{equation*}(requires\usepackage{amsmath}) or\[ .. \]instead. See Why is\[ … \]preferable to$$? – Torbjørn T. Oct 06 '17 at 12:47