Chapter 2: Formatting Text and Creating Macros
In the last chapter, we installed LaTeX and used the TeXworks editor, as well as Overleaf, to write our first document. Now, we will look at the structure of text and focus on the text details and its formatting.
In this chapter, we will talk about the following:
- Working with logical formatting
- Understanding how LaTeX reads our input
- Modifying the text fonts
- Creating our own commands
- Using boxes to limit the width of paragraphs
- Breaking lines and paragraphs
- Turning off full justification
- Displaying quotes
By working with examples and trying out new features, we shall learn some basic concepts of LaTeX. By the end of this chapter, you will be familiar with commands and environments. You will even be able to define your own commands.
Now that you've started working intensively, you may encounter error messages when there's a problem with the document code. In such a case, you can look to Chapter 13, Troubleshooting, for possible solutions.