# [SOLVED]How to center an equation ?

#### ZaidAlyafey

##### Well-known member
MHB Math Helper
I used the double dollar sign to center an equation , but now that you changed its functionality , is their an alternative ?

#### Ackbach

##### Indicium Physicus
Staff member
$\displaystyle \int_{- \infty}^{ \infty}e^{-x^{2}} \, dx = \sqrt{ \pi}$
Use single-dollar signs with the displaystyle command to get the nice big operators, and then use the forum's new center justification button.

#### ZaidAlyafey

##### Well-known member
MHB Math Helper
Ok , I think I made a mistake , I was doing something stupid