# Arrangement of equations

\documentclass[12pt, a4paper]{article}
\usepackage[top=0.8 in,bottom=0.8 in,left=0.7 in,right=0.6 in]{geometry}
\usepackage[utf8]{inputenc}
\usepackage[misc]{ifsym}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{autoaligne}

\begin{document}
\autoaligne{
(1)~ 5x+3y+7z = 4\\
3x+26y+2z= 9\\
7x+2y+10z= 5}
\hfill
\autoaligne{
(2)~x+2y-z = 3\\
x-y+z=-1\\
2x-2y+3z= 2\\
3x-y+2z= 1
}
\hfill
\autoaligne{
(3)~2x-2y+z = 1\\
x+2y+2z= 2\\
2x+y-2z=-2\\
2x-3y-z= 5
}

\end{document}


Why are all three examples (1), (2) and (3) not arranged in same line? • Please add screenshot for further understanding of what you want to do. – Jimmy Westberg Jan 31 '17 at 7:45

## 2 Answers

Just add a fourth line to the first equation system, this way all groups have the same height and are correctly aligned.

\documentclass[12pt, a4paper]{article}
\usepackage[top=0.8 in,bottom=0.8 in,left=0.7 in,right=0.6 in]{geometry}
\usepackage[utf8]{inputenc}
\usepackage[misc]{ifsym}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{autoaligne}

\begin{document}
\autoaligne{%
(1)~5x+3y+7z = 4\\
3x+26y+2z= 9\\
7x+2y+10z= 5\\  %<---- This was missing
}
\hfill
\autoaligne{
(2)~x+2y-z = 3\\
x-y+z=-1\\
2x-2y+3z= 2\\
3x-y+2z= 1
}
\hfill
\autoaligne{
(3)~2x-2y+z = 1\\
x+2y+2z= 2\\
2x+y-2z=-2\\
2x-3y-z= 5
}

\end{document} Use the vertical alignment features of autoaligne:

\documentclass{article}
\usepackage{autoaligne}

\begin{document}

%% vertical positioning can be c (centre), h (haut), b (bas)
\noindent
(1)~\autoaligne(h){
5x+3y+7z = 4\\
3x+26y+2z= 9\\
7x+2y+10z= 5
}\hfill
(2)~\autoaligne(h){
x+2y-z = 3\\
x-y+z=-1\\
2x-2y+3z= 2\\
3x-y+2z= 1
}\hfill
(3)~\autoaligne(h){
2x-2y+z = 1\\
x+2y+2z= 2\\
2x+y-2z=-2\\
2x-3y-z= 5
}

\end{document} • Your french is better than mine, which is not difficult, or you read documentation more carefully than me ;-) – Ignasi Jan 31 '17 at 15:44