Debian Codegraph @

texmf-dist/doc/latex/biblatex/examples/80-style-reading.tex

raw
1 %
2 % This file presents the 'reading' style
3 %
4 \documentclass[a4paper]{article}
5 \usepackage[T1]{fontenc}
6 \usepackage[utf8]{inputenc}
7 \usepackage[american]{babel}
8 \usepackage{csquotes}
9 \usepackage[style=reading,backend=biber]{biblatex}
10 \usepackage{tabularx}
11 \usepackage{hyperref}
12 \usepackage{booktabs}
13 \addbibresource{biblatex-examples.bib}
14 % Some generic settings:
15 \newcommand*{\cmd}[1]{\texttt{\textbackslash #1}}
16 \newcolumntype{K}{>{\ttfamily}l}
17 \newcolumntype{V}{>{\ttfamily\raggedright\let\\\tabularnewline}p{55pt}}
18 \newcolumntype{E}{>{\raggedright\let\\\tabularnewline}X}
19 \newcolumntype{H}{>{\bfseries}l}
20 \newenvironment*{inlinetable}
21 {\trivlist\footnotesize\item}
22 {\endtrivlist}
23 \begin{document}
24
25 \section*{The \texttt{reading} style}
26
27 This style is useful for personal reading lists, annotated
28 biblographies, and similar applications. It optionally adds short
29 headers to the bibliography and includes the fields
30 \texttt{annotation}, \texttt{abstract}, \texttt{library}, and
31 \texttt{file}. Which items are printed depends on package options.
32
33 \subsection*{Additional package options}
34
35 This package provides the following additional package options:
36
37 \begin{inlinetable}
38 \begin{tabularx}{\linewidth}{@{}KVKE@{}}
39 \toprule
40 \multicolumn{1}{@{}H}{Key} &
41 \multicolumn{1}{H}{Values} &
42 \multicolumn{1}{H}{Default} &
43 \multicolumn{1}{H}{Function} \\
44 \cmidrule(r){1-1}\cmidrule(lr){2-2}
45 \cmidrule(lr){3-3}\cmidrule(l){4-4}
46 entryhead & true, false, full, name & true &
47 The kind of header to print; \texttt{true} or \texttt{full} adds
48 a full header including the name, the title, and the entry key
49 (depending on the \texttt{entrykey} option) to each entry,
50 \texttt{name} adds a name header once for each author,
51 \texttt{false} disables the header\\
52 entrykey & true, false & true &
53 Whether to include the \texttt{entrykey} field in the
54 \texttt{full} header\\
55 annotation & true, false & true &
56 Whether to print the \texttt{annotation} field\\
57 abstract & true, false & true &
58 Whether to print the \texttt{abstract} field\\
59 library & true, false & true &
60 Whether to print the \texttt{library} field\\
61 file & true, false & true &
62 Whether to print the \texttt{file} field\\
63 loadfiles & true, false & true &
64 Whether to load annotations and abstracts from external files
65 (this is a standard option; see the manual for details)\\
66 \bottomrule
67 \end{tabularx}
68 \end{inlinetable}
69 %
70 On the next page, there are some examples with all options at their default setting.
71
72 \clearpage
73
74 \nocite{laufenberg,kastenholz,padhye,sigfridsson,itzhaki,wassenberg}
75 \printbibliography
76
77 \end{document}