TheNetAdmin / zjuthesis

Zhejiang University Graduation Thesis LaTeX Template
https://thenetadmin.github.io/zjuthesis
MIT License
2.7k stars 639 forks source link

参考文献的作者名字缩写了,如何显示全名 #337

Closed Liubinggunzu closed 1 year ago

Liubinggunzu commented 1 year ago

操作系统

Windows

TeX 套件

TeXLive 2021 或更新的版本

TeX Compiler

XeTeX

zjuthesis 版本号

9.1.0

MajorFormat

cs

Degree

graduate

Type

thesis

Period

final

BlindReview

true

GradLevel

doctor

问题描述

参考文献的作者名字缩写了,且都为大写如第一个图。 请问怎么修改才能显示成第二个图那样的,或者第三张图那样,不是全部大写 image image image

编译日志

No response

代码

No response

截图

No response

其他信息

No response

hushidong commented 1 year ago

示例:

% !Mode:: "TeX:UTF-8"
% 用于测试gb7714-2015样式,对于作者姓名格式的控制和选项
% 测试gbnamefmt选项
% 测试bib文件中的nameformat域
\documentclass[twoside]{article}
\usepackage{ctex}
\usepackage{xcolor}
\usepackage{hyperref}

\usepackage[backend=biber,style=gb7714-2015,gbalign=center,gbnamefmt=lowercase]{biblatex}

\begin{filecontents}[force]{\jobname.bib}
@ARTICLE{fazzari1993working,
  AUTHOR = {Fazzari, Steven M and Petersen, Bruce C},
  PUBLISHER = {JSTOR},
  DATE = {1993},
  JOURNALTITLE = {The RAND Journal of Economics},
  PAGES = {328--342},
  TITLE = {Working capital and fixed investment: new evidence on financing constraints},
}

@INCOLLECTION{adam2011house,
  AUTHOR = {Adam, Klaus and Kuang, Pei and Marcet, Albert},
  PUBLISHER = {University of Chicago Press},
  BOOKTITLE = {NBER Macroeconomics Annual 2011, Volume 26},
  DATE = {2011},
  PAGES = {77--122},
  TITLE = {House price booms and the current account},
}

@ARTICLE{bernanke1989agency,
  AUTHOR = {Bernanke, Ben and Gertler, Mark},
  PUBLISHER = {JSTOR},
  DATE = {1989},
  JOURNALTITLE = {The American Economic Review},
  PAGES = {14--31},
  TITLE = {Agency costs, net worth, and business fluctuations},
}

@REPORT{calvo2006phoenix,
  AUTHOR = {Calvo, Guillermo A and Izquierdo, Alejandro and Talvi, Ernesto},
  INSTITUTION = {National Bureau of Economic Research},
  DATE = {2006},
  TITLE = {Phoenix miracles in emerging markets: recovering without credit from systemic financial crises},
}

@ARTICLE{wang2006another,
  AUTHOR = {Wang, Peng Fei and Wen, Yi},
  PUBLISHER = {Elsevier},
  DATE = {2006},
  JOURNALTITLE = {Journal of Economic Dynamics and Control},
  NUMBER = {12},
  PAGES = {2533--2552},
  TITLE = {Another look at sticky prices and output persistence},
  VOLUME = {30},
}

\end{filecontents}
\addbibresource{\jobname.bib}

\begin{document}

 \nocite{*}

    \printbibliography
\end{document} 

图片

hushidong commented 1 year ago
% !Mode:: "TeX:UTF-8"
% 用于测试gb7714-2015样式,对于作者姓名格式的控制和选项
% 测试gbnamefmt选项
% 测试bib文件中的nameformat域
\documentclass[twoside]{article}
\usepackage{ctex}
\usepackage{xcolor}
\usepackage{hyperref}

\usepackage[backend=biber,style=gb7714-2015,gbalign=center,gbnamefmt=quanpin]{biblatex}
\apptocmd{\gbquanpinlocalset}{\renewrobustcmd*{\bibnamedelima}{\space}}{}{}

\begin{filecontents}[force]{\jobname.bib}
@ARTICLE{fazzari1993working,
  AUTHOR = {Fazzari, Steven M and Petersen, Bruce C},
  PUBLISHER = {JSTOR},
  DATE = {1993},
  JOURNALTITLE = {The RAND Journal of Economics},
  PAGES = {328--342},
  TITLE = {Working capital and fixed investment: new evidence on financing constraints},
}

@INCOLLECTION{adam2011house,
  AUTHOR = {Adam, Klaus and Kuang, Pei and Marcet, Albert},
  PUBLISHER = {University of Chicago Press},
  BOOKTITLE = {NBER Macroeconomics Annual 2011, Volume 26},
  DATE = {2011},
  PAGES = {77--122},
  TITLE = {House price booms and the current account},
}

@ARTICLE{bernanke1989agency,
  AUTHOR = {Bernanke, Ben and Gertler, Mark},
  PUBLISHER = {JSTOR},
  DATE = {1989},
  JOURNALTITLE = {The American Economic Review},
  PAGES = {14--31},
  TITLE = {Agency costs, net worth, and business fluctuations},
}

@REPORT{calvo2006phoenix,
  AUTHOR = {Calvo, Guillermo A and Izquierdo, Alejandro and Talvi, Ernesto},
  INSTITUTION = {National Bureau of Economic Research},
  DATE = {2006},
  TITLE = {Phoenix miracles in emerging markets: recovering without credit from systemic financial crises},
}

@ARTICLE{wang2006another,
  AUTHOR = {Wang, Peng Fei and Wen, Yi},
  PUBLISHER = {Elsevier},
  DATE = {2006},
  JOURNALTITLE = {Journal of Economic Dynamics and Control},
  NUMBER = {12},
  PAGES = {2533--2552},
  TITLE = {Another look at sticky prices and output persistence},
  VOLUME = {30},
}

\end{filecontents}
\addbibresource{\jobname.bib}

\begin{document}

 \nocite{*}

    \printbibliography
\end{document} 

图片

hushidong commented 1 year ago

示例,下一个版本biblatex-gb7714-2015会带的选项

% !Mode:: "TeX:UTF-8"
% 用于测试gb7714-2015样式,对于作者姓名格式的控制和选项
% 测试gbnamefmt选项
% 测试bib文件中的nameformat域
\documentclass[twoside]{article}
\usepackage{ctex}
\usepackage{xcolor}
\usepackage{hyperref}

\usepackage[backend=biber,style=gb7714-2015,gbalign=center,gbnamefmt=fullname]{biblatex}
\apptocmd{\gbfullnamelocalset}{\renewrobustcmd*{\bibnamedelima}{\space}}{}{}

\begin{filecontents}[force]{\jobname.bib}
@ARTICLE{fazzari1993working,
  AUTHOR = {Fazzari, Steven M and Petersen, Bruce C},
  PUBLISHER = {JSTOR},
  DATE = {1993},
  JOURNALTITLE = {The RAND Journal of Economics},
  PAGES = {328--342},
  TITLE = {Working capital and fixed investment: new evidence on financing constraints},
}

@INCOLLECTION{adam2011house,
  AUTHOR = {Adam, Klaus and Kuang, Pei and Marcet, Albert},
  PUBLISHER = {University of Chicago Press},
  BOOKTITLE = {NBER Macroeconomics Annual 2011, Volume 26},
  DATE = {2011},
  PAGES = {77--122},
  TITLE = {House price booms and the current account},
}

@ARTICLE{bernanke1989agency,
  AUTHOR = {Bernanke, Ben and Gertler, Mark},
  PUBLISHER = {JSTOR},
  DATE = {1989},
  JOURNALTITLE = {The American Economic Review},
  PAGES = {14--31},
  TITLE = {Agency costs, net worth, and business fluctuations},
}

@REPORT{calvo2006phoenix,
  AUTHOR = {Calvo, Guillermo A and Izquierdo, Alejandro and Talvi, Ernesto},
  INSTITUTION = {National Bureau of Economic Research},
  DATE = {2006},
  TITLE = {Phoenix miracles in emerging markets: recovering without credit from systemic financial crises},
}

@ARTICLE{wang2006another,
  AUTHOR = {Wang, Peng Fei and Wen, Yi},
  PUBLISHER = {Elsevier},
  DATE = {2006},
  JOURNALTITLE = {Journal of Economic Dynamics and Control},
  NUMBER = {12},
  PAGES = {2533--2552},
  TITLE = {Another look at sticky prices and output persistence},
  VOLUME = {30},
}

\end{filecontents}
\addbibresource{\jobname.bib}

\begin{document}

 \nocite{*}

    \printbibliography
\end{document} 

图片

Liubinggunzu commented 1 year ago

示例,下一个版本biblatex-gb7714-2015会带的选项

% !Mode:: "TeX:UTF-8"
% 用于测试gb7714-2015样式,对于作者姓名格式的控制和选项
% 测试gbnamefmt选项
% 测试bib文件中的nameformat域
\documentclass[twoside]{article}
\usepackage{ctex}
\usepackage{xcolor}
\usepackage{hyperref}

\usepackage[backend=biber,style=gb7714-2015,gbalign=center,gbnamefmt=fullname]{biblatex}
\apptocmd{\gbfullnamelocalset}{\renewrobustcmd*{\bibnamedelima}{\space}}{}{}

\begin{filecontents}[force]{\jobname.bib}
@ARTICLE{fazzari1993working,
  AUTHOR = {Fazzari, Steven M and Petersen, Bruce C},
  PUBLISHER = {JSTOR},
  DATE = {1993},
  JOURNALTITLE = {The RAND Journal of Economics},
  PAGES = {328--342},
  TITLE = {Working capital and fixed investment: new evidence on financing constraints},
}

@INCOLLECTION{adam2011house,
  AUTHOR = {Adam, Klaus and Kuang, Pei and Marcet, Albert},
  PUBLISHER = {University of Chicago Press},
  BOOKTITLE = {NBER Macroeconomics Annual 2011, Volume 26},
  DATE = {2011},
  PAGES = {77--122},
  TITLE = {House price booms and the current account},
}

@ARTICLE{bernanke1989agency,
  AUTHOR = {Bernanke, Ben and Gertler, Mark},
  PUBLISHER = {JSTOR},
  DATE = {1989},
  JOURNALTITLE = {The American Economic Review},
  PAGES = {14--31},
  TITLE = {Agency costs, net worth, and business fluctuations},
}

@REPORT{calvo2006phoenix,
  AUTHOR = {Calvo, Guillermo A and Izquierdo, Alejandro and Talvi, Ernesto},
  INSTITUTION = {National Bureau of Economic Research},
  DATE = {2006},
  TITLE = {Phoenix miracles in emerging markets: recovering without credit from systemic financial crises},
}

@ARTICLE{wang2006another,
  AUTHOR = {Wang, Peng Fei and Wen, Yi},
  PUBLISHER = {Elsevier},
  DATE = {2006},
  JOURNALTITLE = {Journal of Economic Dynamics and Control},
  NUMBER = {12},
  PAGES = {2533--2552},
  TITLE = {Another look at sticky prices and output persistence},
  VOLUME = {30},
}

\end{filecontents}
\addbibresource{\jobname.bib}

\begin{document}

 \nocite{*}

    \printbibliography
\end{document} 

图片

非常感谢