我需要一个完整的引文,就像通常出现在参考书目中一样,但需要用脚注来表示(我自己创建脚注没问题)。我尝试过 bibentry 包,但无法让它工作。(首先我遇到了不兼容问题,https://tex.stackexchange.com/a/424736/132815,解决这个问题后仍然没有输出任何内容,另请参阅\bibentry 无输出和https://tex.stackexchange.com/a/195327/132815。我已经尝试了那里提出的所有方法,包括将样式更改为plain
和包括\nobibliography{bib}
或,\bibliographi{bib}
但仍然没有输出。)
有没有不需要我改变构建顺序的工作方法(正如 biblatex 显然所做的那样)。
我尝试使用 bibentry。请注意,它不产生任何输出:
\documentclass[10pt]{article}
\pdfoutput=1
\usepackage[utf8]{inputenc}
\def\beqselinestretch{1.2}
\usepackage{xcolor}
\usepackage{amsmath,amssymb,mathrsfs,bm,setspace,xspace,soul,empheq}
\usepackage{graphicx}
\usepackage{physics} % careful breaks \Tr when breaking lines.
\usepackage{colonequals}
\usepackage{float}
\usepackage{comment}
\usepackage{siunitx}
\usepackage{tablefootnote}
\usepackage{subcaption}
\usepackage{braket}
\usepackage{color}
\usepackage{dcolumn}
\usepackage{multirow}
\usepackage{geometry}
\usepackage{tabularx}
\usepackage{bibentry}
% WITHOUT THE FOLLOWING LINE WE GET A LONELY ITEM ERROR:
\makeatletter\let\saved@bibitem\@bibitem\makeatother
\usepackage[colorlinks, linkcolor=darkblue, citecolor=darkblue, urlcolor=darkblue, linktocpage%,backref=page
]{hyperref}
% WITHOUT THE FOLLOWING LINE WE GET A LONELY ITEM ERROR:
\makeatletter\let\@bibitem\saved@bibitem\makeatother
\usepackage{amsmath,amssymb,graphicx,enumerate,bbm}
\usepackage{booktabs}
\usepackage[T1]{fontenc} % for ditto symbol
\newcommand*{\dittostraight}{---\textquotedbl---}
\usepackage[english]{babel}
\usepackage{csquotes}
\MakeOuterQuote{"}
\begin{filecontents}{mytestbib.bib}
@book{goossens93,
author = "Frank Mittelbach and Michel Goossens and Johannes Braams and David Carlisle and Chris Rowley",
title = "The {LaTeX} Companion",
year = "1993",
publisher = "Addison-Wesley",
address = "Reading, Massachusetts"
}
\end{filecontents}
\begin{document}
\newgeometry{rmargin=1.52cm,margin=1.52cm}
bla
\bibentry{goossens93}
\bibliographystyle{plain}
\nobibliography{mytestbib}
\end{document}