beamer 没有显示参考书目

beamer 没有显示参考书目

我想在投影仪的框架上显示参考书目。但我无法实现。这是我使用的代码的一个简短示例。

\documentclass[10pt,t]{beamer}
\usepackage[english]{babel}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}%insertar fotos pdf etc... (pdf,png,ps,eps)

\title{Neurohard}
\author{Fabio Galán Prado}
\date[2016]{2016}

\begin{document}

\begin{frame}
Hi \cite{158511}
\end{frame}

\begin{frame}
\frametitle{References}
\bibliography{bibliography}
\end{frame}

\end{document}

Where the bibliography.bib item is:

@ARTICLE{158511,
author={J. M. Zurada},
journal={IEEE Circuits and Devices Magazine},
title={Analog implementation of neural networks},
year={1992},
volume={8},
number={5},
pages={36-41},
keywords={MOS integrated circuits;analogue computer circuits;multiplying circuits;neural nets;MOS components;adjustable weights;analog control signal;analogue implementation;electrically tunable synapses;integrated-circuit analog multiplier;neural networks;neural processing algorithms;neurocomputers;synaptic connections;Arithmetic;Artificial neural networks;Computer networks;Computer vision;Concurrent computing;Embedded computing;Neural network hardware;Neural networks;Neurons;Very large scale integration},
doi={10.1109/101.158511},
ISSN={8755-3996},
month={Sept},}

为了编译它,我遵循了其他论坛给出的说明:pdflatex、bibtex、pdflatex、pdflatex。

我也尝试过这个:

\documentclass[10pt,t]{beamer}
\usepackage[english]{babel}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}%insertar fotos pdf etc... (pdf,png,ps,eps)
\usepackage[backend=bibtex]{biblatex}
\addbibresource{bibliography.bib}

\title{Neurohard}
\author{Fabio Galán Prado}
\date[2016]{2016}

\begin{document}

\begin{frame}
Hi \cite{158511}
\end{frame}

%\begin{frame}
%\frametitle{References}
%\bibliography{bibliography}
%\end{frame}

\begin{frame}
\printbibliography 
\end{frame}

\end{document}

但这些都不起作用。

答案1

下面是使用 Biblatex 的示例,它与您提供的示例书目一起使用:

\documentclass{beamer}
\usepackage[natbib=true,style=authoryear,backend=bibtex,useprefix=true]{biblatex}
\addbibresource{bibliography.bib}
\begin{document}

\begin{frame}
Here is a reference: \citet{158511}
\end{frame}

\begin{frame}[t,allowframebreaks]
\frametitle{References}
\printbibliography
\end{frame}

\end{document}

最终的参考书目如下所示:

在此处输入图片描述

从这里,您可以根据需要更改样式。例如,

\documentclass{beamer}
\usepackage[natbib=true,style=authoryear,backend=bibtex,useprefix=true]{biblatex}
\setbeamercolor*{bibliography entry title}{fg=black}
\setbeamercolor*{bibliography entry location}{fg=black}
\setbeamercolor*{bibliography entry note}{fg=black}
\setbeamertemplate{bibliography item}{}
\renewcommand*{\bibfont}{\scriptsize}
\addbibresource{bibliography.bib}
\begin{document}

\begin{frame}
Here is a reference: \citet{158511}
\end{frame}

\begin{frame}[t,allowframebreaks]
\frametitle{References}
\printbibliography
\end{frame}

\end{document}

在此处输入图片描述

答案2

bibtex示例中,缺少样式,例如\bibliographystyle{plain}

\documentclass[10pt,t]{beamer}
\usepackage[english]{babel}
\usepackage[utf8]{inputenc}

\title{Neurohard}
\author{Fabio Galán Prado}
\date[2016]{2016}

\begin{document}

\begin{frame}
Hi \cite{158511}
\end{frame}

\begin{frame}
\frametitle{References}
\bibliographystyle{plain}
\bibliography{test}
\end{frame}

\end{document}

在此处输入图片描述


bibtex第二个示例对我来说编译得很好。但请记住,如果您从 切换到,则必须清理辅助文件biblatex

在此处输入图片描述

相关内容