4 Displaying Text

There are a variety of ways to display or emphasize the text: changing font style or font size, centering, indentation, making lists, and so on. LATEX supplies us with commands for the most common forms of such highlighting.

Many parts of this chapter violate the concept of logical markup, especially those dealing with selection of font properties. The author should not attempt to decorate the document with arbitrary switches of font size and style, but should pack his or her source text into a structure that indicates its purpose. The exercises in this book are an example of this. Rather than starting each one with the word ‘Exercise’ in boldface followed by an explicit number and then shifting to a slanted font, we defined ...

Get Guide to LaTeX, Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.