Code: Select all
\[
\begin{array}{ccl}
a_{11}x_1 & + a_{12}x_2 + \cdots + & a_{1n}x = 0 \\
\;\vdots & &\quad\vdots \\
a_{m1}x_1 &+ a_{m2}x_2 + \cdots +& a_{mn}x_n = 0
\end{array}
\tag{1}
\]
Thanks for your help
Code: Select all
\[
\begin{array}{ccl}
a_{11}x_1 & + a_{12}x_2 + \cdots + & a_{1n}x = 0 \\
\;\vdots & &\quad\vdots \\
a_{m1}x_1 &+ a_{m2}x_2 + \cdots +& a_{mn}x_n = 0
\end{array}
\tag{1}
\]
alignedat
environment of amsmath. This environment supports multiple alignment points over several lines.Code: Select all
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{equation}
\begin{alignedat}{4}
a_{11}x_1 &+ a_{12}x_2 &&+ \cdots &&+ a_{1n}x &&= 0 \\
\;\vdots & &&\quad\vdots \\
a_{m1}x_1 &+ a_{m2}x_2 &&+ \cdots &&+ a_{mn}x_n &&= 0
\end{alignedat}
\end{equation}
\end{document}