TheNetAdmin / zjuthesis

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

如何在正文引用参考文献时,将et.al,变为中文的“等人” #367

Closed zjuls closed 8 months ago

zjuls commented 8 months ago

操作系统

Windows

TeX 套件

TeXLive 2021 或更新的版本

TeX Compiler

XeTeX

zjuthesis 版本号

v9.1.0

MajorFormat

cs

Degree

graduate

Type

thesis

Period

final

BlindReview

true

GradLevel

doctor

问题描述

如何能在正文引用参考文献时,将et.al,变为中文的“等人”。例如“Li et.al,提出了......”,改为“Li 等人提出了......”。

编译日志

No response

代码

No response

截图

No response

其他信息

No response

hushidong commented 8 months ago
% !TeX encoding = UTF-8

\documentclass[UTF8,fontset=windows]{ctexart}

\begin{filecontents}[force]{\jobname.bib}
@article{Li1999,
  author  = {李晓东 and 张庆红 and 叶瑾琳},
  title   = {气候学研究的若干理论问题},
  journal = {北京大学学报: 自然科学版},
  year    = {1999},
  volume  = {35},
  number  = {1},
  pages   = {101--106}
}

@book{Brooks2000,
    location = {Chicago},
    title = {Troubling confessions: Speaking guilt in law and literature},
    publisher = {University of Chicago Press},
    author = {Brooks, Peter and other},
    date = {2000},
    langid = {american},
}

\end{filecontents}

\usepackage[backend=biber,style=gb7714-2015,gbcitelocal=chinese]{biblatex}
\addbibresource{\jobname.bib}

\DefineBibliographyStrings{english}{
andincitecn = {和},
andothersincitecn = {等人}, 
}
\DeclareDelimFormat[textcite,citet]{andothersdelim}{}%

\begin{document}

\citet{Li1999}提出了。

\citet{Brooks2000}提出了。

\textcite{Li1999}提出了。

\textcite{Brooks2000}提出了。

\printbibliography

\end{document} 

结果为:

图片