![如何在使用 biblatex 时自定义 beamer 中的参考书目样式?](https://linux22.com/image/291566/%E5%A6%82%E4%BD%95%E5%9C%A8%E4%BD%BF%E7%94%A8%20biblatex%20%E6%97%B6%E8%87%AA%E5%AE%9A%E4%B9%89%20beamer%20%E4%B8%AD%E7%9A%84%E5%8F%82%E8%80%83%E4%B9%A6%E7%9B%AE%E6%A0%B7%E5%BC%8F%EF%BC%9F.png)
我想要自定义外观\footfullcite
。我希望它看起来像这样,MA Zeb et. el., Phys. Rev. Lett., 108, 2012。我不想有标题和页码等。并且在文本引用中以内联形式显示,而不是用方括号括起来的上标。我试过了这些指导方针但它似乎不起作用。
我保存了以下内容
\AtEveryBibitem{%
\clearfield{title}%
\clearfield{pagetotal}%
}
并将biblatex.cfg
其保存在 中 /Users/ruawan/Library/texmf/tex/latex/biblatex
。
这是输入
\documentclass[13pt,xcolor=dvipsnames]{beamer}
\usepackage{multirow}
\usepackage{fixltx2e}
\usepackage{amsmath}
\usepackage{braket}
\usepackage{tikz}
\usepackage{graphicx}
\usepackage[style=numeric,backend=biber]{biblatex}
\usetikzlibrary{positioning}
\newtheorem{theor}{Theorem}
\usetheme{umbc2}
\usecolortheme[named=RawSienna]{structure}
\usefonttheme[onlylarge]{structurebold}
\setbeamerfont{frametitle}{family=\rmfamily,shape=\itshape}
\setbeamercovered{transparent}
\setbeamertemplate{frametitle}[default][center]
\addbibresource{HinGe.bib}
\begin{document}
\begin{frame}
\frametitle{Previous Work}
\framesubtitle{Simple metals and beyond}
Simple metals have been reasonably well understood \footfullcite{maz01}.
\begin{itemize}
\item Linear response treatment by Lindhard.
\item The full non-linear treatment by Echenique, Ritchie, and Nieminen.
\item For simple metals the electronic stopping power is proportional to the projectile velocity in low-speed regime\footfullcite{maz02}.
\item Insulators, semiconductors, and noble metals are relatively poorly understood.
\end{itemize}
\end{frame}
\end{document}
以下是输出,
您能指出这个错误吗?
答案1
您正在尝试调整出现的引文\fullfootcite
,这是引文,而不是参考书目项目。因此,清除字段的适当方法是包括
\AtEveryCitekey{%
\clearfield{title}%
\clearfield{pagetotal}%
}
在文档的序言中。您还应该能够将其包含在biblatex.cfg
更通用的应用程序中,但请注意,这将影响您的任何文档,并且一旦您忘记了此更改,可能更难找到它。;-)
编辑
您所询问的额外功能可以通过序言中的这段代码来实现。
% Make bracketized
\renewcommand*{\thefootnote}{[\arabic{footnote}]}
\makeatletter
% Remove superscript for footnotemark
\def\@makefnmark{\hbox{{\normalfont\@thefnmark}}}
% Allow space to precede the footnote
\usepackage{etoolbox}
\patchcmd{\blx@mkbibfootnote}{\unspace}{}{}
\makeatother