Skip to main content

Formatting Texts I

  • Hour 3
  • Chapter
  • First Online:
LaTeX in 24 Hours
  • 339k Accesses

Abstract

LaTeX has numerous predefined macros for automatic and uniform formatting of a document without any mistake. Such options are discussed in this Hour.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 49.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    LaTeX has numerous predefined macros for automatic and uniform formatting without any mistake.

  2. 2.

    A numbered item can be labeled using \label { rkey } and then it can be referred using \ref { rkey } anywhere within the same document, where rkey is the assigned unique reference key of the item.

  3. 3.

    The \pageref { rkey }, \vref { rkey } and \vpageref { rkey } commands may be used in a similar way to \ref{ } for referring the page number of an item, whose assigned unique reference key is rkey.

  4. 4.

    LaTeX does not create a new line set manually by pressing the enter button of the keyboard, rather the same can be obtained by inserting preferably \newline or \\ at the end of the previous line.

  5. 5.

    The \parindent and \parskip commands are generally used in the preamble to make their effects globally in all the paragraphs of a document.

  6. 6.

    Excess blank spaces cannot be created by pressing the spacebar or tab button of the keyboard, rather LaTeX provides some commands for creating blank spaces of specified sizes both in horizontal and vertical directions.

  7. 7.

    LaTeX accepted units for rigid lengths include mm (millimeter), cm (centimeter), in (inch), pt (point), em (width of M) and ex (width of x), where em is usually preferred for horizontal lengths and ex for vertical lengths.

  8. 8.

    The \dotfill and \hrulefill commands are similar to the \hfill command, except they fill the gap by dots and horizontal lines respectively.

  9. 9.

    The \mbox{ } command may be used to prevent its argument from splitting in two lines.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Dilip Datta .

Rights and permissions

Reprints and permissions

Copyright information

© 2017 Springer International Publishing AG

About this chapter

Cite this chapter

Datta, D. (2017). Formatting Texts I. In: LaTeX in 24 Hours. Springer, Cham. https://doi.org/10.1007/978-3-319-47831-9_3

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-47831-9_3

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-47830-2

  • Online ISBN: 978-3-319-47831-9

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics