Understanding the Preamble of Tabbing Environment for Overlap Issues

  • Context: MHB 
  • Thread starter Thread starter Dustinsfl
  • Start date Start date
Click For Summary
SUMMARY

The discussion focuses on the tabbing environment in LaTeX, specifically addressing overlap issues caused by incorrect preamble settings. Users are advised that each \= command in the preamble defines the tab locations, and adjusting the spacing parameters can resolve overlap. A specific recommendation is made to increase the .3\linewidth to .4\linewidth to prevent overlapping of tabbed items. This adjustment is crucial for achieving a clear and organized presentation of tabbed content.

PREREQUISITES
  • Understanding of LaTeX syntax and environments
  • Familiarity with tabbing environment in LaTeX
  • Knowledge of line width specifications in LaTeX
  • Basic matrix representation in LaTeX
NEXT STEPS
  • Research LaTeX tabbing environment configurations
  • Learn about LaTeX spacing commands and their effects
  • Explore advanced LaTeX matrix formatting techniques
  • Investigate common LaTeX typesetting issues and solutions
USEFUL FOR

LaTeX users, academic writers, and anyone involved in typesetting documents that require precise formatting of tabbed content.

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.
 

Similar threads

  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 9 ·
Replies
9
Views
1K
  • · Replies 22 ·
Replies
22
Views
2K
  • · Replies 21 ·
Replies
21
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 43 ·
2
Replies
43
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K