[Tex/LaTex] Inline and display equation font size

equationsfontsize

I need the display equation fontsize 1pt smaller than the normal text, but inline equation remain same as text font size. how to handle this in latex anyone help on this

thanks in advance

Best Answer

You can define a new environment.

\documentclass[11pt]{article}
\usepackage{amsmath}
\usepackage{environ}
\NewEnviron{myequation}{%
\par\vspace{-\baselineskip}
\small
\begin{equation}%
\BODY
\end{equation}
}

\begin{document}
\noindent Some text here $y=x$ Some text here Some text here Some text here Some text here Some text here Some text here Some text here Some text here Some text here
  \begin{myequation}%
  f(y) = ya \times k^{y} %
\end{myequation}
Some text here $f(y)=0$
\end{document}

enter image description here