使用apacite時如何調整beamer中的參考字體大小?

使用apacite時如何調整beamer中的參考字體大小?

在我的例子中,beamer 中的參考部分跨越了太多投影片,因此我想減少它的字體大小,將其減少到少於 7 張投影片。

這是latex文件的開頭:

\documentclass[11pt]{beamer}

\usefonttheme[onlymath]{serif}

\usepackage{beamerthemesplit}
\usepackage[T1]{fontenc} % Use 8-bit encoding that has 256 glyphs
\usepackage{apacite}
\usepackage[english]{babel} % English language/hyphenation (avoids badboxes)
\usepackage{amsmath,amsfonts,amsthm} % Math packages
\usepackage{graphicx,color}
\usepackage{algorithm, algorithmic}
\usepackage{booktabs}
\usepackage{gensymb} % \degree symbol

這是參考部分:

\section{References}
\subsection{Bibliography}
\begin{frame}[allowframebreaks]{References}
\bibliographystyle{apacite}
\bibliography{GaitAnalysis}
\end{frame}

TeX.SE 中有很多與此相關的帖子,因此我將列出我嘗試過的內容。

  1. 使用收縮選項(如完成這裡)以及shrink=90使allowframebreaks參考部分變得神秘地不可見。

  2. 使用\renewcommand*{\bibfont}{\scriptsize}如圖所示這裡需要使用biblatex.所以我嘗試添加\usepackage[style=apa]{biblatex}到包列表中。然而,它與apacite套件和刪除發生衝突,這阻止了我使用該\shortcite命令。

  3. 我也嘗試添加這些行(按照規定這裡 \setbeamerfont{bibliography item}{size=\footnotesize} \setbeamerfont{bibliography entry author}{size=\footnotesize} \setbeamerfont{bibliography entry title}{size=\footnotesize} \setbeamerfont{bibliography entry location}{size=\footnotesize} \setbeamerfont{bibliography entry note}{size=\footnotesize} 但是參考字體根本沒有改變。

  4. 這就是我以前使用 IEEEtran 參考風格時所做的事情(參考) {\footnotesize \bibliography{bibfile}} 以前效果很好,但使用時沒有效果apacite;我不知道是什麼阻止了它現在的工作。

  5. 由於我無法使用natbib(由於與 衝突apacite)我無法使用解決方案:\def\bibfont{\footnotesize}

我該怎麼做才能讓這項工作成功?

答案1

由於您沒有提供可編譯的程式碼,我舉了例子https://tex.stackexchange.com/a/366791/36296

\documentclass{beamer}
\begin{filecontents}{\jobname.bib}
@article{TestCite2000,
    Author = {Smith, R. and Jones, O. and Doe, J and Yang, X. and Silva, E.},
    Journal = {A Great Predatory Journal},
    Title = {A title},
    Volume = {3},
    Year = {2000}}
\end{filecontents}
\usepackage[]{apacite}
\begin{document}
\begin{frame}
\frametitle{A citation}
\shortcite{TestCite2000}
\end{frame}
\begin{frame}
\frametitle{References}
\bibliographystyle{apacite}
\renewcommand{\bibliographytypesize}{\tiny}
\bibliography{\jobname}
\end{frame}
\end{document}

在此輸入影像描述

相關內容