summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/biblatex-contrib/biblatex-sbl/sbl-paper.tex
blob: f099fbca6305ba88e0a207f01558bcfddeda60f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
\documentclass[letterpaper,12pt]{article}

% ---------------------------------------------------------------------
% Convenience xetex/luatex engine test set up
\usepackage{ifxetex}
\usepackage{ifluatex}
\newif\ifxetexorluatex
\ifxetex
  \xetexorluatextrue
\else
  \ifluatex
    \xetexorluatextrue
  \else
    \xetexorluatexfalse
  \fi
\fi
% ---------------------------------------------------------------------


% ---------------------------------------------------------------------
% Language and font set up
% Note: Polyglossia is *not* well supported
\ifxetexorluatex
  \ifluatex
    \usepackage[nil,bidi=basic]{babel}
  \else
    \usepackage[nil,bidi=default]{babel}
  \fi
  \babelprovide[import=en-US,main]{american}
  \babelprovide[import=he]{hebrew}
  \babelprovide[import=el]{polutonikogreek}
  \babelfont[american]{rm}[Ligatures=TeX]{Linux Libertine O}
  \babelfont[hebrew]{rm}%
    [Ligatures=TeX,Contextuals=Alternate]{SBL BibLit}
  \babelfont[polutonikogreek]{rm}%
    [Ligatures=TeX,Contextuals=Alternate]{SBL BibLit}
\else
  \usepackage[polutonikogreek,american]{babel}
  \usepackage{libertineRoman}
\fi
\usepackage{csquotes}
% ---------------------------------------------------------------------


% ---------------------------------------------------------------------
% Load main style
% Pass indexing=cite to biblatex (if you want author indexing)
\PassOptionsToPackage{indexing=cite}{biblatex}
% Pass jblstyle to sbl-paper if you want double spaced footnotes
\usepackage{sbl-paper}

% Add your bib resource here
\addbibresource{biblatex-sbl.bib}
% ---------------------------------------------------------------------


% ---------------------------------------------------------------------
% Index set up (optional)
% Include separate indices for subjects, authors, and Scripture
% references

% Set up subject index
\makeindex[title=Subject Index,intoc,options=-q]

% Set up Scripture reference index
\makeindex[name=\jobname-scr,title=Scripture Reference Index,intoc,
           options=-s sbl-paper-bibleref.ist -q]
% Index Bible references in a scripture index
\renewcommand{\biblerefindex}{\index[\jobname-scr]}

% Set up Author index
\makeindex[name=\jobname-aut,title=Author Index,intoc,options=-q]
% Redefine index format so biblatex inserts names into a separate
% author index rather than the main index
\DeclareIndexNameFormat{default}{%
  \nameparts{#1}%
  \usebibmacro{index:name}
    {\index[\jobname-aut]}
    {\namepartfamily}
    {\namepartgiven}
    {\namepartprefix}
    {\namepartsuffix}}
% ---------------------------------------------------------------------


\begin{document}

\institution{[Name of Institution]}
\title{Title of Paper}
\professor{[Name of Professor]}
\course{[Course Number and Title]}
\author{[Your Name]}
\date{[Month, Day, Year]}
\maketitle

\pagenumbering{roman}

\tableofcontents

\printbiblist[heading=biblistintoc]{abbreviations}

\clearpage
\pagenumbering{arabic}

\firstsection[Primary Heading]{Primary Heading \break
  Long Titles Are Single-Spaced on Subsequent Lines}

\index{margins}%
The top margin is two inches for the first page only. There are two blank
lines between the title and the text (or subheading if there is one). The
left, right, top, and bottom margins are one inch. The first pages of chapters
are formatted like the primary heading.

Indent the first line of subsequent paragraphs. All main text should be set in
a standard 12-point font such as Times-New-Roman.

\subsection{First-Level Subheading}

Keep two blank lines between the text of the preceding section and a
subheading, regardless of the level. A first level subheading is centered,
bold, and capitalized headline style.

\subsubsection{Second-Level Subheading}

There are two blank lines between the text of the preceding section and the
subheading. A second-level subheading is centered and capitalized headline
style.

\paragraph{Third-Level Subheading}

A third level subheading is on the left margin, in bold, italics, and
capitalized headline style. A heading should never be the last text on a page.
If necessary, add extra blank space at the end of the page and begin the
following page with a heading.

\subparagraph{Fourth-Level Subheading}

A fourth-level subheading is on the left margin, capitalized headline style.

The page numbers for the noninitial pages of the paper (or chapter) are
located at the top right corner. The text of the body of the paper is
double-spaced except for blocked
quotations.
\begin{quote}
  \index{quotations!block}%
  This is a blocked quotation. It should consist of five or more lines of text
  and be indented one-half inch. Block quotations should be single-spaced. No
  quotation marks are used at the beginning or the end of the quote. Double
  quotation marks within the original matter are retained. The blocked quote
  is set off by a regular double space before and after the quote. Note that
  regular spacing resumes after the end of the quotation.\footnote{The first
  line of a footnote is indented one-half inch. A 10-point font is acceptable.
  Footnotes, unlike the main text of the paper, should be single-spaced.}
\end{quote}
After a block quotation, return to double-spaced text justified to the left
margin until you finish the paragraph.

\index{footnotes}%
Footnotes at the bottom of the page are separated by a two-inch
rule.\footnote{There should be a blank line between each note and a blank en
space between the number and the first word of the note.} Maintain subsequent
numbering in notes. Make sure a footnote and the text to which it refers are
on the same page.

\section{Citations}

\index{citations}%
Citations should be referenced using \verb+\autocite+ or \verb+\autocites+ for
citations in footnotes and \verb+\parencite+ or \verb+\parencites+ for
citations in parentheses. For example, here is a dictionary with a shorthand:
\parencite{NIDNTT}. Here's a commentary,\autocite{dahood:1965-1970} and here's
the same article referenced in two different
publications.\autocites{freedman:1977,freedman:1980}

% Use xelatex or lualatex if you need Hebrew
\section{Greek\ifxetexorluatex{} and Hebrew\fi}

\index{Greek!paragraph}Paragraph Greek:
\begin{quote}
  \selectlanguage{polutonikogreek}
  Ἐν ἀρχῇ ἦν ὁ λόγος, καὶ ὁ λόγος ἦν πρὸς τὸν θεόν, καὶ θεὸς ἦν ὁ λόγος.
  \foreignlanguage{american}{(\pibibleverse{John 1:1})}
\end{quote}
\ifxetexorluatex
  \index{Hebrew!paragraph}Paragraph Hebrew:
  \begin{quote}
    \selectlanguage{hebrew}
    \ifxetex
      \raggedleft
    \fi
    בְּרֵאשִׁית בָּרָא אֱלֹהִים אֵת הַשָּׁמַיִם וְאֵת הָאָרֶץ.
    \foreignlanguage{american}{(\pibibleverse{Genesis 1:1})}
  \end{quote}
\fi
\ifxetexorluatex
  \index{Greek!inline}Inline Greek (\foreignlanguage{polutonikogreek}{Ἐν
  ἀρχῇ}),
  \index{Greek!transliterated}transliterated Greek (\emph{En archē}),
  \index{Hebrew!inline}Hebrew (\foreignlanguage{hebrew}{בראשית}), and
  \index{Hebrew!transliterated}transliterated Hebrew (\emph{bərēʾšı̂t}).
\else
  \index{Greek!inline}Inline Greek (\foreignlanguage{polutonikogreek}{Ἐν
  ἀρχῇ}) and
  \index{Greek!transliterated}transliterated Greek (\emph{En archē}).
\fi

\appendix

\firstsection{Appendix Title}

\index{appendixes}%
There should be two blank lines between the title and the text.

Each appendix should have a number and a title, unless there is only one
appendix, in which case the appendix does not need a number. Every appendix
requires a heading, so if you are including a preexisting document you will
need to type a heading (i.e., the appendix number and title) on that document
so that it conforms to your numbered appendixes.

An appendix is formatted like the first page of a chapter, using a two-inch
top margin. Locate page numbers at the bottom center of the first page of each
appendix and at the top right corner of subsequent pages. If the appendix is
already numbered, put those page numbers in square brackets. Page numbering
for the appendixes is consecutive with the rest of the paper.

Margins for the appendixes should be the same as the rest of the paper. You
may need to reduce the content of the appendix to fit the margins.

\printbibliography[heading=bibintoc]

\singlespacing

\printindex

\printindex[\jobname-scr]

\printindex[\jobname-aut]

\end{document}