PacktLib: LaTeX Beginner's Guide

LaTeX

Credits

About the Author

About the Reviewers

www.PacktPub.com

Preface

Getting Started with LaTeX

What is LaTeX?

Installing LaTeX

Time for action - installing TeX Live using the net installer wizard

Time for action - installing TeX Live offline

Creating our first document

Time for action - writing our first document with TeXworks

Summary

Formatting Words, Lines, and Paragraphs

Understanding logical formatting

Time for action - titling your document

How LaTeX reads your input

Time for action - trying out the effect of spaces, line breaks, and empty lines

Time for action - writing special characters in our text

Formatting text fonts, shapes, and styles

Time for action - tuning the font shape

Time for action - switching to sans-serif and to typewriter fonts

Time for action - switching the font family

Time for action - exploring grouping by braces

Time for action - exploring font sizes

Time for action - using an environment to adjust the font size

Saving time and effort creating your own commands

Time for action - creating our first command using it as an abbreviation

Time for action - adding intelligent spacing to command output

Time for action - creating a macro for formatting keywords

Time for action - marking keywords with optional formatting

Using boxes to limit the width of paragraphs

Time for action - creating a narrow text column

Time for action - using the minipage environment

Breaking lines and paragraphs

Time for action - stating division points for words

Time for action - using microtype

Time for action - using line breaks

Exploring the fine details

Time for action - exploring ligatures

Time for action - using differently spaced dots

Time for action - comparing dots to ellipsis

Time for action - experimenting with accents

Time for action - using accents directly

Turning off full justification

Time for action - justifying a paragraph to the left

Time for action - centering a title

Time for action - centering verses

Displaying quotes

Time for action - quoting a scientist

Time for action - quoting TeX's benefits

Time for action - spacing between paragraphs instead of indentation

Summary

Designing Pages

Defining the overall layout

Time for action - writing a book with chapters

Time for action - specifying margins

Time for action - finding the geometry package manual

Time for action - increasing line spacing

Using class options to configure the document style

Time for action - creating a two-column landscape document

Creating a table of contents

Time for action - adding a table of contents

Time for action - shortening the table of content entries

Designing headers and footers

Time for action - customizing headers with the fancyhdr package

Breaking pages

Time for action - inserting page breaks

Enlarging a page

Time for action - sparing an almost empty page

Using footnotes

Time for action - using footnotes in text and in headings

Time for action - redefining the footnote line

Summary

Creating Lists

Building a bulleted list

Time for action - listing LaTeX packages

Time for action - listing packages by topic

Creating a numbered list

Time for action - writing a step-by-step tutorial

Customizing lists

Time for action - shrinking our tutorial

Time for action - modifying lists using enumitem

Producing a definition list

Time for action - explaining capabilities of packages

Summary

Creating Tables and Inserting Pictures

Writing in columns

Time for action - lining up information using the tabbing environment

Time for action - lining up font commands

Typesetting tables

Time for action - building a table of font family commands

Time for action - adding nicer horizontal lines with the booktabs package

Time for action - merging cells

Time for action - using the array package

Time for action - merging cells using the multirow package

Time for action - adding a caption to our font table

Inserting pictures

Time for action - including a picture

Managing floating environments

Time for action - letting a figure float

Time for action - embedding a picture within text

Summary

Cross-Referencing

Setting labels and referencing

Time for action - referencing items of a top list

Producing intelligent page references

Time for action - introducing variable references

Time for action - referring cleverly

Summary

Listing Content and References

Customizing the table of contents

Time for action - refining an extensive table of contents

Creating and customizing lists of figures

Time for action - creating a list of diagrams

Creating a list of tables

Using packages for customization

Generating an index

Time for action - marking words and building the index

Creating a bibliography

Time for action - citing texts and listing the references

Time for action - creating and using a BibTeX database

Changing the headings

Summary

Typing Math Formulas

Writing basic formulas

Time for action - discussing quadratic equations and roots

Customizing displayed formulas

Time for action - typesetting multi-line formulas

Fine-tuning formulas

Building math structures

Stacking expressions

Writing theorems and definitions

Summary

Using Fonts

Preparing the encoding

Time for action - directly using special characters

Installing additional fonts

Choosing the main font

Time for action - comparing Computer Modern to Latin Modern

Exploring the world of LaTeX fonts

Summary

Developing Large Documents

Splitting the input

Time for action - swapping out preamble and chapter contents

Creating front and back matter

Time for action - adding a dedication and an appendix

Designing a title page

Time for action - creating a title page

Working with templates

Time for action - starting with a template

Summary

Enhancing Your Documents Further

Using hyperlinks and bookmarks

Time for action - adding hyperlinks

Time for action - customizing the hyperlink appearance

Time for action - editing PDF metadata

Benefitting from other packages

Time for action - visiting the TeX Catalogue Online

Time for action - installing a LaTeX package

Designing headings

Time for action - designing chapter and section headings

Coloring your document

Summary

Troubleshooting

Understanding and fixing errors

Time for action - interpreting and fixing an error

Handling warnings

Time for action - emphasizing on a sans-serif font

Avoiding obsolete classes and packages

General troubleshooting

Summary

Using Online Resources

Web forums, discussion boards, and Q&A; sites

Time for action - asking a question online

Frequently Asked Questions

Mailing lists

TeX user group sites

Homepages of LaTeX software and editors

LaTeX archives and catalogs

Friends of LaTeX

LaTeX blogs

Summary

Pop Quiz - Answers

Pop Quiz - Answers

Pop Quiz - Answers

Pop Quiz - Answers

Pop Quiz - Answers

Pop Quiz - Answers

Pop Quiz - Answers

Pop Quiz - Answers

Pop Quiz - Answers

Pop Quiz - Answers

Pop Quiz - Answers

Pop Quiz - Answers