Beamer 书目文本边距

Beamer 书目文本边距

为了在 Beamer 书目中进行引用,我使用了以下命令

\setbeamertemplate{bibliography item}[text]
\bibliographystyle{amsalpha}

然后我创建了一个允许使用框架中断的框架

\begin{frame}[allowframebreaks]

并使用通常的 \begin{bibliography} 命令开始参考书目。

引用的是文本样式(例如 [ABC14] 等),但 [ABC14] 描述的边距不限于 [ABC14] 的右侧,如下面的 Beamer Pic 所述。 投影机图片

我希望它像通常的乳胶一样,如下面的乳胶图所示。在此处输入图片描述

有人能帮帮我吗?如果 [amsalpha] 样式引用可以且不存在此类边距问题,那将会很有帮助。

代码:

\documentclass{beamer}
\setbeamertemplate{navigation symbols}{}
\usetheme{Antibes}

\usepackage[utf8x]{inputenc}
\newcommand\Fontvi{\fontsize{11.2}{7.2}\selectfont}

\begin{document}
\section{Introduction}
\cite{HVE-A} did this. \cite{HVE-B} did something else.
\pagebreak

\section{References}
    \setbeamertemplate{bibliography item}[text]
    \bibliographystyle{amsalpha}

    \begin{frame}[allowframebreaks]
        \begin{thebibliography}{}
            \frametitle{References}
            \Fontvi
            \bibitem[BW07]{HVE-A} Dan Boneh and Brent Waters, ``Conjunctive, subset, and range queries on encrypted data''.
            \bibitem[IP08]{HVE-B} Vincenzo Iovino and Giuseppe Persiano, ``Hidden-vector encryption with groups of prime order''.
        \end{thebibliography}
    \end{frame}
\end{document}

答案1

这是一个尝试,将 \bibindent 定义为 2em(可调)

  \def\bibindent{2em}
  \begin{thebibliography}{99 \bibindent}

在此处输入图片描述

代码

\documentclass{beamer}
\setbeamertemplate{navigation symbols}{}
\usetheme{Antibes}

\usepackage[utf8x]{inputenc}
\newcommand\Fontvi{\fontsize{11.2}{7.2}\selectfont}

\begin{document}
\section{Introduction}
\cite{HVE-A} did this. \cite{HVE-B} did something else.
\pagebreak

\section{References}
    \setbeamertemplate{bibliography item}[text]
    \bibliographystyle{amsalpha}

    \begin{frame}[allowframebreaks]
        \def\bibindent{2em}
        \begin{thebibliography}{99 \bibindent}
            \frametitle{References}
            \Fontvi
            \bibitem[BW07]{HVE-A} Dan Boneh and Brent Waters, ``Conjunctive, subset, and range queries on encrypted data''.
            \bibitem[IP08]{HVE-B}Vincenzo Iovino and Giuseppe Persiano, ``Hidden-vector encryption with groups of prime order''.
    \end{thebibliography}
    \end{frame}
\end{document}

相关内容