O'Reilly logo

LaTeX Beginners Guide by Stefan Kottwitz

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action – lining up information using the tabbing environment

We would like to present a quick overview regarding LaTeX. We shall present one point on each line, aligned at words and double colons:

  1. Begin a new document and open a tabbing environment:
    \documentclass{article}
    \begin{document}
    \begin{tabbing}
  2. Write the text, set tab stops by \=, and end the line by \\:
    \emph{Info:} \= Software \= : \= \LaTeX \\
  3. Add further lines, move to the next tab stop by \>, and again end lines by \\:
      \> Author \> : \> Leslie Lamport \\
      \> Website \> : \> www.latex-project.org
  4. Close the tabbing environment and end the document:
    \end{tabbing}
    \end{document}
  5. Typeset to get the output:

What just happened?

The tabbing environment that we used begins a new line. We ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required