Hello,
I have paragraphs that are interviews. The raw text looks like this:
Interviewer: This is my question...
How I want it to look:
INTERVIEWER:[non-breaking space] This is my question...
It is easy enough to make a nested style that applies small caps through to the colon. But can a style be constructed to also add the non-breaking space after the colon, which does not exist in the raw text?
Thanks,
Tom
The short answer is no, styles only style text, they can't add text that isn't there. But I'd think that would be easy to do with a simple find/change.
The slightly longer answer is a question: What purpose does the non-breaking space serve here? Couldn't you just use a nested style that ran up to (or including) your colon? If "interviewer: (firstword)" doesn't fit on one line, it isn't going to fit on the next line either.
But I'd think that would be easy to do with a simple find/change.
Yeah, that'd be much, much easier than applying the No Break attribute in a character style using Nested Styles. (No GREP styles in CS3, Willi.)
I guess it would depend on whether NBSP and normal space w/No Break attribute applied are functionally identical in this case. Can't see why they'd not be so, but I suppose it'd be possible. HTML/Dreamweaver export, perhaps.
Mary posed an important question, why a non-breaking space?
My bad, I meant to say a non-breaking fixed-width space. The fixed width is what is important because the text will be justified and I don't want to squish or stretch this space.
Willi, what is a "GREP style?" Did you mean GREP search?
Mary Posner wrote:
The short answer is no, styles only style text, they can't add text that isn't there. But I'd think that would be easy to do with a simple find/change.
The slightly longer answer is a question: What purpose does the non-breaking space serve here? Couldn't you just use a nested style that ran up to (or including) your colon? If "interviewer: (firstword)" doesn't fit on one line, it isn't going to fit on the next line either.
Did you read my post, of course a praragraph style can add text at the beginning of the paragraph.
North America
Europe, Middle East and Africa
Asia Pacific