Setting Poetry, Flush Left, Center on Longest Line
It's a common request, and it's not too hard to manage with a little trick.
Every so often I hear a cry for help on the subject of setting poetry. The request is usually something like “how do I set a poem on a page so that the longest line is centered.”
It’s easy to center all the lines on the page, but that’s rarely what publishers want. So how can you keep your text flush-left (left aligned, ragged right) and center that longest line?
My favorite trick is:
- Place the whole poem inside a text frame. Make sure no extra blank lines are in there. (The last line should not end with a return.)
- Double-click the lower-right text frame handle with the Selection tool. This resizes the frame to fit the text along the right and bottom edges.
- Cut the frame to the clipboard with the Selection tool.
- Paste the frame into a larger text frame (probably the main text frame that spans from margin to margin on the page) with the Type tool. This pastes the frame in as an inline object on its own paragraph.
- Click outside the poem frame, in the larger frame, and choose Horizontal Alignment to center it.
Once you do it two or three times, it goes much faster than it takes to read the above instructions.
Here it is in pictures… first the original text frame:

Then, after the poems cut out and paste into their own frames, we double-click the bottom-right handles to Fit Frame to Content:

Finally, we paste the frames in as inline objects, and add some headings:

Are there other clever ways you have achieved this same result?
This article was last modified on July 12, 2021
This article was first published on February 16, 2011
Commenting is easier and faster when you're logged in!
Recommended for you
Making an Object or Text Change Based on Left or Right Page
You want an object or text to look one way on a left page, but look different on...
How to Anchor a Graphic to Text in InDesign
Learn how to anchor a graphic to text in InDesign so that they travel together a...
I Should Have Known That
Sometimes you learn something that is new to you, but obvious to others. I compi...
