Trouble with Bible Style Page Numbers
I'm attempting to typeset a Bible for my mom and I'm running into a few
problems and I was hoping someone here could help.
First I'll start with the easy question. I'm currently using two columns
and adding a line to separate them in the center like this:
\documentclass[twoside,twocolumn]{book}
\setlength{\columnseprule}{0.5pt}
After I use \maketitle it inserts a blank page (since it doesn't want to
start new content on a verso page) but the column separation line still
shows up. How do I get the \columnseprule and \headrule to not show up on
this blank page? It doesn't occur on any other blank pages in the
document.
Now the hard question... In the header I want the format to be < Book Name
> < Chapter # >:< Verse # > where the Chapter and Verse numbers are the
first chapter/verse that appears on the page (even [verso] page) or the
last to appear on the page (odd [recto] page). I've almost gotten the odd
page style to work but it isn't working quite right and I'm not sure why.
I have pictures to show my problem, unfortunately since this is my first
time contributing to this website I don't have enough reputation to post
pictures.
In general it seems to work OK. Most pages are shown correctly but
occasionally the verse number displayed will be off by one, either one
before or one after it should be. I suspect it has something to do with
when LaTex decides to place a page break but I don't know how to account
for that.
And I don't have the first clue how to start the even (verso) page style.
I'm trying to make my code very configurable so it is pretty complicated
but I'll try to post the applicable parts here. [If you copy and paste
this it wont compile due to the custom commands I've written for
everything... sorry.] Descriptions for the main commands are below. Thanks
for your help!
\newcommand{\jnumChapters}{0}
\newcommand{\jnumVerses}{0}
\newcommand{\jChapter}[1]{
\ifthenelse{#1=1}{\renewcommand{\jnumChapters}{#1}}
{\renewcommand{\jnumChapters}{#1}\par\bigskip\lettrine
{\ifthenelse{#1=1}
{\noindent\jverseFormat{#1}{#3}}
{#2{\jChapterNumFormat{#1}} {\jverseFormat{#1}{#3}}}}
{\ifthenelse{#1=1}
{\noindent\jverseFormat{#1}{#3}\smallskip\newline}
{\noindent {\jChapterNumFormat{#1}}
#2{\jverseFormat{#1}{#3}}\par\smallskip}}\renewcommand{\jnumVerses}{#1}}
\pagestyle{fancy}
\fancyhf{}
\fancyhead[RO]
\jChapter{< Chapter# >} formats the chapter numbers for each chapter. I
format the first chapter number of each book differently than all the
others (thus the \ifthenelse statement).
\jverse{< Verse# >}{< Paragraph Indicator >}{< Verse Text >} Formats each
verse individually. The Paragraph Indicator just lets me know if that
verse needs to start a new paragraph if the text is not going to be
formatted in verse-by-verse format.
No comments:
Post a Comment