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 – marking words and building the index


Suppose our example would contain information about an enterprise and its structure and further about its network structure and design. We shall mark places in the text where these concepts occur. Finally, we will order LaTeX to typeset the index:

  1. Go back to our example. In the preamble, load the index package and add the command to create the index:

    \usepackage{index}
    \makeindex
  2. In the caption of our enterprise diagram, index this point with the keyword enterprise:

    \caption{\index{enterprise}Enterprise Organizational Chart}
  3. In the third chapter, which contains our diagrams, index by the keyword network:

    \index{network}
  4. Directly before \end{document}, create an entry for the index for the table of contents. To ensure that it shows the correct page number, end the page before:

    \clearpage
    \addcontentsline{toc}{chapter}{Index}
  5. In the next line, order LaTeX to typeset the index:

    \printindex
  6. If you're using TeXworks, choose MakeIndex instead of pdfLaTeX...

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 $19.99/month. Cancel anytime