Creating text frames and adding placeholder text
When you work within InDesign, everything sits inside a frame. In this recipe, we will look at how to create text frames in InDesign for including type within your documents. You will learn how to add placeholder text (sometimes known as lorem ipsum text), in order to give you some dummy content to work on.
We will then look at how to reposition your text frames, as well as how to resize the frames independently of the text and together with the text.
Getting ready
In order to complete this recipe, simply open InDesign on your system and create a new document with 12 pages, as shown in the Creating a new document recipe in Chapter 1.
How to do it…
In order to create text frames, add placeholder text, and then reposition and resize your text frames, follow these steps:
- Select the Type tool from the toolbar, marked as A in Figure 2.1.
- With the Type tool selected, simply click and drag (while holding the mousing button down) to create a rectangular shape on the page, at whatever size you stipulate. If you wish to create a perfect square rather than a rectangle, simply hold down the Shift key at the same time, and let go of the mouse before releasing the Shift key:
Figure 2.1: The InDesign toolbar
Tip
If you hold down the space bar during the frame creation process while still holding down the mouse button, you can temporarily move the mouse to reposition the frame. If you then release the space bar, you can continue creating your frame again.
- When you create a new text frame, the cursor can be seen blinking at the top left of the frame, and if you type on the keyboard, you will see the text appear in the frame; however, we want to generate placeholder text automatically. To automatically generate placeholder text in the frame, either go to the Type menu and select Fill with Placeholder Text or you can right-click on the text frame with the mouse and select Fill with Placeholder text from the pop-up menu that appears.
- Having created a text frame and added placeholder text you may now wish to reposition the text frame within your document. To do this, you will need to select the Selection tool, marked as B in Figure 2.1. Using this tool, you can now click on the text frame and drag it around within the document to the place you want it. In this instance, we will drag it so that the text frame touches the top and left margins, as shown in Figure 2.2:
Figure 2.2: Repositioning a text frame so that it is aligned with the top and left margins
- Having repositioned the frame so that it aligns with the top and left margins, we will now resize it so that it also aligns with the bottom and right margins. To resize a text frame, select the frame with the Selection tool, and then move the cursor to hover over the bottom right-hand corner of the frame. As you do this, you should see the cursor change to two little arrows (shown by A in Figure 2.3). When you see the two little arrows, click and hold down the mouse button, then drag the corner of the frame down to align it with the bottom and right-hand margins before releasing the mouse button.
While we have resized the object from the bottom-right corner, it is worth noting that you can resize objects in this way from any of the corners of the object, as well as from halfway through the four sides of the object:
Figure 2.3: A text frame selected and ready to be resized