Understanding the Preamble of Tabbing Environment for Overlap Issues

  • Context:
  • Thread starter Thread starter Dustinsfl
  • Start date Start date
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 2K views
Dustinsfl
Messages
2,217
Reaction score
5
I using the tabbing environment but there is some overlap. Can someon explain the preamble portion of the tabbing environment? http://img850.imageshack.us/img850/209/tabbing.png
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}
 
Physics news on Phys.org
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.