What packages help with typesetting settings specific to religious books?











up vote
3
down vote

favorite
3












I'm looking to reprint and publish older religious books from the 19th century and earlier.



Such books usually have features not typically found in most books, and I'm finding it difficult to manually reproduce them using plain LaTeX features.



Namely:




  1. The entire book is divided into multiple "books"

  2. Each book has a heading above its first chapter, similar to a chapter heading

  3. The title{} of the entire book is also displayed above the first book{} heading

  4. Certain paragraphs are numbered incrementally, similar to Bible verses

  5. Sometimes the "verse" markers are in the margin instead of inline with the text (not depicted below)

  6. Standard margin sizes for paperback books of e.g. 6" x 9"


To clarify point #3, if the overall book was called "Imitation of Christ", i.e. title{Imitation of Christ}, and was divided into 4 untitled "books" (i.e. via book{}), then the top of the first page with book content should say "Imitation of Christ", the next line should say "Book 1", the next line should say "Chapter 1".



To give a concrete example of all these points, take these two versions of the same page:



sample pages



Are there any packages which specifically help with any of these, or ought they each to be solved manually using less specific packages?



I'm currently using memoir and microtype.










share|improve this question




















  • 2




    If you're already using memoir I think you have everything you need to replicate this kind of style. If you're having trouble with particular aspects of the formatting, create a minimal document that shows what you are doing and I'm sure people can help you.
    – Alan Munn
    Aug 24 '15 at 16:10












  • @AlanMunn But memoir doesn't have any concept of dividing a book into "books". It seems I'd either have to write my own, or use chapter as book and section as chapter, rewriting a lot of code so that the wording is accurate and the Table of Contents is styled correctly. Or maybe something else entirely, I don't know.
    – sdegutis
    Aug 24 '15 at 16:13










  • Look at Chapter 6 of the memoir manual. memoir has book, part and chapter divisions. So all you need to do is define their format as you want.
    – Alan Munn
    Aug 24 '15 at 16:27










  • @AlanMunn Excellent, I did not find that in my manual until now. Do you also know of some term I can search for that helps with "verse numbering" of specific paragraphs which show in the margin? I searched the manual for "verse" and did not find anything relevant.
    – sdegutis
    Aug 24 '15 at 16:31






  • 1




    Besides Alan’s excellent suggestions, you may find ideas in the liturg package and, to a lesser extent, in ecclesiastic and catechis. And, of course, bibleref is always useful.
    – Thérèse
    Aug 24 '15 at 23:51















up vote
3
down vote

favorite
3












I'm looking to reprint and publish older religious books from the 19th century and earlier.



Such books usually have features not typically found in most books, and I'm finding it difficult to manually reproduce them using plain LaTeX features.



Namely:




  1. The entire book is divided into multiple "books"

  2. Each book has a heading above its first chapter, similar to a chapter heading

  3. The title{} of the entire book is also displayed above the first book{} heading

  4. Certain paragraphs are numbered incrementally, similar to Bible verses

  5. Sometimes the "verse" markers are in the margin instead of inline with the text (not depicted below)

  6. Standard margin sizes for paperback books of e.g. 6" x 9"


To clarify point #3, if the overall book was called "Imitation of Christ", i.e. title{Imitation of Christ}, and was divided into 4 untitled "books" (i.e. via book{}), then the top of the first page with book content should say "Imitation of Christ", the next line should say "Book 1", the next line should say "Chapter 1".



To give a concrete example of all these points, take these two versions of the same page:



sample pages



Are there any packages which specifically help with any of these, or ought they each to be solved manually using less specific packages?



I'm currently using memoir and microtype.










share|improve this question




















  • 2




    If you're already using memoir I think you have everything you need to replicate this kind of style. If you're having trouble with particular aspects of the formatting, create a minimal document that shows what you are doing and I'm sure people can help you.
    – Alan Munn
    Aug 24 '15 at 16:10












  • @AlanMunn But memoir doesn't have any concept of dividing a book into "books". It seems I'd either have to write my own, or use chapter as book and section as chapter, rewriting a lot of code so that the wording is accurate and the Table of Contents is styled correctly. Or maybe something else entirely, I don't know.
    – sdegutis
    Aug 24 '15 at 16:13










  • Look at Chapter 6 of the memoir manual. memoir has book, part and chapter divisions. So all you need to do is define their format as you want.
    – Alan Munn
    Aug 24 '15 at 16:27










  • @AlanMunn Excellent, I did not find that in my manual until now. Do you also know of some term I can search for that helps with "verse numbering" of specific paragraphs which show in the margin? I searched the manual for "verse" and did not find anything relevant.
    – sdegutis
    Aug 24 '15 at 16:31






  • 1




    Besides Alan’s excellent suggestions, you may find ideas in the liturg package and, to a lesser extent, in ecclesiastic and catechis. And, of course, bibleref is always useful.
    – Thérèse
    Aug 24 '15 at 23:51













up vote
3
down vote

favorite
3









up vote
3
down vote

favorite
3






3





I'm looking to reprint and publish older religious books from the 19th century and earlier.



Such books usually have features not typically found in most books, and I'm finding it difficult to manually reproduce them using plain LaTeX features.



Namely:




  1. The entire book is divided into multiple "books"

  2. Each book has a heading above its first chapter, similar to a chapter heading

  3. The title{} of the entire book is also displayed above the first book{} heading

  4. Certain paragraphs are numbered incrementally, similar to Bible verses

  5. Sometimes the "verse" markers are in the margin instead of inline with the text (not depicted below)

  6. Standard margin sizes for paperback books of e.g. 6" x 9"


To clarify point #3, if the overall book was called "Imitation of Christ", i.e. title{Imitation of Christ}, and was divided into 4 untitled "books" (i.e. via book{}), then the top of the first page with book content should say "Imitation of Christ", the next line should say "Book 1", the next line should say "Chapter 1".



To give a concrete example of all these points, take these two versions of the same page:



sample pages



Are there any packages which specifically help with any of these, or ought they each to be solved manually using less specific packages?



I'm currently using memoir and microtype.










share|improve this question















I'm looking to reprint and publish older religious books from the 19th century and earlier.



Such books usually have features not typically found in most books, and I'm finding it difficult to manually reproduce them using plain LaTeX features.



Namely:




  1. The entire book is divided into multiple "books"

  2. Each book has a heading above its first chapter, similar to a chapter heading

  3. The title{} of the entire book is also displayed above the first book{} heading

  4. Certain paragraphs are numbered incrementally, similar to Bible verses

  5. Sometimes the "verse" markers are in the margin instead of inline with the text (not depicted below)

  6. Standard margin sizes for paperback books of e.g. 6" x 9"


To clarify point #3, if the overall book was called "Imitation of Christ", i.e. title{Imitation of Christ}, and was divided into 4 untitled "books" (i.e. via book{}), then the top of the first page with book content should say "Imitation of Christ", the next line should say "Book 1", the next line should say "Chapter 1".



To give a concrete example of all these points, take these two versions of the same page:



sample pages



Are there any packages which specifically help with any of these, or ought they each to be solved manually using less specific packages?



I'm currently using memoir and microtype.







packages memoir book-design






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Aug 25 '15 at 17:30

























asked Aug 24 '15 at 16:05









sdegutis

27718




27718








  • 2




    If you're already using memoir I think you have everything you need to replicate this kind of style. If you're having trouble with particular aspects of the formatting, create a minimal document that shows what you are doing and I'm sure people can help you.
    – Alan Munn
    Aug 24 '15 at 16:10












  • @AlanMunn But memoir doesn't have any concept of dividing a book into "books". It seems I'd either have to write my own, or use chapter as book and section as chapter, rewriting a lot of code so that the wording is accurate and the Table of Contents is styled correctly. Or maybe something else entirely, I don't know.
    – sdegutis
    Aug 24 '15 at 16:13










  • Look at Chapter 6 of the memoir manual. memoir has book, part and chapter divisions. So all you need to do is define their format as you want.
    – Alan Munn
    Aug 24 '15 at 16:27










  • @AlanMunn Excellent, I did not find that in my manual until now. Do you also know of some term I can search for that helps with "verse numbering" of specific paragraphs which show in the margin? I searched the manual for "verse" and did not find anything relevant.
    – sdegutis
    Aug 24 '15 at 16:31






  • 1




    Besides Alan’s excellent suggestions, you may find ideas in the liturg package and, to a lesser extent, in ecclesiastic and catechis. And, of course, bibleref is always useful.
    – Thérèse
    Aug 24 '15 at 23:51














  • 2




    If you're already using memoir I think you have everything you need to replicate this kind of style. If you're having trouble with particular aspects of the formatting, create a minimal document that shows what you are doing and I'm sure people can help you.
    – Alan Munn
    Aug 24 '15 at 16:10












  • @AlanMunn But memoir doesn't have any concept of dividing a book into "books". It seems I'd either have to write my own, or use chapter as book and section as chapter, rewriting a lot of code so that the wording is accurate and the Table of Contents is styled correctly. Or maybe something else entirely, I don't know.
    – sdegutis
    Aug 24 '15 at 16:13










  • Look at Chapter 6 of the memoir manual. memoir has book, part and chapter divisions. So all you need to do is define their format as you want.
    – Alan Munn
    Aug 24 '15 at 16:27










  • @AlanMunn Excellent, I did not find that in my manual until now. Do you also know of some term I can search for that helps with "verse numbering" of specific paragraphs which show in the margin? I searched the manual for "verse" and did not find anything relevant.
    – sdegutis
    Aug 24 '15 at 16:31






  • 1




    Besides Alan’s excellent suggestions, you may find ideas in the liturg package and, to a lesser extent, in ecclesiastic and catechis. And, of course, bibleref is always useful.
    – Thérèse
    Aug 24 '15 at 23:51








2




2




If you're already using memoir I think you have everything you need to replicate this kind of style. If you're having trouble with particular aspects of the formatting, create a minimal document that shows what you are doing and I'm sure people can help you.
– Alan Munn
Aug 24 '15 at 16:10






If you're already using memoir I think you have everything you need to replicate this kind of style. If you're having trouble with particular aspects of the formatting, create a minimal document that shows what you are doing and I'm sure people can help you.
– Alan Munn
Aug 24 '15 at 16:10














@AlanMunn But memoir doesn't have any concept of dividing a book into "books". It seems I'd either have to write my own, or use chapter as book and section as chapter, rewriting a lot of code so that the wording is accurate and the Table of Contents is styled correctly. Or maybe something else entirely, I don't know.
– sdegutis
Aug 24 '15 at 16:13




@AlanMunn But memoir doesn't have any concept of dividing a book into "books". It seems I'd either have to write my own, or use chapter as book and section as chapter, rewriting a lot of code so that the wording is accurate and the Table of Contents is styled correctly. Or maybe something else entirely, I don't know.
– sdegutis
Aug 24 '15 at 16:13












Look at Chapter 6 of the memoir manual. memoir has book, part and chapter divisions. So all you need to do is define their format as you want.
– Alan Munn
Aug 24 '15 at 16:27




Look at Chapter 6 of the memoir manual. memoir has book, part and chapter divisions. So all you need to do is define their format as you want.
– Alan Munn
Aug 24 '15 at 16:27












@AlanMunn Excellent, I did not find that in my manual until now. Do you also know of some term I can search for that helps with "verse numbering" of specific paragraphs which show in the margin? I searched the manual for "verse" and did not find anything relevant.
– sdegutis
Aug 24 '15 at 16:31




@AlanMunn Excellent, I did not find that in my manual until now. Do you also know of some term I can search for that helps with "verse numbering" of specific paragraphs which show in the margin? I searched the manual for "verse" and did not find anything relevant.
– sdegutis
Aug 24 '15 at 16:31




1




1




Besides Alan’s excellent suggestions, you may find ideas in the liturg package and, to a lesser extent, in ecclesiastic and catechis. And, of course, bibleref is always useful.
– Thérèse
Aug 24 '15 at 23:51




Besides Alan’s excellent suggestions, you may find ideas in the liturg package and, to a lesser extent, in ecclesiastic and catechis. And, of course, bibleref is always useful.
– Thérèse
Aug 24 '15 at 23:51










2 Answers
2






active

oldest

votes

















up vote
6
down vote



accepted










The memoirclass provides automatically book and chapter divisions, so the main issue is setting up the formatting to the way you like them. Verses in the bible are functionally equivalent to sections, so you can use the section for your verses. But since you can rename commands easily, you can create a verse command that is section underneath, and keep the markup semantic.



Here's a mockup of the Bible to get you started. Since it is likely that you will be using nice fonts, I would compile this with XeLaTeX or LuaLaTeX, which allows you to use any OpenType or TrueType font on your system. (Make sure your source file is UTF-8 encoded.)



The standard book command starts a new page, so you would need to change that appropriately. I haven't added anything for the header/footer, but you should be able to do that yourself by following the memoir manual.



The code the the margin number is adapted from the memoir manual. I have added code in the printbooktitle command to save the name of the book so that it can be reused in the chapter formatting. Finally by using letversesection we can keep the markup semantic: verse is now identical to whatever section.



% !TEX encoding = UTF-8 Unicode
% !TEX TS-program = XeLaTeX
documentclass[oneside]{memoir}
% due to a bug in memoir (as of 2015/8/24) [twoside] option will give a spurious space
% this will be fixed as memoir gets updated
counterwithin{section}{chapter}
chapterstyle{section}
newcommand*{thebooktitle}{}
renewcommand*{printbooktitle}[1]{gdefthebooktitle{#1}booktitlefont #1}
renewcommand*{printchapternum}{chapnumfontthebooktitle thechapter}
renewcommand{thesection}{arabic{section}}
newcommand{marginbox}[1]{%
parbox[t][0pt]{6em}{bfserieshugeraggedleftleavevmode #1}}
newcommand{marginhead}[1]{%
{llap{marginbox{#1}kern1em}}}
setsecindent{0em}
setaftersecskip{0em}
setsecheadstyle{marginhead}
letversesection
abnormalparskip{6pt}
begin{document}
mainmatter
book{Genesis}
chapter{}
verse{}In the beginning God created the heavens
and the earth. Now the earth was formless and
empty, darkness was over the surface of the deep,
and the Spirit of God was hovering over the
waters.

And God said, ‘Let there be light,’ and there was
light. God saw that the light was good, and he
separated the light from the darkness. God called
the light ‘day’, and the darkness he called
‘night’. And there was evening, and there was
morning – the first day.

And God said, ‘Let there be a vault between the
waters to separate water from water.’ So God made
the vault and separated the water under the vault
from the water above it. And it was so. God called
the vault ‘sky’. And there was evening, and there
was morning – the second day.

And God said, ‘Let the water under the sky be
gathered to one place, and let dry ground appear.’
And it was so. God called the dry ground ‘land’,
and the gathered waters he called ‘seas’. And God
saw that it was good.

bigskipldots

verse{} Thus the heavens and the earth were
completed in all their vast array.

By the seventh day God had finished the work he
had been doing; so on the seventh day he rested
from all his work. Then God blessed the seventh
day and made it holy, because on it he rested from
all the work of creating that he had done.

end{document}


enter image description hereenter image description here






share|improve this answer























  • Thanks! I was not expecting this comprehensive of an answer, pleasantly surprised. However, there seems to be one difference in your answer from my question. In my point #3, I meant if the book was called "Imitation of Christ" and was comprised of 4 untitled sections, or "books", then "Imitation of Christ" would be at the top, followed by "Book 1" under it, followed by "Chapter 1" etc.. I'll edit my question to clarify this.
    – sdegutis
    Aug 25 '15 at 17:28










  • @sdegutis yes your question was clear but as I mentioned in my answer the standard heading for book in memoir makes a new page. But this can be can be changed. I just wanted to show what you can do already with the class.
    – Alan Munn
    Aug 25 '15 at 18:58


















up vote
0
down vote













@sdegutis did you eventually solve the question wrt the best package for religious books/bible? I am undertaking writing up a custom bible which has books, sections, sub sections, chapters and verses. I am new to latex/mitex and trying to start out right. I am still learning the commands.





share





















    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "85"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f262947%2fwhat-packages-help-with-typesetting-settings-specific-to-religious-books%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    6
    down vote



    accepted










    The memoirclass provides automatically book and chapter divisions, so the main issue is setting up the formatting to the way you like them. Verses in the bible are functionally equivalent to sections, so you can use the section for your verses. But since you can rename commands easily, you can create a verse command that is section underneath, and keep the markup semantic.



    Here's a mockup of the Bible to get you started. Since it is likely that you will be using nice fonts, I would compile this with XeLaTeX or LuaLaTeX, which allows you to use any OpenType or TrueType font on your system. (Make sure your source file is UTF-8 encoded.)



    The standard book command starts a new page, so you would need to change that appropriately. I haven't added anything for the header/footer, but you should be able to do that yourself by following the memoir manual.



    The code the the margin number is adapted from the memoir manual. I have added code in the printbooktitle command to save the name of the book so that it can be reused in the chapter formatting. Finally by using letversesection we can keep the markup semantic: verse is now identical to whatever section.



    % !TEX encoding = UTF-8 Unicode
    % !TEX TS-program = XeLaTeX
    documentclass[oneside]{memoir}
    % due to a bug in memoir (as of 2015/8/24) [twoside] option will give a spurious space
    % this will be fixed as memoir gets updated
    counterwithin{section}{chapter}
    chapterstyle{section}
    newcommand*{thebooktitle}{}
    renewcommand*{printbooktitle}[1]{gdefthebooktitle{#1}booktitlefont #1}
    renewcommand*{printchapternum}{chapnumfontthebooktitle thechapter}
    renewcommand{thesection}{arabic{section}}
    newcommand{marginbox}[1]{%
    parbox[t][0pt]{6em}{bfserieshugeraggedleftleavevmode #1}}
    newcommand{marginhead}[1]{%
    {llap{marginbox{#1}kern1em}}}
    setsecindent{0em}
    setaftersecskip{0em}
    setsecheadstyle{marginhead}
    letversesection
    abnormalparskip{6pt}
    begin{document}
    mainmatter
    book{Genesis}
    chapter{}
    verse{}In the beginning God created the heavens
    and the earth. Now the earth was formless and
    empty, darkness was over the surface of the deep,
    and the Spirit of God was hovering over the
    waters.

    And God said, ‘Let there be light,’ and there was
    light. God saw that the light was good, and he
    separated the light from the darkness. God called
    the light ‘day’, and the darkness he called
    ‘night’. And there was evening, and there was
    morning – the first day.

    And God said, ‘Let there be a vault between the
    waters to separate water from water.’ So God made
    the vault and separated the water under the vault
    from the water above it. And it was so. God called
    the vault ‘sky’. And there was evening, and there
    was morning – the second day.

    And God said, ‘Let the water under the sky be
    gathered to one place, and let dry ground appear.’
    And it was so. God called the dry ground ‘land’,
    and the gathered waters he called ‘seas’. And God
    saw that it was good.

    bigskipldots

    verse{} Thus the heavens and the earth were
    completed in all their vast array.

    By the seventh day God had finished the work he
    had been doing; so on the seventh day he rested
    from all his work. Then God blessed the seventh
    day and made it holy, because on it he rested from
    all the work of creating that he had done.

    end{document}


    enter image description hereenter image description here






    share|improve this answer























    • Thanks! I was not expecting this comprehensive of an answer, pleasantly surprised. However, there seems to be one difference in your answer from my question. In my point #3, I meant if the book was called "Imitation of Christ" and was comprised of 4 untitled sections, or "books", then "Imitation of Christ" would be at the top, followed by "Book 1" under it, followed by "Chapter 1" etc.. I'll edit my question to clarify this.
      – sdegutis
      Aug 25 '15 at 17:28










    • @sdegutis yes your question was clear but as I mentioned in my answer the standard heading for book in memoir makes a new page. But this can be can be changed. I just wanted to show what you can do already with the class.
      – Alan Munn
      Aug 25 '15 at 18:58















    up vote
    6
    down vote



    accepted










    The memoirclass provides automatically book and chapter divisions, so the main issue is setting up the formatting to the way you like them. Verses in the bible are functionally equivalent to sections, so you can use the section for your verses. But since you can rename commands easily, you can create a verse command that is section underneath, and keep the markup semantic.



    Here's a mockup of the Bible to get you started. Since it is likely that you will be using nice fonts, I would compile this with XeLaTeX or LuaLaTeX, which allows you to use any OpenType or TrueType font on your system. (Make sure your source file is UTF-8 encoded.)



    The standard book command starts a new page, so you would need to change that appropriately. I haven't added anything for the header/footer, but you should be able to do that yourself by following the memoir manual.



    The code the the margin number is adapted from the memoir manual. I have added code in the printbooktitle command to save the name of the book so that it can be reused in the chapter formatting. Finally by using letversesection we can keep the markup semantic: verse is now identical to whatever section.



    % !TEX encoding = UTF-8 Unicode
    % !TEX TS-program = XeLaTeX
    documentclass[oneside]{memoir}
    % due to a bug in memoir (as of 2015/8/24) [twoside] option will give a spurious space
    % this will be fixed as memoir gets updated
    counterwithin{section}{chapter}
    chapterstyle{section}
    newcommand*{thebooktitle}{}
    renewcommand*{printbooktitle}[1]{gdefthebooktitle{#1}booktitlefont #1}
    renewcommand*{printchapternum}{chapnumfontthebooktitle thechapter}
    renewcommand{thesection}{arabic{section}}
    newcommand{marginbox}[1]{%
    parbox[t][0pt]{6em}{bfserieshugeraggedleftleavevmode #1}}
    newcommand{marginhead}[1]{%
    {llap{marginbox{#1}kern1em}}}
    setsecindent{0em}
    setaftersecskip{0em}
    setsecheadstyle{marginhead}
    letversesection
    abnormalparskip{6pt}
    begin{document}
    mainmatter
    book{Genesis}
    chapter{}
    verse{}In the beginning God created the heavens
    and the earth. Now the earth was formless and
    empty, darkness was over the surface of the deep,
    and the Spirit of God was hovering over the
    waters.

    And God said, ‘Let there be light,’ and there was
    light. God saw that the light was good, and he
    separated the light from the darkness. God called
    the light ‘day’, and the darkness he called
    ‘night’. And there was evening, and there was
    morning – the first day.

    And God said, ‘Let there be a vault between the
    waters to separate water from water.’ So God made
    the vault and separated the water under the vault
    from the water above it. And it was so. God called
    the vault ‘sky’. And there was evening, and there
    was morning – the second day.

    And God said, ‘Let the water under the sky be
    gathered to one place, and let dry ground appear.’
    And it was so. God called the dry ground ‘land’,
    and the gathered waters he called ‘seas’. And God
    saw that it was good.

    bigskipldots

    verse{} Thus the heavens and the earth were
    completed in all their vast array.

    By the seventh day God had finished the work he
    had been doing; so on the seventh day he rested
    from all his work. Then God blessed the seventh
    day and made it holy, because on it he rested from
    all the work of creating that he had done.

    end{document}


    enter image description hereenter image description here






    share|improve this answer























    • Thanks! I was not expecting this comprehensive of an answer, pleasantly surprised. However, there seems to be one difference in your answer from my question. In my point #3, I meant if the book was called "Imitation of Christ" and was comprised of 4 untitled sections, or "books", then "Imitation of Christ" would be at the top, followed by "Book 1" under it, followed by "Chapter 1" etc.. I'll edit my question to clarify this.
      – sdegutis
      Aug 25 '15 at 17:28










    • @sdegutis yes your question was clear but as I mentioned in my answer the standard heading for book in memoir makes a new page. But this can be can be changed. I just wanted to show what you can do already with the class.
      – Alan Munn
      Aug 25 '15 at 18:58













    up vote
    6
    down vote



    accepted







    up vote
    6
    down vote



    accepted






    The memoirclass provides automatically book and chapter divisions, so the main issue is setting up the formatting to the way you like them. Verses in the bible are functionally equivalent to sections, so you can use the section for your verses. But since you can rename commands easily, you can create a verse command that is section underneath, and keep the markup semantic.



    Here's a mockup of the Bible to get you started. Since it is likely that you will be using nice fonts, I would compile this with XeLaTeX or LuaLaTeX, which allows you to use any OpenType or TrueType font on your system. (Make sure your source file is UTF-8 encoded.)



    The standard book command starts a new page, so you would need to change that appropriately. I haven't added anything for the header/footer, but you should be able to do that yourself by following the memoir manual.



    The code the the margin number is adapted from the memoir manual. I have added code in the printbooktitle command to save the name of the book so that it can be reused in the chapter formatting. Finally by using letversesection we can keep the markup semantic: verse is now identical to whatever section.



    % !TEX encoding = UTF-8 Unicode
    % !TEX TS-program = XeLaTeX
    documentclass[oneside]{memoir}
    % due to a bug in memoir (as of 2015/8/24) [twoside] option will give a spurious space
    % this will be fixed as memoir gets updated
    counterwithin{section}{chapter}
    chapterstyle{section}
    newcommand*{thebooktitle}{}
    renewcommand*{printbooktitle}[1]{gdefthebooktitle{#1}booktitlefont #1}
    renewcommand*{printchapternum}{chapnumfontthebooktitle thechapter}
    renewcommand{thesection}{arabic{section}}
    newcommand{marginbox}[1]{%
    parbox[t][0pt]{6em}{bfserieshugeraggedleftleavevmode #1}}
    newcommand{marginhead}[1]{%
    {llap{marginbox{#1}kern1em}}}
    setsecindent{0em}
    setaftersecskip{0em}
    setsecheadstyle{marginhead}
    letversesection
    abnormalparskip{6pt}
    begin{document}
    mainmatter
    book{Genesis}
    chapter{}
    verse{}In the beginning God created the heavens
    and the earth. Now the earth was formless and
    empty, darkness was over the surface of the deep,
    and the Spirit of God was hovering over the
    waters.

    And God said, ‘Let there be light,’ and there was
    light. God saw that the light was good, and he
    separated the light from the darkness. God called
    the light ‘day’, and the darkness he called
    ‘night’. And there was evening, and there was
    morning – the first day.

    And God said, ‘Let there be a vault between the
    waters to separate water from water.’ So God made
    the vault and separated the water under the vault
    from the water above it. And it was so. God called
    the vault ‘sky’. And there was evening, and there
    was morning – the second day.

    And God said, ‘Let the water under the sky be
    gathered to one place, and let dry ground appear.’
    And it was so. God called the dry ground ‘land’,
    and the gathered waters he called ‘seas’. And God
    saw that it was good.

    bigskipldots

    verse{} Thus the heavens and the earth were
    completed in all their vast array.

    By the seventh day God had finished the work he
    had been doing; so on the seventh day he rested
    from all his work. Then God blessed the seventh
    day and made it holy, because on it he rested from
    all the work of creating that he had done.

    end{document}


    enter image description hereenter image description here






    share|improve this answer














    The memoirclass provides automatically book and chapter divisions, so the main issue is setting up the formatting to the way you like them. Verses in the bible are functionally equivalent to sections, so you can use the section for your verses. But since you can rename commands easily, you can create a verse command that is section underneath, and keep the markup semantic.



    Here's a mockup of the Bible to get you started. Since it is likely that you will be using nice fonts, I would compile this with XeLaTeX or LuaLaTeX, which allows you to use any OpenType or TrueType font on your system. (Make sure your source file is UTF-8 encoded.)



    The standard book command starts a new page, so you would need to change that appropriately. I haven't added anything for the header/footer, but you should be able to do that yourself by following the memoir manual.



    The code the the margin number is adapted from the memoir manual. I have added code in the printbooktitle command to save the name of the book so that it can be reused in the chapter formatting. Finally by using letversesection we can keep the markup semantic: verse is now identical to whatever section.



    % !TEX encoding = UTF-8 Unicode
    % !TEX TS-program = XeLaTeX
    documentclass[oneside]{memoir}
    % due to a bug in memoir (as of 2015/8/24) [twoside] option will give a spurious space
    % this will be fixed as memoir gets updated
    counterwithin{section}{chapter}
    chapterstyle{section}
    newcommand*{thebooktitle}{}
    renewcommand*{printbooktitle}[1]{gdefthebooktitle{#1}booktitlefont #1}
    renewcommand*{printchapternum}{chapnumfontthebooktitle thechapter}
    renewcommand{thesection}{arabic{section}}
    newcommand{marginbox}[1]{%
    parbox[t][0pt]{6em}{bfserieshugeraggedleftleavevmode #1}}
    newcommand{marginhead}[1]{%
    {llap{marginbox{#1}kern1em}}}
    setsecindent{0em}
    setaftersecskip{0em}
    setsecheadstyle{marginhead}
    letversesection
    abnormalparskip{6pt}
    begin{document}
    mainmatter
    book{Genesis}
    chapter{}
    verse{}In the beginning God created the heavens
    and the earth. Now the earth was formless and
    empty, darkness was over the surface of the deep,
    and the Spirit of God was hovering over the
    waters.

    And God said, ‘Let there be light,’ and there was
    light. God saw that the light was good, and he
    separated the light from the darkness. God called
    the light ‘day’, and the darkness he called
    ‘night’. And there was evening, and there was
    morning – the first day.

    And God said, ‘Let there be a vault between the
    waters to separate water from water.’ So God made
    the vault and separated the water under the vault
    from the water above it. And it was so. God called
    the vault ‘sky’. And there was evening, and there
    was morning – the second day.

    And God said, ‘Let the water under the sky be
    gathered to one place, and let dry ground appear.’
    And it was so. God called the dry ground ‘land’,
    and the gathered waters he called ‘seas’. And God
    saw that it was good.

    bigskipldots

    verse{} Thus the heavens and the earth were
    completed in all their vast array.

    By the seventh day God had finished the work he
    had been doing; so on the seventh day he rested
    from all his work. Then God blessed the seventh
    day and made it holy, because on it he rested from
    all the work of creating that he had done.

    end{document}


    enter image description hereenter image description here







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Aug 24 '15 at 19:35

























    answered Aug 24 '15 at 19:25









    Alan Munn

    158k27423696




    158k27423696












    • Thanks! I was not expecting this comprehensive of an answer, pleasantly surprised. However, there seems to be one difference in your answer from my question. In my point #3, I meant if the book was called "Imitation of Christ" and was comprised of 4 untitled sections, or "books", then "Imitation of Christ" would be at the top, followed by "Book 1" under it, followed by "Chapter 1" etc.. I'll edit my question to clarify this.
      – sdegutis
      Aug 25 '15 at 17:28










    • @sdegutis yes your question was clear but as I mentioned in my answer the standard heading for book in memoir makes a new page. But this can be can be changed. I just wanted to show what you can do already with the class.
      – Alan Munn
      Aug 25 '15 at 18:58


















    • Thanks! I was not expecting this comprehensive of an answer, pleasantly surprised. However, there seems to be one difference in your answer from my question. In my point #3, I meant if the book was called "Imitation of Christ" and was comprised of 4 untitled sections, or "books", then "Imitation of Christ" would be at the top, followed by "Book 1" under it, followed by "Chapter 1" etc.. I'll edit my question to clarify this.
      – sdegutis
      Aug 25 '15 at 17:28










    • @sdegutis yes your question was clear but as I mentioned in my answer the standard heading for book in memoir makes a new page. But this can be can be changed. I just wanted to show what you can do already with the class.
      – Alan Munn
      Aug 25 '15 at 18:58
















    Thanks! I was not expecting this comprehensive of an answer, pleasantly surprised. However, there seems to be one difference in your answer from my question. In my point #3, I meant if the book was called "Imitation of Christ" and was comprised of 4 untitled sections, or "books", then "Imitation of Christ" would be at the top, followed by "Book 1" under it, followed by "Chapter 1" etc.. I'll edit my question to clarify this.
    – sdegutis
    Aug 25 '15 at 17:28




    Thanks! I was not expecting this comprehensive of an answer, pleasantly surprised. However, there seems to be one difference in your answer from my question. In my point #3, I meant if the book was called "Imitation of Christ" and was comprised of 4 untitled sections, or "books", then "Imitation of Christ" would be at the top, followed by "Book 1" under it, followed by "Chapter 1" etc.. I'll edit my question to clarify this.
    – sdegutis
    Aug 25 '15 at 17:28












    @sdegutis yes your question was clear but as I mentioned in my answer the standard heading for book in memoir makes a new page. But this can be can be changed. I just wanted to show what you can do already with the class.
    – Alan Munn
    Aug 25 '15 at 18:58




    @sdegutis yes your question was clear but as I mentioned in my answer the standard heading for book in memoir makes a new page. But this can be can be changed. I just wanted to show what you can do already with the class.
    – Alan Munn
    Aug 25 '15 at 18:58










    up vote
    0
    down vote













    @sdegutis did you eventually solve the question wrt the best package for religious books/bible? I am undertaking writing up a custom bible which has books, sections, sub sections, chapters and verses. I am new to latex/mitex and trying to start out right. I am still learning the commands.





    share

























      up vote
      0
      down vote













      @sdegutis did you eventually solve the question wrt the best package for religious books/bible? I am undertaking writing up a custom bible which has books, sections, sub sections, chapters and verses. I am new to latex/mitex and trying to start out right. I am still learning the commands.





      share























        up vote
        0
        down vote










        up vote
        0
        down vote









        @sdegutis did you eventually solve the question wrt the best package for religious books/bible? I am undertaking writing up a custom bible which has books, sections, sub sections, chapters and verses. I am new to latex/mitex and trying to start out right. I am still learning the commands.





        share












        @sdegutis did you eventually solve the question wrt the best package for religious books/bible? I am undertaking writing up a custom bible which has books, sections, sub sections, chapters and verses. I am new to latex/mitex and trying to start out right. I am still learning the commands.






        share











        share


        share










        answered 24 secs ago









        Gert

        257




        257






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f262947%2fwhat-packages-help-with-typesetting-settings-specific-to-religious-books%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Accessing regular linux commands in Huawei's Dopra Linux

            Can't connect RFCOMM socket: Host is down

            Kernel panic - not syncing: Fatal Exception in Interrupt