Join David Blatner for an in-depth discussion in this video Use anchored objects, part of InDesign CC 2018 Essential Training.
- [Instructor] This graphic has been placed on my page and given a Text Wrap so that the text flows right over it. Now, this layout looks pretty good right now but what if I need to edit the text? For example, if I double-click on the text frame to switch to the Type tool and I'll select some of these text and delete it, well, now we have a problem. The graphic did not move with the caption. So, how can we tell that picture to move along with the text? To do that, we need an inline or an anchored object. Let me show you how.
First, I'm going to undo that with the Command + Z or Control + Z on Windows to get my text back. Now, I'm going to click at the end of this paragraph and just press Return or Enter to get a nice, new blank paragraph. Now I want this graphic to sit on that line as though it were text. To do that, I'm first going to choose the Selection tool, the black arrowed tool, and then I'm going to click once on the graphic frame. Now, I want to cut it to the clipboard by going to the Edit menu and choosing Cut. And next, I'm going to switch back to the Type tool, click in my blank line, and then Paste.
Now when you cut or copy with the Selection tool and then Paste with the Type tool, the object becomes an inline object. It's sitting right there on that paragraph. Now, it doesn't look quite right of course and that's because this paragraph has what's called absolute leading. I'll talk about leading in a later chapter but for right now, I'm just going to point out that I can drag over this whole line. I'm simply going to drag to the left until I select the whole line, including that graphic. Next, I'm going to go up to the Control panel and I'm going to make sure that little A icon is selected on the far left side.
Then in this field, the leading field, I'm going to choose auto from this pop-up menu. Auto leading is great for inline objects because it says, "Just take however much space you need." So that looks better, but I'm also going to make this paragraph centered by going over to the right side of my Control panel and then clicking on the little Center icon. There, that looks much better. Now this object is inline, so if I make that same kind of edit by selecting text and deleting it, you'll see the image and the caption now move together or if I add text, I'll just start typing a bunch of gibberish here, you'll see it moves down the page as I type.
That's an inline object. Okay, now let's look at another example. I'm going to choose my Zoom tool and zoom in on this side of the page over here. I had this icon sitting out in the margin and I'd like to make that an inline object. I could use that same cut and paste method that I just showed you but I'm going to show you a slightly different method. In this case, I'm going to choose the object with the Selection tool and now, I'm going to drag this little blue square. I call this the Anchor Me box.
And I can drag that blue square into the text frame. You'll see wherever I drag, I get a thick black line. That black line means this is where it's going to be anchored. But before you let go of the mouse button, you need to make a decision about if you want that object to be inline so that it actually moves into the frame at that position or if you want to be anchored in that place but stay where it is. For example, to leave it where it is, just let go of the mouse button. See how it doesn't seem like anything's changed? But it did.
It's anchored to the text where I dropped it. At this point, I can move it around my page but it's still anchored into the text and that means the object will move when I edit my text. For example, I'll double-click up here and just start typing some text. You see how the icon moves down the page? Anchored objects like this will move up and down the page but they will not move to the left or right as I edit the text. Okay, let me undo this to get back to where I was. Okay, now I'm going to use the Selection tool to drag that Anchor Me box but this time, I'm going to hold down the Shift key before I let go of the mouse button.
When you hold down the Shift key when you're dragging that Anchor Me box, it becomes an inline object. It's treated just like it's text in the story. Now in this case, the object is way too big, so let's resize it to make it smaller. I'll just Command + Shift + Drag on one of these corner handles or Control + Shift + Drag on Windows, it will make it smaller. Now I can simply drag it down on the line to set its vertical position. There we go. Now it looks like a little icon before the word. Now once again, I'm going to switch back to the Type tool by double-clicking, and then I'll come in here and type some gibberish and you'll see that the icon moves with the text.
It really is inline. Now there is one more thing I should point out about these anchored objects and that's how to get them unanchored again. To do that, you want to select it with the Selection tool, then go to the Edit menu and choose Cut, and then go back to the Edit menu and choose Paste. Now it's an unanchored object again. Now, there's a lot more that you can do with anchored and inline objects in your documents but the important thing here is to see that you can quickly set up these kinds of relationships between your text and your objects.
- Creating a new layout
- Inserting pages
- Adding text
- Inserting graphics
- Applying color and transparency
- Drawing and editing frames and paths
- Formatting objects
- Formatting text
- Creating styles for uniform formatting
- Building tables
- Adding links and interactivity
- Printing and exporting InDesign documents