要重新定义一下thesis的输出driver,比如:
\documentclass{ctexart}
\usepackage{geometry}
\usepackage[style=gb7714-2015,gbnamefmt=lowercase,
gbmedium=false,
doi=false,
gbpunctin=false,
gbfieldtype=true,
gbalign=center]{biblatex}
\makeatletter
\newbibmacro*{institution+location+type+date}{\bibpubfont%当没有institution时不处理。
{\printlist{location}%%加了一个编组避免\usebibmacro{date}把month和day信息去掉
\iflistundef{institution}
{\setunit*{\addcomma\space}}
{\setunit*{\publocpunct}}%
\printlist{institution}%
\newunit%
\iftoggle{bbx:gbfieldtype}{%
\printfield{type}%
\setunit*{\addspace}}{}%
\pubdatadelim%
\usebibmacro{date}%
}}
\DeclareBibliographyDriver{thesis}{%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\usebibmacro{author/editor+others/translator+others}%
\ifnameundef{namea}{}{\setunit{\labelnamepunct}\newblock}%
\usebibmacro{title}%
\newunit\newblock
\usebibmacro{institution+location+type+date}%
\newunit\newblock
\usebibmacro{chapter+pages}%
\iffieldundef{url}{}{%当没有网址时也不输出修改或更新日期
\usebibmacro{modifydate}}%修改或更新日期为带括号的时间
\usebibmacro{doi+eprint+url}%
\newunit
\printfield{pagetotal}%
\newunit\newblock
\setunit{\bibpagerefpunct}\newblock
\usebibmacro{pageref}%
\newunit\newblock
\iftoggle{bbx:related}
{\usebibmacro{related:init}%
\usebibmacro{related}}
{}%
\usebibmacro{annotation}\usebibmacro{finentry}}
\makeatother
\begin{filecontents}[force]{\jobname.bib}
@phdthesis{张志祥rawtype,
author = {张志祥},
title = {间断动力系统的随机扰动及其在守恒律方程中的应用},
location = {北京},
institution = {北京大学},
year = {1998}
}
@mastersthesis{徐秀英rawtype,
author = {徐秀英},
title = {家庭教育对低年级小学生语文学习习惯的影响及对策研究},
location = {武汉},
institution = {华中师范大学},
year = {2013}
}
@mastersthesis{Aldemitarawtype,
author = {Rhodora Romero Aldemita},
title = {Genetic Engineering of rice: Agrobacterium tumefaciens-mediated transformation of rice and evaluation of a corn pollen-specific promoter using the gus A gene in transgenic rice},
location = {West Lafyatte},
publisher = {Purdue University},
year = {1998}
}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
\cite{张志祥rawtype,徐秀英rawtype,Aldemitarawtype}
\printbibliography
\end{document}
结果为:
问 基于gb7714-2015在使用biblatex时如何交换“xx学位论文”与“xx大学”的顺序?