我刚开始使用 Beamer
我有一个非常简单的 Beamer 文件
\documentclass{beamer}
\usepackage[english]{babel}
\usepackage[utf8x]{inputenc}
\title[Your Short Title]{Your Presentation}
\author{You}
\institute{Where You're From}
\date{Date of Presentation}
\begin{document}
\begin{frame}
Citation 1 Goes here
\end{frame}
\begin{frame}
Citation 2 Goes here
\end{frame}
\end{document}
我在名为“Citations.bib”的文件中有两个引文
@ARTICLE{5756675,
author={H. Borhan and A. Vahidi and A. M. Phillips and M. L. Kuang and I. V. Kolmanovsky and S. Di Cairano},
journal={IEEE Transactions on Control Systems Technology},
title={MPC-Based Energy Management of a Power-Split Hybrid Electric Vehicle},
year={2012},
volume={20},
number={3},
pages={593-603},
keywords={closed loop systems;electric machines;energy management systems;hybrid electric vehicles;machine control;nonlinear control systems;optimal control;predictive control;time-varying systems;power-split hybrid electric vehicle;MPC-based energy management;parallel hybrid vehicle architectures;series hybrid vehicle architectures;planetary gear set;electric machines;combustion engine;near optimal energy management strategy;nonlinear control problem;constrained optimal control problem;cost functions;model predictive control strategies;system operating points;closed-loop high-fidelity model;multiple standard drive cycles;fuel economy;commercial Powertrain System Analysis Toolkit software;linear time-varying MPC;Hybrid electric vehicles;Mathematical model;Engines;Biological system modeling;Torque;Energy management;Batteries;Energy management;hybrid electric vehicle (HEV);linear time-varying model predictive control (LTV-MPC);MPC;nonlinear MPC;power-split HEV},
doi={10.1109/TCST.2011.2134852},
ISSN={1063-6536},
month={May},}
@ARTICLE{4497237,
author={A. N. Venkat and I. A. Hiskens and J. B. Rawlings and S. J. Wright},
journal={IEEE Transactions on Control Systems Technology},
title={Distributed MPC Strategies With Application to Power System Automatic Generation Control},
year={2008},
volume={16},
number={6},
pages={1192-1206},
keywords={closed loop systems;control engineering computing;distributed algorithms;distributed control;iterative methods;large-scale systems;power generation control;predictive control;distributed model predictive control;power system automatic generation control;large-scale networked control system;distributed MPC algorithm;closed-loop stability;intermediate termination;centralized model predictive control;iterative method;Power system control;Power systems;Automatic generation control;Power system modeling;Automatic control;Control systems;Predictive models;Predictive control;Control system synthesis;Large-scale systems;Automatic generation control;distributed model predictive control;power system control},
doi={10.1109/TCST.2008.919414},
ISSN={1063-6536},
month={Nov},}
我想添加这些引文。每页一个。由于这些参考文献均来自 IEEEXplore,因此我想以 IEEE 格式(类似 IEEEtran)引用它们
但我不确定应该使用什么命令将“Citation.bib”文件合并到 Beamer 文件中。
有人能帮帮我吗?谢谢!
答案1
欢迎使用 TeX.SE!由于您正在使用参考书目数据库,因此您需要将其告知文档。一种方法是添加带有参考资料的框架
\documentclass{beamer}
\usepackage[english]{babel}
\usepackage[utf8x]{inputenc}
\title[Your Short Title]{Your Presentation}
\author{You}
\institute{Where You're From}
\date{Date of Presentation}
\begin{document}
\begin{frame}
Citation 1 Goes here \cite{5756675}
\end{frame}
\begin{frame}
Citation 2 Goes here \cite{4497237}
\end{frame}
\begin{frame}[allowframebreaks]{References}
\bibliographystyle{alpha}
\bibliography{Citations}
\end{frame}
\end{document}
pdflatex <myfile>
用(比如说)编译你的 tex 文件,运行bibtex <myfile>
,然后运行pdflatex <myfile>
两次以获取引用。