Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 07-22-2015, 01:25 AM
macropod's Avatar
macropod macropod is offline Adding Bible Verses in Header + Page Number Windows 7 64bit Adding Bible Verses in Header + Page Number Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,512
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Provided each Book starts on a new page, Word can most easily do that if you use a different odd/even page layout, and a set of three STYLEREF fields in each header (left-aligned on odd pages & right-aligned on even pages). The:
• 1st STYLEREF field would reference the Style used for the Book name
• 2nd STYLEREF field would reference the Style used for the Chapter number
• 3rd STYLEREF field would reference the Style used for the Verse number
This, of course, means formatting each Book name, Chapter number & Verse number with Styles that aren't used anywhere else in the document. You might even define Chapter number & Verse number Character Styles just for this purpose. The Book name Style could probably be done using one of Word's Heading Styles.

On the:
• odd pages the STYLEREF fields would each require no switches. The field codes on the odd pages would look like:
{STYLEREF "Book"} {={STYLEREF "Chapter"}-{={STYLEREF "Verse"}-1 \# "1;;0"} \# "0"}:{STYLEREF "Verse"}
• even pages the STYLEREF fields would each require the \l switch. The field code on the odd pages would look like:
{STYLEREF "Book"} {STYLEREF "Chapter" \l}:{ STYLEREF "Verse" \l}

where Book, Chapter & Verse are the Style names.

Note: The STYLEREF field for the even page chapters is enclosed in a formula field. To create that arrangement, all the field brace pairs (i.e. '{ }') for the field coding are created in the document itself, via Ctrl-F9 (Cmd-F9 on a Mac); you can't simply type them or copy & paste them from this message. Nor is it practicable to add them via any of the standard Word dialogues.

For further detail on the STYLEREF field, see:
https://support.office.com/en-us/art...rs=en-US&ad=US

See attached demo, which uses the 'Heading 1' Style for the Book names. The Chapter & Verse numbers use 'Chapter' & 'Verse' Character Styles, respectively
Attached Files
File Type: docx Greek Gospels.docx (388.9 KB, 42 views)
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]

Last edited by macropod; 07-22-2015 at 08:58 PM.
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding Bible Verses in Header + Page Number Change page number in header on page x of y - y has too many pages wpryan Word VBA 3 07-17-2015 07:04 AM
Adding Bible Verses in Header + Page Number Header and page number atitool Word 1 11-06-2014 06:42 AM
Adding Bible Verses in Header + Page Number How Can I Use a Page Number in a Table Header Row jqavins Word 8 01-10-2014 08:43 AM
Adding Bible Verses in Header + Page Number Adding Characters to Page Number Daved2424 Word 6 01-22-2011 07:11 PM
Header - seperate chapter, continue page number Cpt Black Word 0 02-03-2009 06:45 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:06 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft