这是我的.bib
文件:
@Book{Carrega1989,
title = {Théorie des corps: La règle et le compas},
publisher = {Hermann},
year = {1989},
author = {J.C.Carrega},
}
@Book{marcay,
title = {Constructions à la règle et au compas},
publisher = {Département de Mathématiques d’Orsay, Université Paris-Sud, France},
author = {Fran\c{c}ois, DE MAR\c{C}AY},
}
@Book{Krop,
title = {La quadrature du cercle et le nombre \pi},
publisher = {Éditions Ellipses, Paris},
year = {2005},
author = {Krop André}
}
@online{or,
author = {Philippe Picart},
title = {Le nombre d'or},
url = {http://trucsmaths.free.fr/nombre_d_or.htm},
urldate = today,
}
@Book{Mutaf,
title = {\'{E}quations algébriques et théorie de Galois},
publisher = {Vuibert},
year = {1980},
author = {Claude Mutafian},
}
@online{Dec,
author = {Patrice Debart},
title = {Descartes et les Mathématiques},
url = {http://debart.pagesperso-orange.fr/},
urldate = today,
}
这是我的书目风格:
\usepackage[backend=bibtex,style=verbose,sorting=none]{biblatex}
\bibliography{monref}
\setbeamercovered{transparent}
\addbibresource{monref.bib}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setbeamertemplate{bibliography item}{%
\ifboolexpr{ test {\ifentrytype{book}} or test {\ifentrytype{mvbook}}
or test {\ifentrytype{collection}} or test {\ifentrytype{mvcollection}}
or test {\ifentrytype{reference}} or test {\ifentrytype{mvreference}} }
{\setbeamertemplate{bibliography item}[book]}
{\ifentrytype{online}
{\setbeamertemplate{bibliography item}[online]}
{\setbeamertemplate{bibliography item}[article]}}%
\usebeamertemplate{bibliography item}}
\defbibenvironment{bibliography}
{\list{}
{\settowidth{\labelwidth}{\usebeamertemplate{bibliography item}}%
\setlength{\leftmargin}{\labelwidth}%
\setlength{\labelsep}{\biblabelsep}%
\addtolength{\leftmargin}{\labelsep}%
\setlength{\itemsep}{\bibitemsep}%
\setlength{\parsep}{\bibparsep}}}
{\endlist}
{\item}
和
\begin{frame}[noframenumbering,plain,allowframebreaks]{Références}
\printbibliography
\end{frame}
有什么问题?谢谢你的回答。
答案1
您显示的代码存在几个问题。
在bib
文件中,我删除了一些空行,我更正了缺失的部分$\pi$
以\pi
在数学模式下打印,我将所有作者更改为,并将您的条目中familyname, firstname
的更正为。urldate
or
Dec
urldate = {2018-12-02}
我删除了你的行(如果你也有,\bibliography{monref}
则不需要)并且我用类和缺失完成了你的代码以打印所有 bib 条目...biblatex
\addbibresource{monref.bib}
beamer
\nocite{*}
因此以下 MWE
\RequirePackage{filecontents}
\begin{filecontents*}{\jobname.bib}
@Book{Carrega1989,
title = {Théorie des corps: La règle et le compas},
publisher = {Hermann},
year = {1989},
author = {Carrega, J. C.},
}
@Book{marcay,
title = {Constructions à la règle et au compas},
publisher = {Département de Mathématiques d’Orsay, Université Paris-Sud, France},
author = {Fran\c{c}ois, DE MAR\c{C}AY},
}
@Book{Krop,
title = {La quadrature du cercle et le nombre $\pi$},
publisher = {Éditions Ellipses, Paris},
year = {2005},
author = {Krop, André}
}
@online{or,
author = {Picart, Philippe},
title = {Le nombre d'or},
url = {http://trucsmaths.free.fr/nombre_d_or.htm},
urldate = {2018-12-02},
}
@Book{Mutaf,
title = {\'{E}quations algébriques et théorie de Galois},
publisher = {Vuibert},
year = {1980},
author = {Claude Mutafian},
}
@online{Dec,
author = {Debart, Patrice},
title = {Descartes et les Mathématiques},
url = {http://debart.pagesperso-orange.fr/},
urldate = {2018-12-02},
}
\end{filecontents*}
\documentclass{beamer}
\usepackage[backend=bibtex,style=verbose,sorting=none]{biblatex}
\setbeamercovered{transparent}
\addbibresource{\jobname.bib}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setbeamertemplate{bibliography item}{%
\ifboolexpr{ test {\ifentrytype{book}} or test {\ifentrytype{mvbook}}
or test {\ifentrytype{collection}} or test {\ifentrytype{mvcollection}}
or test {\ifentrytype{reference}} or test {\ifentrytype{mvreference}} }
{\setbeamertemplate{bibliography item}[book]}
{\ifentrytype{online}
{\setbeamertemplate{bibliography item}[online]}
{\setbeamertemplate{bibliography item}[article]}}%
\usebeamertemplate{bibliography item}}
\defbibenvironment{bibliography}
{\list{}
{\settowidth{\labelwidth}{\usebeamertemplate{bibliography item}}%
\setlength{\leftmargin}{\labelwidth}%
\setlength{\labelsep}{\biblabelsep}%
\addtolength{\leftmargin}{\labelsep}%
\setlength{\itemsep}{\bibitemsep}%
\setlength{\parsep}{\bibparsep}}}
{\endlist}
{\item}
\usetheme{Berkeley}
\title{The Title}
\author{The Author}
\institute{The Institute}
\begin{document}
\begin{frame}
\maketitle
\end{frame}
\nocite{*}
\begin{frame}[noframenumbering,plain,allowframebreaks]{Références}
\printbibliography
\end{frame}
\end{document}
给出最终的参考书目:
更新:
因为我不清楚您使用的名称的正确顺序是什么,Fran\c{c}ois, DE MAR\c{C}AY
请测试以下包含三种可能性的 bib 文件:
\RequirePackage{filecontents}
\begin{filecontents*}{\jobname.bib}
@Book{marcay,
title = {Constructions à la règle et au compas},
publisher = {Département de Mathématiques d’Orsay, Université Paris-Sud, France},
author = {Fran\c{c}ois, DE MAR\c{C}AY},
}
@Book{marcaya,
title = {Constructions à la règle et au compas},
publisher = {Département de Mathématiques d’Orsay, Université Paris-Sud, France},
author = {MAR\c{C}AY, Fran\c{c}ois DE },
}
@Book{marcayb,
title = {Constructions à la règle et au compas},
publisher = {Département de Mathématiques d’Orsay, Université Paris-Sud, France},
author = {DE MAR\c{C}AY, Fran\c{c}ois },
}
\end{filecontents*}
然后您可以决定使用正确的一个: