Break running header onto two lines after a certain character Power Headers Forum

Avatar

Please consider registering
guest

sp_LogInOut Log In

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 4 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_TopicIcon
Break running header onto two lines after a certain character
10/03/2011
11:34 am
Avatar
Jahrod
Member
Members
Forum Posts: 6
Member Since:
10/03/2011
sp_UserOfflineSmall Offline
Is there anyway to break a running header onto two lines automatically when it sees a colon?
For instance, i sometimes have colons in my article titles, something like this:
'How to make cakes better: the ins and outs'
In my running header i would like the para to break after the colon onto a new line as some sentences look bad when just a word or two drop to the next line and it would loook neater to break at the colon. Would it be a case of having a character style applied to any article text after a colon and then setting up two seperate running header lines?
10/03/2011
11:39 am
Avatar
Harbs
Admin
Forum Posts: 201
Member Since:
12/19/2010
sp_UserOfflineSmall Offline

Sure. That's a classic use of GREP Processors.

Add a GREP Processor something like this:

Find: :

Change: \r

10/03/2011
12:21 pm
Avatar
Jahrod
Member
Members
Forum Posts: 6
Member Since:
10/03/2011
sp_UserOfflineSmall Offline

That is fanatstic. Just one slight problem, i keep losing the actual colon altogether. I would like to keep the colon on the first line and drop all text after it to the second line. Is that possible.

 

Thanks!

10/03/2011
12:27 pm
Avatar
Harbs
Admin
Forum Posts: 201
Member Since:
12/19/2010
sp_UserOfflineSmall Offline

Just add the colon into the change field:

:\r

10/03/2011
2:21 pm
Avatar
Jahrod
Member
Members
Forum Posts: 6
Member Since:
10/03/2011
sp_UserOfflineSmall Offline

Yes!

 

Thank YOU!

Forum Timezone: America/New_York

Most Users Ever Online: 197

Currently Online:
7 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

jacksonlame: 18

niftyix: 10

Ulrich Bogun: 9

jackferthomas: 8

Adrian: 8

Soyablack123: 7

Member Stats:

Guest Posters: 1

Members: 5984

Moderators: 0

Admins: 2

Forum Stats:

Groups: 3

Forums: 23

Topics: 279

Posts: 705

Newest Members: fJVrWliAHP, sSuwqLEZ, GfnwHITSlK, CTS Point, CdbfwYgAKr, WHQwfnJvpMkciRjG

Administrators: In-Tools: 11, Harbs: 201