Chapter 2 Formatting
2.1 Overview
Formatting should not be used for structural elements such as headers or captions. Our templates will style those elements according to a standard design. Formatting should only be done where the formatting is essential to the text. For example, bold or italics that the author is using for emphasis should be included, whereas if a (sub)section heading is italicized in the source book, that is a question of design.
Formatting is accomplished by using R-markdown. Basically, you can use anything that Pandoc supports. Where Pandoc supports multiple options, we have generally chosen a specific method. If you need to use something not mentioned below, please suggest it be added here.
2.2 Italics
Italicized text is indicated by surrounding it with single asterisks.
Here are *a couple* in italics.
2.3 Bold
Bold text is indicated by surrounding it with double asterisks.
Here are **a few words** in bold.
2.4 Small caps
I cannot think of any other circumstance where smallcaps should be used except the word Lord.
[Lord]{.smallcaps} said to my Lord, "Sit at my right hand..." The
Output: The Lord said to my Lord, “Sit at my right hand…”
2.5 Centering text
NOTE: This still needs to be implemented in the Mobi, and ePub versions. It works in PDF and HTML versions.
I cannot think of a place where text would need to be centered in the text of a book.
::: {.center data-latex=""}
Republished by Warhorn Classics :::
Output:
Republished by Warhorn Classics