I just found in this answer: https://tex.stackexchange.com/a/35176/4011, that using the systeme package ist probably the best way to typeset a system of linear equations in LaTeX.
Now I tried to generate a general system of linear equations like in this approach but it doesn't work:
\documentclass{article}
\usepackage[active,tightpage]{preview}
\usepackage{systeme}
\begin{document}
\sysdelim..
\systeme{%
a_11 x_1 + a_12 x_2 + \dots + a_1m x_m = b_1,
a_21 x_1 + a_22 x_2 + \dots + a_2m x_m = b_2,
%%Here I should add some vertical and diagonal dots
a_n1 x_1 + a_n2 x_2 + \dots + a_nm x_m = b_n
}%
\end{document}
Any idea how to make this work without making the syntax too complex?


texdoc systeme) shows no examples using dots either vertically or horizontally, and the string dot isn't present in the documentation. i think the package may not cover this situation, but can't be sure because the documentation is in french, and i'm sure i'm missing some of the important points. – barbara beeton Feb 16 '14 at 15:08