Understanding the Preamble of Tabbing Environment for Overlap Issues

  • MHB
  • Thread starter Dustinsfl
  • Start date
In summary, the conversation discusses the use of the tabbing environment and the creation of tab locations with the help of the preamble. The example provided shows how changing the values in the preamble can affect the layout of the content. Increasing the value of .3\linewidth can prevent overlapping in the tabbing environment.
  • #1
Dustinsfl
2,281
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
  • #2
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.
 

FAQ: Understanding the Preamble of Tabbing Environment for Overlap Issues

What is the purpose of the preamble in tabbing environment?

The preamble in tabbing environment serves as the initial instructions for setting up the tabbing layout. It allows the user to define the number of tabs, their alignment, and any desired formatting before entering the actual tabbing environment.

How does the tabbing environment handle overlap issues?

The tabbing environment handles overlap issues by automatically adjusting the spacing between the tabs to prevent them from overlapping. It also allows the user to manually adjust the spacing if needed.

What are the common causes of overlap issues in tabbing environment?

Overlap issues in tabbing environment are commonly caused by using too many tabs or setting them too close together. It can also occur when the text within the tabs is too long, causing them to extend beyond the designated tab width.

Can the preamble be modified after entering the tabbing environment?

No, the preamble cannot be modified after entering the tabbing environment. Any changes to the preamble must be made before entering the environment.

Is the preamble necessary for using the tabbing environment?

Yes, the preamble is necessary for using the tabbing environment. It provides the necessary instructions for setting up the tabbing layout and without it, the tabbing environment will not function properly.

Similar threads

Replies
9
Views
1K
Replies
22
Views
2K
Replies
21
Views
2K
Replies
1
Views
878
Replies
4
Views
3K
Replies
4
Views
1K
Replies
43
Views
2K
Back
Top