Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
LaTeX Beginner's Guide

You're reading from   LaTeX Beginner's Guide When there‚Äôs a scientific or technical paper to write, the versatility of LaTeX is very attractive. But where can you learn about the software? The answer is this superb beginner‚Äôs guide, packed with examples and explanations.

Arrow left icon
Product type Paperback
Published in Mar 2011
Publisher Packt
ISBN-13 9781847199867
Length 336 pages
Edition 1st Edition
Tools
Arrow right icon
Toc

Table of Contents (21) Chapters Close

LaTeX
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
1. Getting Started with LaTeX FREE CHAPTER 2. Formatting Words, Lines, and Paragraphs 3. Designing Pages 4. Creating Lists 5. Creating Tables and Inserting Pictures 6. Cross-Referencing 7. Listing Content and References 8. Typing Math Formulas 9. Using Fonts 10. Developing Large Documents 11. Enhancing Your Documents Further 12. Troubleshooting 13. Using Online Resources Pop Quiz Answers Index

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 used three simple tags for markup:

  • \= sets a tab stop. We could put several tab stops on a line. If we use \= later, the next awaited tab stop would be reset to this position.

  • \\ ends a row.

  • \> goes to the next tab stop. This...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at ₹800/month. Cancel anytime