Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
We saw earlier how useful Object Styles can be for triggering a style sequence. You apply the Object Style, it applies a Paragraph Style to the first style in that frame and then to the next style and the next style and the next style. Here is another use of Object Styles, and that is when you want to combine anchored objects in your text flow. In this text frame right here, I have anchored these pictures, which means that if I move the text frame the pictures move with it.
Let's turn on the guides. It also means that if I change the position of one of these pictures, each of which has an Object Style applied to it, I can redefine that Object Style and they will all change. By which I mean this, I am now going to move the text frame to columns 2 and 3, and then select one of the pictures and nudge that over, I am pressing my Shift key and my left arrow to move it over incrementally, and that's the position that I want the pictures to be in relative to the text.
I can now come to my Object Styles where I see this object style has been applied to all of these, I can then Redefine that and they are all going to move now in the same relationship to the text. So how do we get this in the first place? What I am going to do is I am going to turn on my beginning layer and turn off layer 1 where we see I have four empty picture frames. I am then going to come to my Mini Bridge panel, which is already cued up to the right folder, this is the Images folder inside the Exercise Files folder.
I see there the four images that I want to use. I am going to select those if I want to make a non-contiguous selection, hold down the Command or Ctrl key, and then I would drag over onto my page, and I forget the order they came in, that's not relevant here. I am just going to dump them in however they come, like so. Let's come, and now I think we can dismiss Mini Bridge. We won't be using it again. So the first problem is that the pictures have not fitted to their frames.
I could apply the frame fitting under Object > Fitting > Frame Fitting Options. And this is a good place to do it if you're doing it for a single instance. But we know that we want the same fitting options applied to all four of those picture frames and possibly to more picture frames within this document. So I am going to go directly to my Object Styles and choose New Object Style. I'll call this picture, and then what I am interested in is this, my Frame Fitting Options.
I will make sure the fitting is Fill Frame Proportionally, which works most of the time, although sometimes you will find, especially if you're working with an image that is a cutout image that this option works better. I want to align it from the center point, and I want to make sure that all of those Crop amounts are set to 0. I will also turn on Auto-Fit which is more than 50% of the time--probably just more than 50% of the time--a good thing.
I'll now click OK, and you'll see that that applies to that selected picture, but now I'll go and apply it to the others as well and the pictures now fit to the frame. But they don't yet have a relationship to the text. So that's what we need to do next. I'm going to select the first of them, position it exactly where I want it to go, and in this case exactly where I want it to go is aligned with the top of caps. So I am going to zoom in nice and big, and I am going to draw down a guide to align it with the flat top of the N, and then I'll move the picture up to that position.
This approach is going to work in InDesign CS 5.5 and later, and that approach is to grab this rectangle and drag it to where you want the image to be anchored. So great, if you have 5.5 or above, do it that way. If you don't, you have to work a bit harder. I am going to cut that from there, insert my cursor into the text, paste it, select it, come to Object > Anchored Object > Options, specify that I want it to be a Custom object.
Specify in this case that I want its Y-- its vertical position--Relative To the Cap Height, and that I want its X position-- rather than trying to do it numerically, I am just going to put my cursor into this field, and in this case, since I want a negative value, press my Down Arrow. I could also at this point click OK and just move this manually. But in doing so, there is a possibility I may disturb its Y position. So I am just going to continue to do it numerically here, holding down the Shift key to move in bigger increments.
All right, and now we are in the right position. So however you get there--and obviously you have to work a lot harder if you're working with a version earlier than 5.5-- at this point you now want to define this as an Object Style, or given the way we have approached things so far, incorporate the Anchored Object settings into the style definition. And we can do that by right- clicking on the Object Style name and choosing Redefine Style.
So now, when I come and select those three, you would expect them to be aligned exactly and anchored, but they are not. That's because even though the Anchored Object settings are applied to them, they are not yet anchored. But if were to--it doesn't matter what position they are currently in--as soon as I anchor them and then clear that override by holding down the Option or Alt key, they will go to exactly the right position. So that's how we can achieve a clear relationship between our text and our pictures.
Not just a visual relationship, but a formatting relationship as well so that if we move our text frame the pictures will move with it. And this is achieved through Anchored Objects and incorporating the Anchored Object settings into an Object Style.
Get unlimited access to all courses for just $25/month.Become a member
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.