Center all equations

by user188990   Last Updated May 15, 2019 16:23 PM

Is there a mode to make all the equations(only the equations) in my document, in the form ${equation}$, become centered at once?

example code:

\documentclass{article}

\usepackage[utf8]{inputenc}
\usepackage[a4paper, total={7in, 10in}]{geometry}

\setlength{\parskip}{0.1in}
\setlength{\parindent}{0pt}
\renewcommand{\baselinestretch}{1.15}

\begin{document}
blablabla1

$hv=\phi+\frac{1}{2}mv^2$

blablabla2

$hv=\phi+\frac{1}{2}m{v}_{max}^2$

more blablabla and text
\end{document}


Related Questions


Updated June 15, 2017 19:23 PM

Updated December 12, 2017 02:23 AM

Updated May 14, 2015 23:10 PM

Updated March 20, 2017 02:23 AM