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 – using an environment to adjust the font size


We will produce a title with a larger and bigger font:

  1. Create another small document with this code:

    \documentclass{article}
    \begin{document}
    \begin{huge}
    \bfseries
    A small example
    
    \end{huge}
    \bigskip
    This is just another small illustrative example.
    \end{document}
  2. Typeset to see the result:

What just happened?

By writing \begin{huge}, we told LaTeX to switch to a huge font size just like with the \huge command. \end{huge} informs LaTeX that this size change should end now. From this point onwards, the font size is the same as before \begin{huge}.

Inside this environment, we use the declaration \bfseries . Note that the effect of this declaration ended together with the end of the environment.

The empty line before \end{huge} denotes a paragraph break. Using the command \bigskip , we skipped some space vertically.

For every declaration there's a corresponding environment carrying the same name except the backslash. Using environments...

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