References format in beamer, LaTeX

1 reply · 8K views · last reply
binbagsss
Messages
1,291
Reaction score
12
When I am citing references in beamer they are coming out as listing the author, I just want it to give a number instead. This is the code I am using, and, this is how my references and the citation are currently displaying. Many thanks in advance !

Relevant code in the document for bibliography formatting:

%--------------------------------------------%

\documentclass[handout,t]{beamer}

\setbeamertemplate{bibliography item}{\insertbiblabel}

\usepackage[alf]{abntex2cite}
\usepackage[portuges]{babel}

\usepackage[utf8]{inputenc}
\begin{frame}
\bibliography{document}
\end{frame}I am using a .bib sep file for the bibliogrpahy and it is inserted as:

@book{durst2008fluid,
title={Fluid mechanics: an introduction to the theory of fluid flows},
author={Durst, Franz},
year={2008},
publisher={Springer Science \& Business Media}
}

Beamer slide titled Introduction citing (DURST, 2008) for Hamilton's Principle, with the variation integral delta of the integral from t1 to t2 over V of l(psi_i, psi_i dot, grad psi_i, x, t) dV dt equals 0, and two bullet points.
[1]: https://i.stack.imgur.com/1QP9c.png
[2]: https://i.stack.imgur.com/8ERfV.png
 
Attachments
  • durst.png
    durst.png
    7 KB · Views: 250
If you are using a .bib file, you must be using BibTeX. What are the BibTeX commands in the LaTeX file (in particular \blibliographystyle)?