我正在尝试更改玛丽居里个人奖学金模板的引用样式(https://github.com/ferencek/H2020-MSCA-IF-20XY) 从 verbose-inote 改为 chem-acs。替换以下行:
\usepackage[style=verbose-inote,backend=bibtex]{biblatex}
和
\usepackage[style=chem-acs,backend=bibtex]{biblatex}
脚注中的引用消失了。有人知道如何解决这个问题吗?
谢谢!
编辑:下面我添加了一个最小工作示例。抱歉,它看起来仍然不是很“最小”;提交所需的格式相当复杂。不得不让 Latex 来做这件事真是太可惜了!
\begin{filecontents}{mwe_refs.bib}
@article{schrock_molybdenum_1986,
title = {Molybdenum},
volume = {10},
shorttitle = {Mo},
doi = {10.10001},
number = {46},
journal = {Chem. Commun.},
author = {Schrock R. R.},
year = {1986},
pages = {3--4}
}
\end{filecontents}
\documentclass[a4paper,11pt]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{eurosym}
\usepackage{lastpage}
\usepackage{xspace}
\usepackage[margin=15mm,includehead,includefoot]{geometry}
\usepackage{fancyhdr}
\usepackage{booktabs}
\usepackage{graphicx}
\usepackage{multirow}
\usepackage{array}
\usepackage[usenames,dvipsnames,table]{xcolor}
\usepackage{csquotes}
\usepackage{pgfgantt}
\usepackage[nohyperlinks,nolist]{acronym}
\usepackage[stable]{footmisc}
\usepackage[compact]{titlesec}
% HotFix from http://tex.stackexchange.com/a/300259/84485
% Version1 of titlesec is not compatible with the latest texlive.
% Either the titlesec package must be updated, or the following HotFix used:
\usepackage{etoolbox}
\makeatletter
\patchcmd{\ttlh@hang}{\parindent\z@}{\parindent\z@\leavevmode}{}{}
\patchcmd{\ttlh@hang}{\noindent}{}{}{}
\makeatother
%style=verbose-inote
\usepackage[style=verbose-inote,backend=bibtex]{biblatex}
\usepackage{hyperref}
\usepackage{amsfonts,amsmath,amssymb}
\usepackage{soul} % for smarter (word-wrapping) underlining
\setul{1pt}{.4pt} % 1pt below contents
\usepackage{lineno}
\usepackage{enumitem}
\usepackage{pifont}
\usepackage{helvet}
\renewcommand{\familydefault}{\sfdefault}
\newcommand{\TODO}[1]{{\textcolor{red}{[\textbf{TODO:} #1]}}}
% \titlespacing\section{0pt}{6pt plus 4pt minus 2pt}{0pt plus 2pt minus 2pt}
% \titlespacing\subsection{0pt}{6pt plus 4pt minus 2pt}{0pt plus 2pt minus 2pt}
% \titlespacing\subsubsection{0pt}{6pt plus 4pt minus 2pt}{0pt plus 2pt minus 2pt}
\titleformat*{\section}{\large\bfseries}
\titleformat*{\subsection}{\normalsize\bfseries}
\titleformat*{\subsubsection}{\normalsize\bfseries}
\let\oldfootnotesize\footnotesize
\renewcommand{\footnotesize}{\fontsize{8bp}{1em}\selectfont}
\renewcommand{\cite}{\autocite} % citations in footnotes
\bibliography{mwe_refs}
\headheight=14pt
% Explicitly set footnote font size to match call (i.e., 8pt).
% Taken from http://tex.stackexchange.com/a/249422/84485
\makeatletter
\renewcommand\footnotesize{%
\@setfontsize\footnotesize\@ixpt{8}%
\abovedisplayskip 8\p@ \@plus2\p@ \@minus4\p@
\abovedisplayshortskip \z@ \@plus\p@
\belowdisplayshortskip 4\p@ \@plus2\p@ \@minus2\p@
\def\@listi{\leftmargin\leftmargini
\topsep 4\p@ \@plus2\p@ \@minus2\p@
\parsep 2\p@ \@plus\p@ \@minus\p@
\itemsep \parsep}%
\belowdisplayskip \abovedisplayskip
}
\makeatother
\hypersetup{
pdftitle={H2020-MSCA-IF-2020}, % title
pdfauthor={},
colorlinks=true,
citecolor=black,
linkcolor=black,
urlcolor=blue
}
\newcommand{\markStartPageLimit}{%
\begin{flushright}
\textcolor{red}{{\large {\bf START PAGE COUNT \--- MAX 10 PAGES~~~~~}}\\
\rule{\textwidth}{0.5mm}
}\vspace{-.5cm}
\end{flushright}
}
\newcommand{\markEndPageLimit}{%
\vfill
\begin{flushright}
\textcolor{red}{{\large {\bf STOP PAGE COUNT \--- MAX 10 PAGES~~~~~}}\\
\rule{\textwidth}{0.5mm}
}
\end{flushright}
}
% To correctly align fancy headers.
% Courtesy of: http://tex.stackexchange.com/a/88136/84485
\makeatletter
\newcommand{\resetHeadWidth}{\f@nch@setoffs}
\makeatother
\pagestyle{fancy}
\fancyhead{}
\fancyhead[C]{\color{gray}{\ac{PropAcronym}\xspace\xspace - EF-ST}}
\fancyfoot{}
\fancyfoot[C]{\color{gray}{Part B - Page \thepage~of \pageref*{sec:letters}}}
\resetHeadWidth
\renewcommand{\headrulewidth}{0pt}
% For CV
\definecolor{lightgray}{gray}{0.8}
\newcolumntype{L}{>{\raggedleft}p{0.14\textwidth}}
\newcolumntype{R}{p{0.8\textwidth}}
\newcommand\VRule{\color{lightgray}\vrule width 0.5pt}
%List of acronyms used in the proposal
%read the acronym package manual for details: http://mirrors.ctan.org/macros/latex/contrib/acronym/acronym.pdf
%\acs{PropAcronym} gives acronym [in square brackets]
%\acl{PropAcronym} gives long form of acronym, probably not used {in second set of braces}
%\acf{PropAcronym} gives both
\begin{acronym}
\acro{IF}{Individual Fellowships}
\acro{PropAcronym}[PROPOSAL ACRONYM]{This is my proposal's acronym}
\end{acronym}
\begin{document}
%mark proposal acronym as used, such that the short-hand form is always used by default.
\acused{PropAcronym}
%\begin{linenumbers}
% !TEX root = ./IF-2018-Part_B.tex
\newpage
\section{CV of the experienced researcher}
\label{sec:cv}
The CV is intrinsic to the evaluation of the whole proposal and is assessed throughout the three evaluation criteria by the expert evaluators. Ensure that the information provided in Parts A and B is fully consistent. Always mention full dates (dd/mm/yyyy) in your CV.\cite{schrock_molybdenum_1986}
%\end{linenumbers}
\end{document}
答案1
该verbose-inote
样式默认生成脚注引文。但是,如果您切换到,chem-acs
则选择生成数字引文的样式。数字样式chem-acs
依赖于文档末尾的参考书目,您可以使用 生成参考书目\printbibliography
。
如果您坚持chem-acs
并想要脚注,最简单的方法可能是采用\footfullcite
。
\documentclass[british]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage{csquotes}
\usepackage[style=chem-acs, backend=biber]{biblatex}
\addbibresource{biblatex-examples.bib}
\begin{document}
\null\vfill % ONLY for the example
Lorem \footfullcite{sigfridsson}
\printbibliography
\end{document}