Indesign aligns inline objects to the bottom. Is there a way to make it so inserting an object inline will make everything go to the top instead? I can manually accomplish this with baseline shift, but I'm looking for something I can attribute to a paragraph style that will responsively change based on the size of inline objects.

enter image description here

  • Hi there and welcome to GDSE! What do you expect will happen with the next line of text? Should it continue below the anchored objects or go through them? – Wolff Nov 19 '20 at 21:01
  • Ah, great question! I should clarify that the next line would continue below the anchored object. – Sawyer Paul Nov 19 '20 at 21:18
  • You’re thinking about this backwards, I think – it’s the object, not the text, you should shift. It’s very rare that I use the inline positioning settings for anchored objects, but I think you can choose where to align the inline positioning. Then you don’t have to fiddle with baseline shifts that have to take into account how tall the anchored objects all are. – Janus Bahs Jacquet Nov 19 '20 at 21:34
  • @JanusBahsJacquet, the problem using the anchored object options is that for inline objects the only setting is "Y Offset" which is relative to the bottom of the object. So to snap to the top, you need to do it manually taking each object's height into account. "Above Line" or "Custom" doesn't work in this case because they move the anchored objects out of the text flow. – Wolff Nov 19 '20 at 21:47
  • @Wolff You’re right – I misremembered. I thought there was a reference point option for inline positioning as well, but there isn’t. You can use Custom positioning to put it in the right place and then use text wrap to jump the object – but then there’s the annoying bug (which sadly Adobe have no plans to fix because it requires too much code rewriting) that text wrap on non-flowed anchored elements only applies to lines after the element’s containing line, so that’ll move the rest of the paragraph, but not the current line. :-/ – Janus Bahs Jacquet Nov 19 '20 at 23:14

I can't tell show you a fully automated way to do this, but I have something better than using baseline shift: simply move the inline objects.

What happens when you paste an object into a text frame isn't really that it "makes things go to the bottom". Anchored objects by default simply sits on the same line as the letters. The anchored object must stay inside the text frame, so the whole text line moves down to make room for the anchored objects.

A way to make the anchored objects hang below the baseline is to first drag them down too much to make the text move all the way to the top and then select each one of them and set their top Y-coordinate to match the top Y-coordinate of the text frame. (Sadly the anchored objects won't snap to the top of the text frame.)

If you enter more text in the text frame it will go through the anchored objects. This can be fixed by applying Jump object text wrapping to the anchored objects.

enter image description here

  • This gets me 80% of the way there. Thank you! I guess what I'm looking for is a way to make an object have Anchored Object Options allow me to set the Inline Y Offset to "-auto." That really would do it. – Sawyer Paul Nov 20 '20 at 16:26
  • I'm afraid you can't. If we know what you need this for, perhaps we could find a totally different way to do it. – Wolff Nov 20 '20 at 18:45
  • The purpose would be for questions that have inline art that all have different heights and widths. – Sawyer Paul Nov 23 '20 at 16:30
  • Can the line height (the distance to the next paragraph with inline graphics) be constant? In that case you could paste your graphics into a taller frame (as tall as the tallest graphics or more) which has an Object Style that places it correctly in all instances. I can add it to the answer if you are interested. – Wolff Nov 23 '20 at 16:49
  • Unfortunately no. If an object is smaller, the publisher wants the line to be smaller. For instance, one line would have a) and b), the next line might have c) and d), and the art for all four may have different heights. – Sawyer Paul Nov 23 '20 at 16:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.