我正在制作一个 beamer 演示文稿,我想在表格中输入引文名称。我正在使用cite{bibid}
。这会在圆括号内生成引文,而我想避免这种情况。我的序言是
\documentclass{beamer}
\usepackage{csquotes}
\usepackage{ragged2e}
\usepackage{diagbox}
\usepackage{textcomp}
\usepackage{tabularx}
\usepackage{multirow}
\usepackage{array}
\usepackage{bibentry}
\usepackage{harvard}
\usepackage{bookman}
\newcolumntype{P}[1]{>{\centering\arraybackslash}p{#1}}
\usetheme{Singapore}
\usecolortheme{beaver}
\usefonttheme{structuresmallcapsserif}
\setbeamerfont{serif}{size=\large, series=\bfseries}
\AtBeginDocument{\usebeamerfont{structurebold}}
该表格是
\begin{frame}[fragile]{\huge Literature Survey}
\justifying
\begin{table}
\begin{tabular}{||P{25mm} | p{8cm} ||}
\hline
Author & \hspace{25mm}Key Findings \\\hline
\cite{kawamura1998state} & bla bla bla\\\hline
\cite{waag2014critical} & bla bla bla\\\hline
\end{tabular}
\caption{Triathlon results}
\end{table}
\end{frame}
根据要求的 MWEB:
\documentclass{article}
\begin{filecontents}{\irbref.bib}
@inproceedings{kawamura1998state,
title={State of {C}harge {E}stimation of {S}ealed {L}ead-{A}cid {B}atteries {U}sed for {E}lectric {V}ehicles},
author={Kawamura, Atsuo and Yanagihara, Takahiro},
booktitle={PESC 98 Record. 29th Annual IEEE Power Electronics Specialists Conference (Cat. No. 98CH36196)},
volume={1},
pages={pp. 583--587},
month={22 May 1998},
address={Fukuoka, Japan},
year={1998},
organization={IEEE}
}
@article{waag2014critical,
title={Critical {R}eview of the {M}ethods for {M}onitoring of {L}ithium-ion {B}atteries in {E}lectric and {H}ybrid {V}ehicles,},
author={Waag, Wladislaw and Fleischer, Christian and Sauer, Dek Uwe},
journal={Journal of Power Sources,},
volume={258},
pages={pp. 321--339},
year={2014},
publisher={Elsevier}
}
\end{filecontents}
\begin{document}
\cite{key}
\bibliographystyle{agsm3}
\bibliography{\irbref}
\end{document}
我编辑了默认 agsm 包的源代码,使 et al 变为粗体和斜体,并制作了自定义 agsm3 样式。希望这会有所帮助。
答案1
引文管理包natbib
与文档类配合得很好。为了与引文管理包提供的beamer
一些参考书目样式(例如agsm
和)完全兼容,请务必同时加载。(这条建议是dcu
harvard
har2nat
不是具体到beamer
。)
我会使用\cite
和\citep
创建引文标注和括号和\citealp
创建引文标注没有括号。
\documentclass{beamer}
\usepackage{natbib,har2nat}
\setcitestyle{aysep={}} % optional
\bibliographystyle{dcu} % or some other suitable bib style
\begin{filecontents}[overwrite]{mybib.bib}
@misc{smith:01,author="Sam Smith",title="Thoughts",year=3001}
\end{filecontents}
\begin{document}
\begin{frame}
\cite{smith:01}, \citep{smith:01}, \citealp{smith:01}.
\end{frame}
\begin{frame}
\bibliography{mybib}
\end{frame}
\end{document}