1

I would like to ask about the inverse of this Question if you please.

In other words: Using BibTeX, how to cite references in the context (showing author's name) without having the bibliography at the end the document?

For example

\documentclass{beamer}
\begin{document}
text ..........

text...... \cite{patygore}

\bibliographystyle{plainnat}
\bibliography{biblio}
\end{document}
1

You can use the method described in Remove frame from presentation. The following code generates a single frame that looks like this:

enter image description here

\documentclass{beamer}
\usepackage{natbib}
\begin{document}

\begin{frame}
\cite{article-full}
\end{frame}

\begin{frame}<presentation:0>
\bibliographystyle{plainnat}
\bibliography{xampl}
\end{frame}

\end{document}

Other alternative

If switching to biblatex (What to do to switch to biblatex?) is an option this is certainly easy, just leave out the \printbibliography statement.

\documentclass{beamer}
\usepackage[style=authoryear]{biblatex}
\addbibresource{biblatex-examples.bib}
\begin{document}
\begin{frame}
\textcite{aksin} \parencite{angenendt}
\end{frame} 
\end{document}
  • I'm so sorry when I use \usepackage[style=authoryear]{biblatex} the beamer is explosed with errors – A H Jun 12 '17 at 18:34
  • Dont forget please the document class is a beamer not an articl – A H Jun 12 '17 at 18:35
  • @AH That doesn't matter, biblatex works just fine with beamer as well. Try deleting all the auxiliary files (.aux, .bbl) and recompile. See also tex.stackexchange.com/questions/5091/…. – Torbjørn T. Jun 12 '17 at 18:37
  • @AH See updated answer. – Torbjørn T. Jun 12 '17 at 18:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.