# Center all equations [closed]

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}


## closed as off-topic by user156344, Phelype Oleinik, barbara beeton, Raaja, CarLaTeXMay 15 at 17:39

• This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

• Use  to display a math content. – Sigur May 15 at 15:50
• @Sigur Oh, nice. I was wanting to a mode that automatic make all centered, but, I think I rushed. Add [ ] one by one isn't too much difficult, soooo, worth. thanks – user188990 May 15 at 15:59
• I'm voting to close this question as off-topic because solved in comments – user156344 May 15 at 16:04
• @JouleV can I vote too? I don't know how to make that, extremely newbie here – user188990 May 15 at 16:09
• @user188990 Not yet - you need 250 reputation. However, no worry: we will vote for you. It will be closed soon :) – user156344 May 15 at 16:24