1\documentclass[12pt]{article}
2\usepackage{hyperref}
3
4\title{Bibliography and Citations}
5\author{sublimated}
6\date{}
7
8\begin{document}
9\maketitle
10
11\section{Citing Sources}
12
13Basic citation: Knuth's seminal work~\cite{knuth1984} on algorithms.
14
15Multiple citations: see~\cite{knuth1984, lamport1994}.
16
17Parenthetical: the web was proposed in 1989~\cite{bernerslee1989}.
18
19With page numbers: Knuth discusses sorting in detail~\cite[pp.~73--180]{knuth1984}.
20
21\section{Citation Commands}
22
23The standard \verb|\cite{}| command works with any bibliography style.
24With \texttt{natbib}, you get additional commands:
25
26\begin{description}
27 \item[\texttt{\textbackslash cite}] Standard citation: [1]
28 \item[\texttt{\textbackslash citep}] Parenthetical: (Knuth, 1984)
29 \item[\texttt{\textbackslash citet}] Textual: Knuth (1984)
30 \item[\texttt{\textbackslash citeauthor}] Author only: Knuth
31 \item[\texttt{\textbackslash citeyear}] Year only: 1984
32\end{description}
33
34\section{Bibliography Styles}
35
36Common styles:
37\begin{itemize}
38 \item \texttt{plain} --- numbered, sorted alphabetically
39 \item \texttt{unsrt} --- numbered, in citation order
40 \item \texttt{alpha} --- labels like [Knu84]
41 \item \texttt{abbrv} --- abbreviated author names
42 \item \texttt{ieeetr} --- IEEE Transactions style
43 \item \texttt{acm} --- ACM style
44\end{itemize}
45
46\section{BibTeX Entry Types}
47
48\begin{description}
49 \item[\texttt{@article}] Journal article
50 \item[\texttt{@book}] Published book
51 \item[\texttt{@inproceedings}] Conference paper
52 \item[\texttt{@techreport}] Technical report
53 \item[\texttt{@phdthesis}] Doctoral dissertation
54 \item[\texttt{@misc}] Catch-all for URLs, software, datasets
55\end{description}
56
57\section{Multi-file Support}
58
59sublimated resolves \texttt{.bib} files relative to the \texttt{.tex} file.
60When you push \texttt{refs.bib} alongside your paper, citations just work.
61Editing \texttt{refs.bib} triggers cascade recompilation of all \texttt{.tex}
62files that depend on it.
63
64\bibliographystyle{plain}
65\bibliography{refs}
66
67\end{document}