如何在投影機簡報中獲得沒有圓括號的引用?

如何在投影機簡報中獲得沒有圓括號的引用?

我正在製作一個投影機演示文稿,我想在表格中輸入引文名稱。我在用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 套件的源代碼,以使其變為粗體和斜體等。並製作了客製化的agsm3風格。希望這可以幫助。

答案1

引文管理包natbib與文件類配合得很好beamer。為了與引文管理包提供的某些參考書目樣式(例如agsm和)完全相容,請務必也加載。 (這條建議是dcuharvardhar2nat不是具體到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}

相關內容