请问如何将gbt7714-2015宏包默认的英文人名全部大写改为仅首字母大写?

发布于 2022-05-25 02:03:34

如题,使用overleaf进行论文写作,没有下载并添加gbt-7714-numerical.bst等文件。期望将图片
image.png

中的人名样式改为:"Sauer T.","Strogatz S H.",其余内容(书名、日期等)格式不变。

目前我的代码如下:

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
A.cls文件
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{A}[2021/05/24]

\LoadClass[UTF8,openany,a4paper,oneside,zihao=-4]{ctexbook}

% 参考文献格式 GB/T7714-2015
% 来自https://github.com/hushidong/biblatex-gb7714-2015
\RequirePackage[backend=biber,gbpub=false, style=gb7714-2015]{biblatex}
% 设置目录(可能与tocloft宏包存在潜在的冲突)
\RequirePackage{titletoc}

%条目段间距
\setlength{\bibitemsep}{0.03ex}
\setlength{\bibnamesep}{0.03ex}
%英文条目间距
\setlength{\bibinitsep}{0.03ex}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
main.tex文件
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[]{A}
\addbibresource{content/reference.bib}

\begin{document}
\cite{Sauer} \cite{Strogatz}

\addcontentsline{toc}{chapter}{参考文献} %由于参考文献不是chapter,这句把参考文献加入目录
\printbibliography
\newpage
\end{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
reference.bib文件(在content文件夹下)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@Book{Sauer,
  author = "Timothy Sauer",
  title = "Numerical Analysis",
  edition = "2",
  publisher = "Pearson Education, Inc",
  year = "2012",
  pages="316--317",
}

@Book{Strogatz,
  author = "S H Strogatz",
  title = "Nonlinear Dynamics and Chaos: With Application to Physics, Biology, Chemistry and Engineering",
  publisher = "Perseus Books Publishing, Cambridge",
  year = "1994",
}

查看更多

关注者
0
被浏览
3k
寄存器
寄存器 2022-05-25
这家伙很懒,什么也没写!

texdoc gb7714,然后读2.1 样式及选项加载

image.png

1 个回答

撰写答案

请登录后再发布答案,点击登录

发布
问题

分享
好友

手机
浏览

扫码手机浏览