1

I want to make this text centered within the white rectangle.

enter image description here

I have tried using the Text Frame Options and setting vertical justification to "center', but it's still not quite aligned-- there's too much space at the top.

enter image description here

I thought maybe I could add space above or below the text instead. But when I look at the Paragraph window, I don't have an option to add space above or below the paragraph. clicking on the circled tool makes space between the lines, not before the paragraph.

enter image description here enter image description here

2

The problem you have is related to the First Baseline Offset setting of the text frame.

You can access the Text Frame Options of a text frame by by selecting it and either right-clicking it and choosing Text Frame Options or pressing Cmd + B on Mac or Ctrl + B on PC.

Under the Baseline Options tab you'll find the First Baseline > Offset which specifies the vertical position of the first baseline of the text frame.

The default setting is Ascent, but as you see there are five different options.

Assuming you have set the Vertical Justification > Align to Center they will give you these different results:

Ascent, Cap Height and x Height uses info found in the font file. Leading uses the leading of the text. Fixed allows for any custom position on or below the top edge of the frame.

You should probably use Cap Height (if you want to center the text according to the uppercase letters) or x Height (if you want to center the text according to the lowercase letters).

| improve this answer | |
  • @ale19, thanks for accepting. I've just updated the answer - there was an error in the second image. – Wolff Oct 15 '19 at 17:37
  • gotcha, thanks! Do you know why I don't have an option to add space before/after a paragraph in the Paragraph menu? (Should this be a separate question?) – ale19 Oct 16 '19 at 15:21
  • 1
    @ale19, it should be a separate question, but I'll still tell you. Space before/after only works between paragraphs (which is good - would be very annoying for longer texts to constantly change style according to the paragraph's position in the text frame). If you want to raise or lower text either use the "fixed" First Baseline Offset or use Baseline Shift. – Wolff Oct 16 '19 at 15:27
  • ... or use the text frame's "Inset Spacing" to control text position. Many options. See it like a kind of programming with a lot of tools at your disposal. – Wolff Oct 16 '19 at 15:29
-2

enter image description here

First, make the frame fit the text dimensions with button 1 Second, align both with vertical middle with button 2

| improve this answer | |
  • 1
    Hi and welcome to GDSE. Sorry, but I have to downvote your answer since it give the same result as the OP already had only with two frames instead of one. – Wolff Oct 15 '19 at 16:33

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.