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}
\]
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
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}
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p