Welcome to our community

Be a part of something great, join today!

Tabbing environment setup

dwsmith

Well-known member
Feb 1, 2012
1,673
I using the tabbing environment but there is some overlap. Can someon explain the preamble portion of the tabbing environment?
Code:
\begin{tabbing}\hspace{.17\linewidth} \= 11.\quad \= \hspace{.3\linewidth} \= 11.\quad \= \kill
\> $\sigma_{\text{\MakeUppercase{\romannumeral 1}}}:$\> $\begin{bmatrix}
3 - \sigma_{\text{\MakeUppercase{\romannumeral 1}}} & 0 & 2\\
0 & 1 - \sigma_{\text{\MakeUppercase{\romannumeral 1}}} & 0\\
2 & 0 & -2 - \sigma_{\text{\MakeUppercase{\romannumeral 1}}}
\end{bmatrix}$\> $=$\> $\begin{bmatrix}
4 & 0 & 2\\
0 & 4 & 0\\
2 & 0 & 1
\end{bmatrix}$\\
\> \> \> $=$\> $\begin{bmatrix}
2 & 0 & 1\\
0 & 1 & 0\\
0 & 0 & 0
\end{bmatrix}$
\end{tabbing} 
\begin{tabbing}\hspace{.17\linewidth} \= 11.\quad \= \hspace{.3\linewidth} \= 11.\quad \= \kill
\> $\sigma_{\text{\MakeUppercase{\romannumeral 2}}}:$\> $\begin{bmatrix}
3 - \sigma_{\text{\MakeUppercase{\romannumeral 2}}} & 0 & 2\\
0 & 1 - \sigma_{\text{\MakeUppercase{\romannumeral 2}}} & 0\\
2 & 0 & -2 - \sigma_{\text{\MakeUppercase{\romannumeral 2}}}
\end{bmatrix}$\> $=$\> $\begin{bmatrix}
0 & 0 & 2\\
0 & 0 & 0\\
2 & 0 & -3
\end{bmatrix}$\\
\> \> \> $=$\> $\begin{bmatrix}
0 & 0 & 1\\
0 & 0 & 0\\
2 & 0 & -3
\end{bmatrix}$
\end{tabbing} 
\begin{tabbing}\hspace{.17\linewidth} \= 11.\quad \= \hspace{.3\linewidth} \= 11.\quad \= \kill
\> $\sigma_{\text{\MakeUppercase{\romannumeral 3}}}:$\> $\begin{bmatrix}
3 - \sigma_{\text{\MakeUppercase{\romannumeral 3}}} & 0 & 2\\
0 & 1 - \sigma_{\text{\MakeUppercase{\romannumeral 3}}} & 0\\
2 & 0 & -2 - \sigma_{\text{\MakeUppercase{\romannumeral 3}}}
\end{bmatrix}$\> $=$\> $\begin{bmatrix}
-1 & 0 & 2\\
0 & -1 & 0\\
2 & 0 & -4
\end{bmatrix}$\\
\> \> \> $=$\> $\begin{bmatrix}
-1 & 0 & 2\\
0 & -1 & 0\\
0 & 0 & 0
\end{bmatrix}$
\end{tabbing}
 

Ackbach

Indicium Physicus
Staff member
Jan 26, 2012
4,197
Re: tabbing environment setup

With a tabbing environment, the tab locations are fixed by the preamble. Each \= gives you the next tab location. The .17\linewidth inside the hspace command means allow .17 of the width of the line before you get to the next item.

To make your example not overlap, increase the .3\linewidth to 0.4\linewidth and see what you get.