Questions tagged [tabbing]

{tabbing} is a LaTeX environment to typeset text using tab stops.

Tab stops make it possible to horizontally align parts of a line uniformly across several lines. They can be considered a rudimentary way of creating tables. The tabbing environment reads a line of text that may contain the definitions of several tab stops. Unlike the ones following it, this line is not printed. In the following lines, text may be aligned to these tab stops using short commands that, roughly, equal a typewriter's "tab key".

137 questions
26
votes
3 answers

setting tabs by declaration rather than by example

Is it possible to set tab stops in some sort of initial formatting declaration, abstractly? The code examples I see around town all show tabs being set by example, with \= in the first line of actual text within the tabbing environment. But I would…
5
votes
2 answers

underline instead of space in tabbing environment

I have following example \begin{tabbing} Person1: \underline{Long info about Person1} \= Person2: \underline{Shorter info} \> \end{tabbing} I want to fill the gap in second line before the \> with an underline. I tryed Person2: \underline{Shorter…
5
votes
4 answers

Tabbing from the beginning of a line

I want to tab a list of items like in Microsoft Word, where the tab command always tabs by a fixed number of spaces from the beginning of the line. Here's a sample of what I'm looking for: Kav average kinetic energy N number of…
5
votes
3 answers

Straight quotes in tabbing

I need to display source code using the tabbing environment and \sffamily. (Please note that I cannot use neither listings nor verbatim since I cannot dynamically set my tab stops). I defined an environment sftabbing for doing this. A Minimal…
4
votes
2 answers

How to get this side by side?

I have the following code: $ax = b \Leftrightarrow$ and \begin{tabbing} $a_{11}x_1 + $ \= $a_{12}x_2+\dots +$ \= $a_{1n}x_n$ \= $= b_1$\\ \> $a_{22}x_2 + \dots +$ \> $a_{2n}x_n$ \> $= b_2$\\ \> $\ddots$ \> $\vdots$ \> $\vdots$\\ \>…
texNewbie
  • 1,211
3
votes
1 answer

Getting an "undefined tab position" error in tabbing environment

I'm not entirely sure what I'm doing wrong here, I'm using a \kill'd line to mark the tabs first, but it's still giving me an undefined tab position error. The error is reported for line 0 so I'm not sure which of these is causing…
3
votes
1 answer

Filling blank space \hspace with \dotfill in \tabbing environment?

How can I fill blank spaces with \dotfill in \tabbing environment? How can I adjust the length of \dotfill? \documentclass{article} \begin{document} \begin{tabbing} \hspace*{3cm}\=\hspace*{2cm}\= \kill column1a \> column2a \> column3a \\ column1b…
2
votes
1 answer

Tab overflow work-around no longer works

LaTeX apparently has registers for 13 tab stops. A workaround that was published in about 2009 suggested \makeatletter \countdef\@maxtab=30 \makeatother This steps on registers beyond the 13 allocated within LaTeX for tab stops. It worked for a…
2
votes
3 answers

Tabbing: Colored background

\documentclass{article} \newenvironment{mytabbing}{% \begin{minipage}[t]{3in} \begin{tabbing} \hspace*{2cm}\= \hspace*{2cm}\= \hspace*{2cm}\= \hspace*{2cm} \kill TAB-1 \> TAB-2 \> TAB-3 \>…
blackened
  • 4,181
2
votes
2 answers

Right Indentation with Tabbing

I would like to know how to right indent (for the first column only) while using tabbing. My code…
2
votes
1 answer

Remove horizontal space incurred by \' in tabbing

Consider the following code: \documentclass{article} \begin{document} \begin{tabbing} FOO\=\kill FOO\>BAR\\ \>O\'BAR\\ \end{tabbing} \end{document} The output is How to remove the space after "O" in the second line, moving this "O" to the…
user165772
2
votes
2 answers

tabbing environment text is overlapping

I am trying to layout some text to follow the BDD-style scenario format: Given some condition When an action occurs And some other action occurs Then some result happens In a previous question it was suggested that I use the…
dnraikes
  • 455
2
votes
1 answer

instruct tabbing to never skip back

I personally like the tabbing environment very much to typeset table-like listings without having to worry about linebreaks, pagrebreaks and the like. However, I now encounter a problem: I have a (very long) tabbing environment with entries that…
carsten
  • 2,966
2
votes
1 answer

Tab limited exceeded? ‘Undefined tab position’

I'm using latex to do syntactical analysis, using the following specifications: For super-script \tss{super-script} \newcommand*{\tss}[1]{\textsuperscript{#1}} \newcommand\tabspace{1cm} % Adjust tab length…
1
vote
1 answer

set \textstyle for one single tabbing invironment

I have a \tabbing environment within a \theorem environment. How can I have the text within this single \tabbing upright instead of italic? MWE: \documentclass[a4paper,12pt,oneside]{article} \usepackage{amsmath, amsthm,…
Xoriun
  • 161
1
2