# How to add some spaces progressively in a multiple line equation using align environment?

Hope you are doing fine. Now, to get straight to the point: I have a multiple line equation inside an align environment. I have been trying, with no success, to accommodate each line inside the equation so that the final product can be an equation showing a slight inclination...

Minimal working example below:

\documentclass[a4paper,12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{booktabs}
\usepackage{array}
\usepackage{fullpage}
\usepackage{graphicx}
\usepackage{fancyhdr}
\begin{document}
\begin{align}
\begin{aligned}
\gamma_i\,\gamma_j\,\gamma_k\ \tilde{M}_{jk} &= const_{\alpha}\,{\Big[}\gamma_1\gamma_1\gamma_1\,m_{11} \,+\\
& + \gamma_1\gamma_1\gamma_2\,m_{12} \\
& + \gamma_1\gamma_1\gamma_3\,m_{13} \\
& + \gamma_1\gamma_2\gamma_1\,m_{21} \\
& + \gamma_1\gamma_2\gamma_2\,m_{22} \label{someequation}\\
& + \gamma_1\gamma_2\gamma_3\,m_{23} \\
& + \gamma_1\gamma_3\gamma_1\,m_{31} \\
& + \gamma_1\gamma_3\gamma_2\,m_{32} \\
& + \gamma_1\gamma_3\gamma_3\,m_{33}{\Big]}.
\end{aligned}
\end{align}
\end{document}


I have tried with \qquad, shifting the & around, removing it, \hspace, {}, and many other options, with no success. Is there any chance this can be done with some elegancy (or not)?

• unrelated but \mathrm{const} and don't use align for single line equations, use equation – David Carlisle Mar 8 at 22:21
• Welcome to TeX.SE. – Mico Mar 8 at 22:24
• Ultimately, this question is asking how to insert horizontal space, which is a duplicate of What commands are there for horizontal spacing? – Werner Mar 8 at 22:33
• Thanks @Mico! for the greetings and David Carlisle for the \mathrm tip and the align issue. – german brunini Mar 9 at 0:19

something like this perhaps

\documentclass[a4paper,12pt]{article}
% only in old latex \usepackage[utf8]{inputenc}
\usepackage{amsmath}
\newcommand\z[1]{\hspace{#1em}}
\begin{document}
\label{someequation} \gamma_i\,\gamma_j\,\gamma_k\ \tilde{M}_{jk} = \operatorname{const}_{\alpha}\Bigl[ \begin{aligned}[t] & \gamma_1\gamma_1\gamma_1\,m_{11} \\ &\z1 + \gamma_1\gamma_1\gamma_2\,m_{12} \\ &\z2 + \gamma_1\gamma_1\gamma_3\,m_{13} \\ &\z3 + \gamma_1\gamma_2\gamma_1\,m_{21} \\ &\z4 + \gamma_1\gamma_2\gamma_2\,m_{22} \\ &\z5 + \gamma_1\gamma_2\gamma_3\,m_{23} \\ &\z6 + \gamma_1\gamma_3\gamma_1\,m_{31} \\ &\z7 + \gamma_1\gamma_3\gamma_2\,m_{32} \\ &\z8 + \gamma_1\gamma_3\gamma_3\,m_{33} \smash{\Bigr]} \end{aligned}
\end{document}

• Thanks @David !!! That was exactly what I was looking for! – german brunini Mar 9 at 0:13
• the thing of using \equation environment instead of align, as I see, is that it sets the equation number in the first line, and not in the middle of the equation, rigth?. How can I fix that?. Thanks in advance! – german brunini Mar 9 at 0:38

Something like this?

\documentclass[a4paper,12pt]{article}
\usepackage{amsmath} % for 'aligned' environment
\begin{document}
\label{someequation} \begin{aligned} \gamma_i\,\gamma_j\,\gamma_k\ \widetilde{M}_{jk} = \mathrm{const}_{\alpha}\, & \bigl[\gamma_1\gamma_1\gamma_1\,m_{11} + {}\\ & \mkern0mu + \gamma_1\gamma_1\gamma_2\,m_{12} \\ & \mkern2mu + \gamma_1\gamma_1\gamma_3\,m_{13} \\ & \mkern4mu + \gamma_1\gamma_2\gamma_1\,m_{21} \\ & \mkern6mu + \gamma_1\gamma_2\gamma_2\,m_{22} \\ & \mkern8mu + \gamma_1\gamma_2\gamma_3\,m_{23} \\ & \mkern10mu + \gamma_1\gamma_3\gamma_1\,m_{31} \\ & \mkern12mu + \gamma_1\gamma_3\gamma_2\,m_{32} \\ & \mkern14mu + \gamma_1\gamma_3\gamma_3\,m_{33} \bigr]. \end{aligned}
\end{document}

• Thank you very much @Mico This is also a solution!. – german brunini Mar 9 at 0:15