Take the 2-minute tour ×
Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. It's 100% free, no registration required.

I have to change the size of multiple text labels in a plot, but I want to keep the labels in exactly the same position. The vertical center of each label is now aligned with a tick in the plot.

If I just increase the font size, the size increases with respect to the baseline of the text. This produces a misalignment of the vertical center of the text with respect to the ticks.

To solve the problem I could create outlines of each label, but I would like to preserve editability, so this is not the solution I'm looking for.

share|improve this question

2 Answers 2

up vote 3 down vote accepted

It's slightly tricky if you didn't start with centered text (which will increase from the center point when you increase the point size). You can work around this, though.

  • Set the transform proxy on the control panel to the bottom, right or left center depending on how the scaling needs to go and which center you need to lock in.

  • Increase the width and height of one label to the size you need (be sure that W and H are locked so they transform together.

  • Copy the W or H field value.

  • Select another label and paste into the W or H field, then repeat for the remaining labels.

It's a good idea when working with point text to set the paragraph alignment to correspond with the design requirement. If you'll be centering the text on some other object use center alignment, right-align inline labels, and so on. This makes the initial design slightly faster, but makes a big difference when you start tweaking.

share|improve this answer
    
I think that your suggestion to start with centered text works in the horizontal direction only. If a text has to be aligned with another object in the vertical direction, a change in font size influences also its vertical position. Or, I didn't fully grasp what you meant. –  VLC Apr 6 '12 at 9:24
    
You're correct. In the case where you need it centered vertically, use the left or right center proxy (as appropriate), scale one to taste then scale the rest using the copy/paste trick. I expanded the answer to cover both cases. –  Alan Gilbertson Apr 6 '12 at 19:03

You could hold Alt + Shift and drag one of the anchors of the bounding box.

share|improve this answer
    
There are two drawbacks with this approach: (1) you cannot change the size to a specific font size; (2) you have to adjust each box separately, otherwise all the labels shift as well proportionally to the size change. –  VLC Apr 5 '12 at 13:33

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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