-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathanbib.tex
64 lines (54 loc) · 1.79 KB
/
anbib.tex
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
% !TEX TS-program = XeLaTeX
\documentclass[11pt, oneside,american]{book}
\usepackage[margin=1in]{geometry} % See geometry.pdf to learn the layout options. There are lots.
\geometry{letterpaper} % ... or a4paper or a5paper or ...
\usepackage{graphicx}
\usepackage{float}
\usepackage{wrapfig}
\usepackage[american]{babel}
\usepackage[babel]{csquotes}
\usepackage{etoolbox,xkeyval,ifthen,url}
\usepackage{enumitem}
\usepackage[
backend=biber,
annotation,
loadfiles=true % this forces load of external annotations - based on naming convention
]{biblatex-chicago}
\usepackage{filecontents}
\usepackage[all]{nowidow}
\usepackage{titlesec}
\newcommand{\sectionbreak}{\clearpage}
\usepackage{hyperref}
\input{bibs_index.tex}
%the following removes the dot between the entries when \\ occurs after annotation
% the \\ is there to ensure space between the annotations from >1 contributor
% and its hard to avoid on the last line, thus this command
\renewcommand*{\finentrypunct}{}%
% the following adjusts the biblatex-chicago macros to provide a hyperlink on the citations
\DeclareFieldFormat{citehyperref}{%
\DeclareFieldAlias{bibhyperref}{noformat}% Avoid nested links
\bibhyperref{#1}}
\savebibmacro{cite}
\renewbibmacro*{cite}{%
\printtext[citehyperref]{%
\restorebibmacro{cite}%
\usebibmacro{cite}}}
% end of hyperlink patch
%SetFonts
\usepackage{fontspec}
\input{fonts.tex}
\providecommand{\tightlist}{%
\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
\setcounter{secnumdepth}{-1}
\setlist{nosep} %tighten up lists
\begin{document}
\frontmatter
\input{frontmatter/titlepage.tex}
\input{frontmatter/copyright.tex}
\input{frontmatter/preface.tex}
\input{frontmatter/intro.tex}
\mainmatter
\section{The Contributors}
\input{recommends.tex}
\printbibliography
\end{document}