File: test_jobname.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 (25 lines) | stat: -rw-r--r-- 513 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
\documentclass{article}
\usepackage{natbib}
\usepackage{bibentry}

% This is the sample bib file
\begin{filecontents}{\jobname.bib}
  @book{Saussure1995,
    Author = {Ferdinand de Saussure},
    Origyear = {1916},
    Publisher = {Payot},
    Title = {Cours de Linguistique G{\'e}n{\'e}rale},
    Year = {1995}
  }
\end{filecontents}

\begin{document}

This is a complete citation in the middle of the text: \cite{Saussure1995}.

% \bibentry{

\bibliographystyle{apalike}
\bibliography{\jobname}

\end{document}