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 a paragraph that looks like this:

NN TitleA TitleB [alt-tab character to push to the right] [an image]

Then in the paragraph style I set the first word, which is always a number to characterStyle A. After the first word I set the characterStyle B, which includes the

TitleA TitleB [alt-tab character to push to the right] [an image]

part. But this is not what I need. I need characterStyle B only for

TitleA TitleB

and characterStyle C to the

[alt-tab character to push to the right] [an image]

part.

share|improve this question
1  
So what is the question, exactly? How to do this automatically? How to find it using GREP? –  Lauren Ipsum Feb 20 '13 at 16:04
    
yes, I don't know how to write a regexp... :s In my need it would be the alt-tab char not included in any charStyle –  Totty Feb 20 '13 at 16:11
    
@Totty you don't need to code regex 99% of the time, it's got a handy tool where you choose bits of logic from drop down lists. –  user568458 Feb 20 '13 at 17:11
    
p.s. please clarify the alt-tab / shift-tab thing –  user568458 Feb 20 '13 at 17:16
    
I don't know, try to write "aa" then shift-tab and then type "bb". You will see that the "aa" is on the left and "bb" aligned to the right. I've seen this in some lynda tutorials 3 years ago –  Totty Feb 21 '13 at 9:05

1 Answer 1

up vote 2 down vote accepted

You may assign your second Character style to be applied up to 1 Tab Character like this:

enter image description here

and apply your third Character style as the paragraph default (i.e. set the paragraph formatting equal to the formatting of Character Style C).

Now, to exclude the Shift+Tab character from the process, if your text boxes all have equal widths, you can use a simple Tab character - go to the Tabs panel of the paragraph style, click on the ruler, drag the newly appeared tab arrow to the right of the white area and click the Right-jusified tab button. Now a simple tab character will align your images to the right of the paragraph.

share|improve this answer
    
doesnt work :s with a real tab it works but not with an alt-tab tab.. –  Totty Feb 20 '13 at 16:43
    
how to set the default style –  Totty Feb 20 '13 at 16:46
    
I think the problem is still with the tab vs alt-tab (still didn't figured out how to apply a default character style, by paragraph style) –  Totty Feb 20 '13 at 16:48
1  
By default character style I mean simply set all the paragraph formatting identical to your Character style C. And what exactly is an Alt+Tab character? As far as I can guess this is a Mac shortcut for "Indent to Here" - if it's really so, then it's selectable in the Nested Styles window as well. –  Const Feb 20 '13 at 16:55
    
shift-tab, excuse me! –  Totty Feb 20 '13 at 16:57

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.