Abstract
LaTeX has numerous predefined macros for automatic and uniform formatting of a document without any mistake. Such options are discussed in this Hour.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
LaTeX has numerous predefined macros for automatic and uniform formatting without any mistake.
- 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.
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.
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.
The \parindent and \parskip commands are generally used in the preamble to make their effects globally in all the paragraphs of a document.
- 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.
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.
The \dotfill and \hrulefill commands are similar to the \hfill command, except they fill the gap by dots and horizontal lines respectively.
- 9.
The \mbox{Â } command may be used to prevent its argument from splitting in two lines.
Author information
Authors and Affiliations
Corresponding author
Rights 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)