Centering math line by line help

i’m trying to center math line by line

for example, if you have this math block:

$$
\begin{align}
\text{formules}\
a=0\
v=\text{constant}\
x=x_{\text{beg}}+v*t

\end{align}
$$

then the math gets centerd (with my theme i think) but it’s aligned to 1 line:

i’d like to make it so they are all aligned to the center themselves, but not all to one side

try this one centered line by line
$$
\begin{array}{c}
\text{formules}\
a=0\
v=\text{constant}\
x=x_{\text{beg}}+v*t

\end{array}
$$

If you want to align it to the left just change the “c” to “l”

Hope this helps.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.