Skip to content

Instantly share code, notes, and snippets.

@RazerM
Created March 13, 2013 09:47
Show Gist options
  • Save RazerM/5150638 to your computer and use it in GitHub Desktop.
Save RazerM/5150638 to your computer and use it in GitHub Desktop.
LaTeX: Tabbing #snippet
\begin{Tabbing}
\hspace{2em} \TAB=A\hspace{2em} \TAB=B\hspace{2em} \TAB=C\hspace{4em} \TAB=Description\\
Unindented line\\
\TAB>Indented \TAB>\TAB>\TAB>\textbackslash TAB\textgreater\ moves \textbf{only} the current line to the next tab stop\\
\TAB+ Current line unindented.\TAB>\TAB>\TAB>\TAB>\textbackslash TAB+ indents the lines following (but not including) the current line.\\
Following line indented.\TAB-\\
Remove indent.\TAB>\TAB>\TAB>\TAB>\textbackslash TAB- unindents the following lines.\\
Back to unindented.\\
\TAB>\TAB> Two tabs.\TAB>\TAB>\textbackslash TAB commands work as expected when stacked together.\\
\TAB+\TAB> Combined. \TAB>\TAB>\TAB>\textbackslash TAB+\textbackslash TAB\textgreater\ can be used to start the indent immediately and for following lines.\\
Right align\TAB' B \TAB>\TAB>\TAB>\textbackslash TAB' right aligns the text preceding it.
\end{Tabbing}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment