# Unexpected alignment of \aligned formula

I am writing a school report and can't make the below latex centre or even align left (ideally it would just be normally centred). My preamble contains nothing about alignment and all the rest of the text left aligns normally.

\subsection{Maths}
\begin{align*}
F = BIl \\
F = m \cdot 10^{-3} \cdot g \\
l = 1.92cm = 0.0192m \\
gradient = \frac{m}{I} = 0.791 \\
B = \frac{F}{Il} = \frac{m \cdot 10^{-3} \cdot g}{Il} = gradient \cdot \frac{10^{-3} \cdot g}{l} \\
B = 0.791 \cdot \frac{10^{-3} \cdot 9.81}{0.0192}=0.40042 = 0.400  \mbox{ to  3s.f.}
\end{align*}
• you mark alignment points with & usually just before the = you have an align with no alignment specified which isn't strictly an error but is weird (it helps if you make a complete example so people can test the output easily) Nov 11, 2020 at 23:10
• Welcome to TeX.SE.
– Mico
Nov 11, 2020 at 23:11
• @DavidCarlisle here is the extended project . What would you suggest I use instead of align? Really I just want centred multiline equations Nov 12, 2020 at 6:49
• please don't use external links, just fix the posted example to be complete. but here you should use gather* not align as you don't want alignment Nov 12, 2020 at 7:05
• @DavidCarlisle Ok. Thank you. Nov 16, 2020 at 10:00

align is for aligned equations with alignment point marked by &, as you have no & you just have left hand sides with no right hand side so the block seems aligned right. Use gather for a group of unaligned equations.

\documentclass{article}

\usepackage{amsmath}

\newcommand\pgfplotstableregressiona{?}

\begin{document}

align
\begin{align*}
F &= BIl \\
F &= m \cdot 10^{-3} \cdot g \\
l &= 1.92cm = 0.0192m \\
\mathrm{gradient} &= \frac{m}{I} = 0.791 \\
B &= \frac{F}{Il} = \frac{m \cdot 10^{-3} \cdot g}{Il} = \mathrm{gradient} \cdot \frac{10^{-3} \cdot g}{l} \\
B &= 0.791 \cdot \frac{10^{-3} \cdot 9.81}{0.0192}=0.40042 = 0.400  \mbox{ to  3s.f.}
\end{align*}

gather
\begin{gather*}
F = BIl \\
F = m \cdot 10^{-3} \cdot g \\
l = 1.92cm = 0.0192m \\
\mathrm{gradient} = \frac{m}{I} = 0.791 \\
B = \frac{F}{Il} = \frac{m \cdot 10^{-3} \cdot g}{Il} = \mathrm{gradient} \cdot \frac{10^{-3} \cdot g}{l} \\