Beamer 自定义 \citeauthor

Beamer 自定义 \citeauthor

我正在使用 Beamer 准备土耳其语演示文稿。我经常需要命令\citeauthor。我已经替换了““ 作者之间翻译成土耳其语(““) 和 ”“。但是,我想删除(或替换)“之前的逗号“当有三个或更多的作者,但我知道如何去做。

下面,您将看到我的输出。

在此处输入图片描述

我需要的是以下内容Ladas, Qian, Vlahos ve Yan

这是一个 MWE。

\documentclass[10pt]{beamer}

\usetheme{Warsaw}
\usecolortheme{whale}

\usepackage[backend=bibtex,firstinits=true,maxbibnames=9,maxcitenames=4]{biblatex}
\usepackage{filecontents}

\DefineBibliographyStrings{english}{%
  and = {ve},
}

\begin{filecontents}{\jobname.bib}

@article {MR1103855,
    AUTHOR = {Ladas, G. and Qian, C. and Vlahos, P. N. and Yan, J.},
     TITLE = {Stability of solutions of linear nonautonomous difference equations},
   JOURNAL = {Appl. Anal.},
  FJOURNAL = {Applicable Analysis. An International Journal},
    VOLUME = {41},
      YEAR = {1991},
    NUMBER = {1-4},
     PAGES = {183--191},
}

\end{filecontents}

\addbibresource{\jobname.bib}

\begin{document}

\begin{frame}

\begin{itemize}
\item What I get: \citeauthor{MR1103855}.
\item What I need: Ladas, Qian, Vlahos ve Yan.
\end{itemize}
\alert{Note that \texttt{{\textbackslash}citeauthor} command gives a comma before {\textquotedblleft}ve{\textquotedblright}.}

\printbibliography

\end{frame}

\end{document}

答案1

\documentclass[10pt]{beamer}

\usetheme{Warsaw}
\usecolortheme{whale}



\usepackage[backend=bibtex,giveninits=true,maxbibnames=9,maxcitenames=4]{biblatex}
\usepackage{filecontents}

\DefineBibliographyStrings{english}{%
  and = {ve},
}

\DefineBibliographyExtras{english}{\let\finalandcomma=\empty}

\begin{filecontents}{\jobname.bib}

@article {MR1103855,
    AUTHOR = {Ladas, G. and Qian, C. and Vlahos, P. N. and Yan, J.},
     TITLE = {Stability of solutions of linear nonautonomous difference equations},
   JOURNAL = {Appl. Anal.},
  FJOURNAL = {Applicable Analysis. An International Journal},
    VOLUME = {41},
      YEAR = {1991},
    NUMBER = {1-4},
     PAGES = {183--191},
}

\end{filecontents}

\addbibresource{\jobname.bib}



\begin{document}

\begin{frame}

\begin{itemize}
\item What I get: \citeauthor{MR1103855}.
\item What I need: Ladas, Qian, Vlahos ve Yan.
\end{itemize}
\alert{Note that \texttt{{\textbackslash}citeauthor} command gives a comma before {\textquotedblleft}ve{\textquotedblright}.}

\printbibliography

\end{frame}

\end{document}

在此处输入图片描述


请注意,“firstinits”选项已被弃用,请改用“giveninits”。

相关内容