File: test-natbib.tex

package info (click to toggle)
vim-vimtex 2.17-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,844 kB
  • sloc: makefile: 360; python: 103
file content (55 lines) | stat: -rw-r--r-- 1,005 bytes parent folder | download
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
\documentclass{article}
\usepackage{natbib}

\begin{document}

\textit{Text goes here~\cite{Local1}.}

% Conceal example
Bla bla bla, see Ref.~\cite{Local1,Local1}. For more info, see also \cite{Local1}.

% These are only for biblatex - don't detect them
\autocite{}
\Textcite[e.g.][]{}
\smartcite{}

% Cite commands
\cite{}
\citealp*{}
\citealp{}
\citealp*{Local1}
\citealp{Local1}
\citealt*{}
\citealt{}
\citealt*{Local1}
\citealt{Local1}
\citeauthor*{}
\citeauthor*{Local1}
\citeauthor{Local1}
\citeauthor{Local1}
\citenum{}
\citenum{Local1}
\citet[e.g.][]{Local1}
\citet[e.g.][Chapter~2]{Local1}
\citep[e.g.][]{Local1}
\citep[e.g.][Chapter~2]{Local1}
\citep{Local1}
\citet*{}
\citetext{}
\citetext{priv.\ comm.}nfo, see also \cite{Local1}.
\citeyear{}
\citeyear{Local1}
\citeyearpar{}
\citeyearpar{Local1}

% Capitalized cite commands
\Citealp{Local1}
\Citealt{Local1}
\Citeauthor{Local1}
\Citep{Local1}
\Citet{Local1}

\bibliographystyle{plainnat}
\bibliography{../common/local1.bib}

\end{document}