脚注中的简短引用和末尾参考书目中的完整引用

脚注中的简短引用和末尾参考书目中的完整引用

beamer演示文稿中,我希望在脚注中提供简短的引文,并在演示文稿末尾显示的参考书目中提供完整的引文。简短引文的格式应该是这样的:对于书籍,它只包括姓氏、书名、年份例如

史密斯,书名(2018 年)

我设法通过使用以下示例来隐藏名字这个问题,其中建议使用 样式verbose-inid。但如何避免publisheryear信息?

以下是我的示例:

\documentclass[10pt]{beamer}

\begin{filecontents*}{test_bib.bib} 
    @book{Peter1, 
        author={Peter Muller}, 
        title={My life as Peter Mueller}, 
        address={Peterstown}, 
        publisher={Petersen family},
        year={2017}
    } 
    @book{Uwe1, 
        author={Uwe Ha}, 
        title={Notes about Peter Mueller}, 
        address={Chicago}, 
        publisher={Worldclass Publisher},
        year={2008}
    }
\end{filecontents*}

\usepackage[
    style=verbose-inote,
    autocite=footnote,
    backend=biber,
    ]
    {biblatex}
\addbibresource{test_bib.bib}

% code from linked question
\renewbibmacro*{footcite:full}{%
  \usebibmacro{cite:full:citepages}%
  \printtext[bibhypertarget]{%
    \usedriver
      {\DeclareNameAlias{sortname}{labelname}}
      {\thefield{entrytype}}}%
  \usebibmacro{shorthandintro}}

\begin{document}

\begin{frame}[t]{Two columns on this page}
    \begin{columns}[T]
        \begin{column}{0.4\textwidth}
          \begin{itemize}
              \item Some text in the first column
              \item More text\footnotemark
            \end{itemize}
        \end{column}
        \footcitetext{Peter1}
        \begin{column}{0.5\textwidth}
            \begin{itemize}
                \item Guess what: more text\footnotemark
            \end{itemize}
        \end{column}
    \end{columns}
    \footcitetext{Uwe1}
\end{frame}

\begin{frame}{Bibliography}
\printbibliography
\end{frame}

\end{document} 

我正在用 进行编译xelatex biber xelatex xelatex

编辑:与链接问题的区别在于,我还想消除引用的部分(在本例中为出版商和城市)并且不添加任何内容。

答案1

使用样式authortitle并更新bibmacro打印标题:

\documentclass[10pt]{beamer}

\begin{filecontents*}{test_bib.bib}
    @book{Peter1,
        author={Peter Muller},
        title={My life as Peter Mueller},
        address={Peterstown},
        publisher={Petersen family},
        year={2017}
    }
    @book{Uwe1,
        author={Uwe Ha},
        title={Notes about Peter Mueller},
        address={Chicago},
        publisher={Worldclass Publisher},
        year={2008}
    }
\end{filecontents*}

\usepackage[style=authortitle,
            autocite=footnote,
            backend=biber,
           ]{biblatex}
\addbibresource{test_bib.bib}

\renewbibmacro*{cite:title}{%
  \printtext[bibhyperref]{%
    \printfield[citetitle]{labeltitle}%
    \setunit{\space}%
    \printtext[parens]{\printdate}%
  }%
}

\begin{document}

\begin{frame}[t]{Two columns on this page}
    \begin{columns}[T]
        \begin{column}{0.4\textwidth}
          \begin{itemize}
              \item Some text in the first column
              \item More text\footnotemark
            \end{itemize}
        \end{column}
        \footcitetext{Peter1}
        \begin{column}{0.5\textwidth}
            \begin{itemize}
                \item Guess what: more text\footnotemark
                \item Both \footnotemark
              \end{itemize}
        \end{column}
    \end{columns}
    \footcitetext{Uwe1}
    \footcitetext{Uwe1,Peter1}
\end{frame}

\begin{frame}{Bibliography}
\printbibliography
\end{frame}

\end{document}

在此处输入图片描述

相关内容