| 1 |
% !TEX encoding = UTF-8 |
| 2 |
% !TEX program = xelatex |
| 3 |
% !TEX spellcheck = en_US |
| 4 |
|
| 5 |
\documentclass[a4paper]{l3doc} |
| 6 |
|
| 7 |
\usepackage{fontspec} |
| 8 |
\IfFontExistsTF{SimSun}{\PassOptionsToPackage{fontset=windows}{ctex}}{} |
| 9 |
\usepackage[UTF8, scheme=plain, autoindent=true]{ctex} |
| 10 |
\usepackage{booktabs} |
| 11 |
\usepackage{caption} |
| 12 |
\usepackage{enumitem} |
| 13 |
\usepackage{gbt7714} |
| 14 |
\usepackage{indentfirst} |
| 15 |
\usepackage[listings, breakable, skins]{tcolorbox}% |
| 16 |
\usepackage{threeparttable} |
| 17 |
|
| 18 |
% \EnableCrossrefs |
| 19 |
% \CodelineIndex |
| 20 |
\NewDocElement[macrolike = false , |
| 21 |
idxtype = opt. , |
| 22 |
idxgroup = options , |
| 23 |
printtype = \textit{opt.} |
| 24 |
]{Opt}{OptionEnv} |
| 25 |
|
| 26 |
\renewcommand\contentsname{目次} |
| 27 |
\renewcommand\tablename{表} |
| 28 |
\renewcommand\refname{参考文献} |
| 29 |
\setcounter{tocdepth}{2} |
| 30 |
\bibliographystyle{gbt7714-2025-numeric} |
| 31 |
|
| 32 |
\setmainfont{texgyrepagella}[ |
| 33 |
Extension = .otf, |
| 34 |
UprightFont = *-regular, |
| 35 |
BoldFont = *-bold, |
| 36 |
ItalicFont = *-italic, |
| 37 |
BoldItalicFont = *-bolditalic, |
| 38 |
]% |
| 39 |
% \setsansfont{texgyreheros}[ |
| 40 |
% Extension = .otf, |
| 41 |
% UprightFont = *-regular, |
| 42 |
% BoldFont = *-bold, |
| 43 |
% ItalicFont = *-italic, |
| 44 |
% BoldItalicFont = *-bolditalic, |
| 45 |
% ]% |
| 46 |
% \setmonofont{texgyrecursor}[ |
| 47 |
% Extension = .otf, |
| 48 |
% UprightFont = *-regular, |
| 49 |
% BoldFont = *-bold, |
| 50 |
% ItalicFont = *-italic, |
| 51 |
% BoldItalicFont = *-bolditalic, |
| 52 |
% Scale = MatchLowercase, |
| 53 |
% Ligatures = CommonOff, |
| 54 |
% ]% |
| 55 |
|
| 56 |
\setlist{nosep} |
| 57 |
|
| 58 |
\NewDocumentCommand\email{m}{\nolinkurl{#1}} |
| 59 |
\NewDocumentCommand\opt{m}{\texttt{#1}} |
| 60 |
\NewDocumentCommand\entrytype{m}{\texttt{@#1}} |
| 61 |
\NewDocumentCommand\entrykey{m}{\texttt{#1}} |
| 62 |
\NewDocumentCommand\field{m}{\texttt{#1}} |
| 63 |
\def\doi#1{\href{https://doi.org/#1}{\nolinkurl{#1}}} |
| 64 |
\def\cstr#1{\href{https://cstr.cn/#1}{\nolinkurl{#1}}} |
| 65 |
|
| 66 |
\makeatletter |
| 67 |
\NewDocumentCommand\kvopt{mm}{{% |
| 68 |
\ttfamily#1\penalty\@M |
| 69 |
\hskip 0em plus 0.15em\relax |
| 70 |
=\penalty\hyphenpenalty |
| 71 |
\hskip 0em plus 0.15em\relax #2}} |
| 72 |
\makeatother |
| 73 |
|
| 74 |
\pdfstringdefDisableCommands{% |
| 75 |
\def\file#1{#1}% |
| 76 |
\def\field#1{#1}% |
| 77 |
\def\BibTeX{B}% |
| 78 |
} |
| 79 |
|
| 80 |
\NewDocumentCommand{\optsyntax}{o m m}{% |
| 81 |
\begin{syntax}% |
| 82 |
% #2 |
| 83 |
\texttt{= #3}% |
| 84 |
\IfValueT{#1}{% |
| 85 |
\hfill default: \texttt{#1}% |
| 86 |
}% |
| 87 |
\end{syntax} |
| 88 |
} |
| 89 |
|
| 90 |
\NewDocumentCommand{\boolsyntax}{O{false} m}{% |
| 91 |
\optsyntax[#1]{#2}{true, false} |
| 92 |
} |
| 93 |
|
| 94 |
\NewDocumentCommand{\intsyntax}{o m}{% |
| 95 |
\begin{syntax}% |
| 96 |
% #2 |
| 97 |
\texttt{= #2}% |
| 98 |
\IfValueT{#1}{% |
| 99 |
\hfill default: \texttt{#1}% |
| 100 |
}% |
| 101 |
\end{syntax} |
| 102 |
} |
| 103 |
|
| 104 |
\NewDocumentCommand{\valsyntax}{o m}{% |
| 105 |
\begin{syntax}% |
| 106 |
% #2 |
| 107 |
\texttt{= #2}% |
| 108 |
\IfValueT{#1}{% |
| 109 |
\hfill default: \texttt{#1}% |
| 110 |
}% |
| 111 |
\end{syntax} |
| 112 |
} |
| 113 |
|
| 114 |
\newcommand*{\highlighta}[1]{\textcolor{highlight1}{#1}} |
| 115 |
\newcommand*{\highlightb}[1]{\textcolor{highlight2}{#1}} |
| 116 |
|
| 117 |
\definecolor{highlight1}{RGB}{240, 0, 0} |
| 118 |
\definecolor{highlight2}{RGB}{0,153, 153} |
| 119 |
\definecolor{spot}{rgb}{0,0.2,0.6} |
| 120 |
|
| 121 |
\lstdefinelanguage{BibTeX}{ |
| 122 |
% entry types: |
| 123 |
morekeywords = { |
| 124 |
% regular types: |
| 125 |
@article, |
| 126 |
@book,@mvbook,@inbook,@bookinbook,@suppbook,@booklet, |
| 127 |
@collection,@mvcollection,@incollection,@suppcollection, |
| 128 |
@manual, |
| 129 |
@misc, |
| 130 |
@online, |
| 131 |
@patent, |
| 132 |
@periodical, |
| 133 |
@suppperiodical, |
| 134 |
@proceedings,@mvproceedings,@inproceedings, |
| 135 |
@reference,@mvreference,@inreference, |
| 136 |
@report, |
| 137 |
@set, |
| 138 |
@thesis, |
| 139 |
@unpublished, |
| 140 |
@xdata, |
| 141 |
@customa,@customb,@customc,@customd,@custome,@customf, |
| 142 |
% type aliases: |
| 143 |
@conference, |
| 144 |
@electronic, |
| 145 |
@mastersthesis, |
| 146 |
@phdthesis, |
| 147 |
@techreport, |
| 148 |
@www, |
| 149 |
% unsupported types: |
| 150 |
@artwork, |
| 151 |
@audiobibnote, |
| 152 |
@commentary, |
| 153 |
@image, |
| 154 |
@jurisdiction, |
| 155 |
@legislation, |
| 156 |
@legal, |
| 157 |
@letter, |
| 158 |
@movie, |
| 159 |
@music |
| 160 |
@performance, |
| 161 |
@review, |
| 162 |
@software, |
| 163 |
@standard, |
| 164 |
@video, |
| 165 |
% cnltx types: |
| 166 |
@bundle, |
| 167 |
@class, |
| 168 |
@package, |
| 169 |
} , |
| 170 |
% entry fields: |
| 171 |
morekeywords = [2]{ |
| 172 |
% data fields: |
| 173 |
abstract, addendum, afterword, annotation, annotator, author, authortype, |
| 174 |
bookauthor, bookpagination, booksubtitle, booktitle, booktitleaddon, |
| 175 |
chapter, commentator, date, doi, edition, editor,editora,editorb,editorc, |
| 176 |
editortype, editoratype,editorbtype,editorctype, eid, entrysubtype, eprint, |
| 177 |
eprintclass, eprinttype, eventdate, eventtitle, eventtitleaddon, file, |
| 178 |
foreword, holder, howpublished, indextitle, institution, introduction, |
| 179 |
isan, isbn, ismn, isrn, issn, issue, issuesubtitle, issuetitle, iswc, |
| 180 |
journalsubtitle, journaltitle, label, language, library, location, |
| 181 |
mainsubtitle, maintitle, maintitleaddon, month, nameaddon, note, number, |
| 182 |
organization, origdate, origlanguage, origlocation, origpublisher, |
| 183 |
origtitle, pages, pagetotal, pagination, part, publisher, pubstate, |
| 184 |
reprinttitle, series, shortauthor, shorteditor, shorthand, shorthandintro, |
| 185 |
shortjournal, shortseries, shorttitle, subtitle, title, titleaddon, |
| 186 |
translator, type, url, urldate, venue, version, volume, volumes, year, |
| 187 |
% special fields: |
| 188 |
crossref, entryset, execute, gender, hyphenation, ids, indexsorttitle, |
| 189 |
keywords, options, presort, related, relatedoptions, relatedtype, |
| 190 |
relatedstring, sortkey, sortname, sortshorthand, sorttitle, sortyear, |
| 191 |
xdata, xref, |
| 192 |
% custom fields: |
| 193 |
namea,nameb,namec, nameatype,namebtype,namectype, |
| 194 |
lista,listb,listc,listd,liste,listf, |
| 195 |
usera,userb,userc,userd,usere,userf, |
| 196 |
verba,verbb,verbc, |
| 197 |
% field aliases: |
| 198 |
address, annote, archiveprefix, journal, key, pdf, primaryclass, school, |
| 199 |
% cnltx fields: |
| 200 |
maintainer |
| 201 |
} , |
| 202 |
morestring = [b]{"} , |
| 203 |
morecomment = [l]{\%} , |
| 204 |
sensitive = false |
| 205 |
} |
| 206 |
|
| 207 |
\lstdefinestyle{gbt7714stylegeneral}{% |
| 208 |
basicstyle = \ttfamily\small\linespread{1}\selectfont, |
| 209 |
basewidth = 0.51em, |
| 210 |
gobble = 2, |
| 211 |
aboveskip = {0\p@ \@plus 6\p@}, |
| 212 |
belowskip = {0\p@ \@plus 6\p@}, |
| 213 |
% tabsize = 2, |
| 214 |
breaklines = true, |
| 215 |
% breakatwhitespace = true, |
| 216 |
keepspaces = true, |
| 217 |
% escapeinside = {(*@}{@*)}, |
| 218 |
% moredelim = {[is][\ttfamily\bfseries\color{highlight1}]{|}{|}}, |
| 219 |
% moredelim = {[is][\ttfamily\bfseries\color{highlight1}]{|1}{1|}}, |
| 220 |
% moredelim = {[is][\ttfamily\bfseries\color{highlight2}]{|2}{2|}}, |
| 221 |
} |
| 222 |
|
| 223 |
\lstdefinestyle{gbt7714stylelatex}{% |
| 224 |
language = {[LaTeX]TeX}, |
| 225 |
style = {gbt7714stylegeneral}, |
| 226 |
moretexcs = { |
| 227 |
dimexpr,gbtsetup}, |
| 228 |
} |
| 229 |
|
| 230 |
\lstdefinestyle{gbt7714stylebibtex}{% |
| 231 |
language = {BibTeX}, |
| 232 |
style = {gbt7714stylegeneral}, |
| 233 |
} |
| 234 |
|
| 235 |
\newtcblisting{LaTeXdemo}{enhanced, |
| 236 |
colframe=black!75!white, colback=black!5!white, |
| 237 |
listing only, |
| 238 |
frame hidden, |
| 239 |
breakable, |
| 240 |
listing style=gbt7714stylelatex} |
| 241 |
|
| 242 |
\newtcblisting{BibTeXdemo}{enhanced, |
| 243 |
colframe=black!75!white, colback=black!5!white, |
| 244 |
listing only, |
| 245 |
frame hidden, |
| 246 |
breakable, |
| 247 |
listing style = gbt7714stylebibtex} |
| 248 |
|
| 249 |
\newtcolorbox{citeexample}[1][]{enhanced, |
| 250 |
colframe=spot!75!black, colback=spot!5!white, |
| 251 |
before title=\raggedright, |
| 252 |
#1} |
| 253 |
|
| 254 |
\newtcolorbox{bibexamplecolorbox}[1][]{enhanced, |
| 255 |
colframe=spot!75!black, colback=spot!5!white, |
| 256 |
before title=\raggedright, |
| 257 |
#1} |
| 258 |
|
| 259 |
\makeatletter |
| 260 |
\ExplSyntaxOn |
| 261 |
\tl_new:N \l__gbt_bib_example_title_tl |
| 262 |
\keys_define:nn { gbt7714 / bibexample } |
| 263 |
{ |
| 264 |
style .choice: , |
| 265 |
style / numeric .code:n = { \citestyle { numeric } }, |
| 266 |
style / authoryear .code:n = { \citestyle { authoryear } }, |
| 267 |
title .tl_set:N = \l__gbt_bib_example_title_tl , |
| 268 |
} |
| 269 |
|
| 270 |
\newenvironment{bibexample}[1][]{% |
| 271 |
\keys_set:nn { gbt7714 / bibexample } { style = numeric } |
| 272 |
\keys_set:nn { gbt7714 / bibexample } { #1 } |
| 273 |
\begin{bibexamplecolorbox}[title={\l__gbt_bib_example_title_tl}]% |
| 274 |
\def\doi{\begingroup \urlstyle{same}\Url} |
| 275 |
\let\@lbibitem\gbt@biblist@lbibitem |
| 276 |
% \setcitestyle{numbers}% |
| 277 |
\begin{biblist}% |
| 278 |
}{% |
| 279 |
\end{biblist}% |
| 280 |
\end{bibexamplecolorbox}% |
| 281 |
} |
| 282 |
\ExplSyntaxOff |
| 283 |
|
| 284 |
% Modified from natbib's thebibliography environment |
| 285 |
\newenvironment{biblist}{% |
| 286 |
% \bibsection |
| 287 |
\par |
| 288 |
\parindent\z@ |
| 289 |
\bibpreamble |
| 290 |
% 参考文献表的设置 |
| 291 |
\gbt@bib@setup |
| 292 |
\hypersetup{hidelinks}% |
| 293 |
\bibfont |
| 294 |
\list{\@biblabel{\the\c@NAT@ctr}}{\@bibsetup{88}\global\c@NAT@ctr\z@}% |
| 295 |
\ifNAT@openbib |
| 296 |
\renewcommand\newblock{\par}% |
| 297 |
\else |
| 298 |
\renewcommand\newblock{\hskip .11em \@plus.33em \@minus.07em}% |
| 299 |
\fi |
| 300 |
% \sloppy\clubpenalty4000\widowpenalty4000 |
| 301 |
\sfcode`\.\@m |
| 302 |
\let\NAT@bibitem@first@sw\@firstoftwo |
| 303 |
\let\citeN\cite \let\shortcite\cite |
| 304 |
\let\citeasnoun\cite |
| 305 |
}{% |
| 306 |
\bibitem@fin |
| 307 |
\bibpostamble |
| 308 |
\def\@noitemerr{% |
| 309 |
\PackageWarning{natbib}{Empty `thebibliography' environment}% |
| 310 |
}% |
| 311 |
\endlist |
| 312 |
\bibcleanup |
| 313 |
} |
| 314 |
|
| 315 |
\def\gbt@biblist@lbibitem[#1]#2{% |
| 316 |
\if\relax\@extra@b@citeb\relax\else |
| 317 |
\@ifundefined{br@#2\@extra@b@citeb}{}{% |
| 318 |
\@namedef{br@#2}{\@nameuse{br@#2\@extra@b@citeb}}% |
| 319 |
}% |
| 320 |
\fi |
| 321 |
\@ifundefined{b@#2\@extra@b@citeb}{% |
| 322 |
\def\NAT@num{}% |
| 323 |
}{% |
| 324 |
\NAT@parse{#2}% |
| 325 |
}% |
| 326 |
\def\NAT@tmp{#1}% |
| 327 |
\expandafter\let\expandafter\bibitemOpen\csname NAT@b@open@#2\endcsname |
| 328 |
\expandafter\let\expandafter\bibitemShut\csname NAT@b@shut@#2\endcsname |
| 329 |
\@ifnum{\NAT@merge>\@ne}{% |
| 330 |
\NAT@bibitem@first@sw{% |
| 331 |
\@firstoftwo |
| 332 |
}{% |
| 333 |
\@ifundefined{NAT@b*@#2}{% |
| 334 |
\@firstoftwo |
| 335 |
}{% |
| 336 |
\expandafter\def\expandafter\NAT@num\expandafter{\the\c@NAT@ctr}% |
| 337 |
\@secondoftwo |
| 338 |
}% |
| 339 |
}% |
| 340 |
}{% |
| 341 |
\@firstoftwo |
| 342 |
}% |
| 343 |
{% |
| 344 |
\global\advance\c@NAT@ctr\@ne |
| 345 |
\@ifx{\NAT@tmp\@empty}{\@firstoftwo}{% |
| 346 |
\@secondoftwo |
| 347 |
}% |
| 348 |
{% |
| 349 |
\expandafter\def\expandafter\NAT@num\expandafter{\the\c@NAT@ctr}% |
| 350 |
\global\NAT@stdbsttrue |
| 351 |
}{}% |
| 352 |
% Use the \c@NAT@ctr as the bib number |
| 353 |
\@ifx{\NAT@num\@empty}{% |
| 354 |
% \expandafter\def\expandafter\NAT@num\expandafter{\the\c@NAT@ctr}% |
| 355 |
\edef\NAT@num{\the\c@NAT@ctr}% |
| 356 |
}{}% |
| 357 |
\bibitem@fin |
| 358 |
\item[\hfil\NAT@anchor{#2}{\NAT@num}]% |
| 359 |
\global\let\NAT@bibitem@first@sw\@secondoftwo |
| 360 |
\NAT@bibitem@init |
| 361 |
}% |
| 362 |
{% |
| 363 |
\NAT@anchor{#2}{}% |
| 364 |
\NAT@bibitem@cont |
| 365 |
\bibitem@fin |
| 366 |
}% |
| 367 |
% Do not write `\bibcite` to aux file |
| 368 |
% \@ifx{\NAT@tmp\@empty}{% |
| 369 |
% \NAT@wrout{\the\c@NAT@ctr}{}{}{}{#2}% |
| 370 |
% }{% |
| 371 |
% \expandafter\NAT@ifcmd\NAT@tmp(@)(@)\@nil{#2}% |
| 372 |
% }% |
| 373 |
}% |
| 374 |
|
| 375 |
\makeatother |
| 376 |
\begin{filecontents}[overwrite]{\jobname.bib} |
| 377 |
@standard{gbt7714-2025, |
| 378 |
type = {国家标准}, |
| 379 |
title = {信息与文献\quad 参考文献著录规则}, |
| 380 |
author = {{全国信息与文献标准化技术委员会}}, |
| 381 |
date = {2025-12-02}, |
| 382 |
number = {GB/T 7714—2025}, |
| 383 |
url = {https://std.samr.gov.cn/gb/search/gbDetailed?id=4507EFE13D37CB6AE06397BE0A0A601F}, |
| 384 |
urldate = {2025-12-02}, |
| 385 |
langid = {chinese}, |
| 386 |
} |
| 387 |
|
| 388 |
@software{natbib, |
| 389 |
title = {Natural Sciences Citations and References}, |
| 390 |
author = {Daly, Patrick W.}, |
| 391 |
date = {2010-09-13}, |
| 392 |
url = {https://ctan.org/pkg/natbib}, |
| 393 |
urldate = {2026-04-28}, |
| 394 |
version = {8.31b}, |
| 395 |
} |
| 396 |
|
| 397 |
@article{chen2015, |
| 398 |
title = {GB/T 7714新标准对旧标准的主要修改及实施要点提示}, |
| 399 |
author = {{陈浩元}}, |
| 400 |
date = {2015-08}, |
| 401 |
journaltitle = {编辑学报}, |
| 402 |
volume = {27}, |
| 403 |
number = {4}, |
| 404 |
pages = {339--343}, |
| 405 |
doi = {10.16811/j.cnki.1001-4314.2015.04.015}, |
| 406 |
url = {http://bjxb.cessp.org.cn/ch/reader/view_abstract.aspx?file_no=20150411&flag=1}, |
| 407 |
urldate = {2025-03-22}, |
| 408 |
langid = {chinese}, |
| 409 |
} |
| 410 |
|
| 411 |
@article{liu2024, |
| 412 |
title = {GB/T 7714—2015《信息与文献 参考文献著录规则》修订研究}, |
| 413 |
author = {{刘孝平} and {张耀蕾} and {刘霞}}, |
| 414 |
date = {2024-12}, |
| 415 |
journaltitle = {数字图书馆论坛}, |
| 416 |
volume = {20}, |
| 417 |
number = {12}, |
| 418 |
pages = {28--34}, |
| 419 |
issn = {1673-2286}, |
| 420 |
doi = {10.3772/j.issn.1673-2286.2024.12.004}, |
| 421 |
url = {https://journals.istic.ac.cn/dlf/ch/reader/view_abstract.aspx?file_no=202412004&flag=1}, |
| 422 |
urldate = {2026-04-07}, |
| 423 |
langid = {chinese}, |
| 424 |
} |
| 425 |
@article{chen2024, |
| 426 |
title = {对GB/T 7714—2015的标识符号问题咨询的答复}, |
| 427 |
author = {{陈浩元}}, |
| 428 |
date = {2024-05-11}, |
| 429 |
journaltitle = {编辑学报}, |
| 430 |
volume = {36}, |
| 431 |
number = {2}, |
| 432 |
pages = {139}, |
| 433 |
url = {http://bjxb.cessp.org.cn/ch/reader/view_abstract.aspx?file_no=20240205&flag=1}, |
| 434 |
urldate = {2025-03-22}, |
| 435 |
langid = {chinese}, |
| 436 |
} |
| 437 |
|
| 438 |
@online{apa2022, |
| 439 |
title = {Sentence Case Capitalization}, |
| 440 |
author = {{American Psychological Association}}, |
| 441 |
date = {2022-07}, |
| 442 |
url = {https://apastyle.apa.org/style-grammar-guidelines/capitalization/sentence-case}, |
| 443 |
urldate = {2026-04-30}, |
| 444 |
langid = {american}, |
| 445 |
} |
| 446 |
|
| 447 |
@software{hu2026, |
| 448 |
title = {符合 GB/T 7714—2015 标准的 Biblatex 参考文献样式}, |
| 449 |
author = {{胡振震}}, |
| 450 |
date = {2026-04-11}, |
| 451 |
url = {https://www.ctan.org/pkg/biblatex-gb7714-2015}, |
| 452 |
urldate = {2026-04-28}, |
| 453 |
version = {1.1w}, |
| 454 |
langid = {chinese}, |
| 455 |
} |
| 456 |
\end{filecontents} |
| 457 |
|
| 458 |
|
| 459 |
\begin{document} |
| 460 |
|
| 461 |
\GetFileInfo{gbt7714.sty} |
| 462 |
|
| 463 |
\title{% |
| 464 |
\pkg{gbt7714} -- A \BibTeX{} implementation of Chinese National Standard |
| 465 |
GB/T 7714% |
| 466 |
} |
| 467 |
|
| 468 |
\author{Zeping Lee} |
| 469 |
|
| 470 |
\date{\fileversion\quad\filedate} |
| 471 |
|
| 472 |
\maketitle |
| 473 |
|
| 474 |
\begin{abstract} |
| 475 |
The \pkg{gbt7714} package provides a comprehensive and configurable \BibTeX{} |
| 476 |
implementation of the Chinese National Standard GB/T 7714, ``Information and |
| 477 |
doc\-u\-men\-ta\-tion---Rules for bibliographic references and citations to |
| 478 |
information resources.'' |
| 479 |
It features a suite of \BibTeX{} styles supporting both numeric and author-year |
| 480 |
citation systems while maintaining full compatibility with the \pkg{natbib} |
| 481 |
package for advanced citation commands and formatting. |
| 482 |
The \BibTeX{} styles are designed to automatically detect the language (Chinese |
| 483 |
or English) of each bibliographic entry and apply the appropriate localization. |
| 484 |
Additionally, the package exposes a range of configuration options, allowing |
| 485 |
users to easily adapt the output to the requirements of specific academic |
| 486 |
journals or institutions. |
| 487 |
\end{abstract} |
| 488 |
|
| 489 |
\tableofcontents |
| 490 |
\clearpage |
| 491 |
|
| 492 |
\begin{documentation} |
| 493 |
|
| 494 |
\linespread{1.25}\selectfont |
| 495 |
|
| 496 |
\section{简介} |
| 497 |
|
| 498 |
GB/T 7714—2025 《信息与文献\quad 参考文献著录规则》\cite{gbt7714-2025} |
| 499 |
(以下简称“国标”)是中国的参考文献格式推荐性标准, |
| 500 |
广泛应用于国内的学术期刊、学位论文等。 |
| 501 |
\pkg{gbt7714} 宏包旨在提供一套全面且高度可配置的 \BibTeX{} 实现,严格遵循国标的格式要求。 |
| 502 |
该宏包的 \BibTeX{} 样式,不仅支持顺序编码制和著者-出版年制两种引用体系, |
| 503 |
还与 \pkg{natbib} 宏包完全兼容,从而支持更高级的引用命令和格式。 |
| 504 |
这些样式能够自动识别参考文献条目的中/英文语言,并进行相应的处理。 |
| 505 |
此外,该宏包还提供了丰富的配置选项,方便用户根据特定学术期刊或机构的具体要求, |
| 506 |
对参考文献的输出格式进行调整。 |
| 507 |
|
| 508 |
本宏包的主页:\url{https://github.com/zepinglee/gbt7714-bibtex-style}。 |
| 509 |
|
| 510 |
|
| 511 |
\section{使用说明} |
| 512 |
\label{sec:usage} |
| 513 |
|
| 514 |
下面是 \pkg{gbt7714} 宏包的一个简单示例。 |
| 515 |
|
| 516 |
\begin{LaTeXdemo} |
| 517 |
\documentclass[UTF8]{ctexart} |
| 518 |
\usepackage[sort]{gbt7714} |
| 519 |
\bibliographystyle{gbt7714-numeric} |
| 520 |
\begin{document} |
| 521 |
\cite{citekey} |
| 522 |
\bibliography{bibfile} |
| 523 |
\end{document} |
| 524 |
\end{LaTeXdemo} |
| 525 |
|
| 526 |
在导言区调用 \pkg{gbt7714} 宏包时即可设置选项, |
| 527 |
也可以在调用宏包后通过 \cs{gbtsetup} 命令设置(见第~\ref{sec:options} 节)。 |
| 528 |
|
| 529 |
\cs{bibliographystyle} 命令用于选择参考文献表的样式文件。 |
| 530 |
按照国标的规定,参考文献的引用体系分为顺序编码制(-numeric) |
| 531 |
和著者-出版年制(-authoryear)。 |
| 532 |
\pkg{gbt7714} 提供的全部样式见第~\ref{sec:bib-styles} 节。 |
| 533 |
|
| 534 |
正文中,用户可以使用 \cs{cite} 命令进行引用, |
| 535 |
其中 \entrykey{citekey} 是文献的标识符(key), |
| 536 |
对应 \BibTeX{} 数据库中的文献条目。 |
| 537 |
另外,\pkg{gbt7714} 所依赖的 \pkg{natbib} 宏包提供了丰富的高级命令, |
| 538 |
详见第~\ref{sec:cite} 节。 |
| 539 |
|
| 540 |
文末的参考文献表使用 \cs{bibliography} 命令生成。 |
| 541 |
示例中调用了 \file{bibfile.bib} 的 \BibTeX{} 数据库。 |
| 542 |
\file{.bib} 文件的格式及本宏包的填写要求见第~\ref{sec:bibfile} 节。 |
| 543 |
|
| 544 |
|
| 545 |
\section{参考文献样式} |
| 546 |
\label{sec:bib-styles} |
| 547 |
|
| 548 |
按照国标的规定,参考文献的标注体系分为“顺序编码制”和 |
| 549 |
“著者-出版年制”。 |
| 550 |
用户应在导言区调用宏包 \pkg{gbt7714},并且使用 \cs{bibliographystyle} |
| 551 |
命令选择参考文献表的样式,例如: |
| 552 |
\begin{LaTeXdemo} |
| 553 |
\bibliographystyle{gbt7714-numeric} % 顺序编码制 |
| 554 |
\end{LaTeXdemo} |
| 555 |
或者 |
| 556 |
\begin{LaTeXdemo} |
| 557 |
\bibliographystyle{gbt7714-authoryear} % 著者-出版年制 |
| 558 |
\end{LaTeXdemo} |
| 559 |
|
| 560 |
样式名中不含年份的版本对应现行 GB/T 7714。 |
| 561 |
用户也可以指定带年份的版本,如 \texttt{gbt7714-2025-numeric}。 |
| 562 |
下面列举了可用的参考文献表样式文件: |
| 563 |
|
| 564 |
\begin{itemize} |
| 565 |
\item \file{gbt7714-numeric} |
| 566 |
\item \file{gbt7714-authoryear} |
| 567 |
\item \file{gbt7714-2025-numeric} |
| 568 |
\item \file{gbt7714-2025-authoryear} |
| 569 |
\item \file{gbt7714-2015-numeric} |
| 570 |
\item \file{gbt7714-2015-authoryear} |
| 571 |
\item \file{gbt7714-2005-numeric} |
| 572 |
\item \file{gbt7714-2005-authoryear} |
| 573 |
\end{itemize} |
| 574 |
|
| 575 |
注意,\pkg{gbt7714} 宏包在 v2.2.0 版本将样式名称的后缀 |
| 576 |
\file{-numerical} 和 \file{-author-year} 分别改为 |
| 577 |
\file{-numeric} 和 \file{-authoryear}。 |
| 578 |
这样与其他 Bib(La)TeX 的样式名称更一致。 |
| 579 |
旧版的样式名称仍然可以使用,但是会警告样式名称已过时。 |
| 580 |
|
| 581 |
|
| 582 |
\section{正文中的引用命令} |
| 583 |
\label{sec:cite} |
| 584 |
|
| 585 |
\DescribeMacro{\cite} |
| 586 |
在正文中进行引用时, |
| 587 |
\cs{cite} 是 \LaTeX{} 提供的基础命令, |
| 588 |
但是这还不能满足国标规定的两种参考文献标引体系的各种格式。 |
| 589 |
\pkg{gbt7714} 在内部调用了 \pkg{natbib} 宏包来处理正文中的引用标注, |
| 590 |
因此用户可以使用 \pkg{natbib} 提供的各种引用命令, |
| 591 |
详见该宏包的文档\cite{natbib}。 |
| 592 |
|
| 593 |
\subsection{顺序编码制} |
| 594 |
|
| 595 |
\begin{quote} |
| 596 |
\linespread{1}\selectfont |
| 597 |
\begin{tabular}{l@{\quad$\Rightarrow$\quad}l} |
| 598 |
|\cite{key}| & \textsuperscript{[235]} \\ |
| 599 |
|\cite{key1,key2}| & \textsuperscript{[235,83]} \\ |
| 600 |
|\cite[326-329]{key}| & \textsuperscript{[2]326-329} \\ |
| 601 |
|\citet{key}| & 张三\textsuperscript{[570]} \\ |
| 602 |
|\parencite[15]{key}| & [10]\textsuperscript{15} \\ |
| 603 |
\end{tabular} |
| 604 |
\end{quote} |
| 605 |
|
| 606 |
顺序编码制是一种按文献在正文中被引用的先后次序,以序号进行标注的引用体系。 |
| 607 |
国标要求将序号置于方括号“[ ]”中,在示例中均使用上标的格式著录。 |
| 608 |
用户在调用 \pkg{gbt7714} 宏包的 \file{-numeric} 样式后, |
| 609 |
\cs{cite} 命令自动生成这种格式。 |
| 610 |
|
| 611 |
\begin{citeexample} |
| 612 |
\begin{lstlisting}[style=gbt7714stylelatex] |
| 613 |
第三系褶皱的控制\cite{key} |
| 614 |
\end{lstlisting} |
| 615 |
\tcblower |
| 616 |
第三系褶皱的控制\textsuperscript{[235]} |
| 617 |
\end{citeexample} |
| 618 |
|
| 619 |
同一处引用多篇文献时,将各篇文献的 key 一同写在 \cs{cite} 命令中, |
| 620 |
如 \texttt{\cs{cite}\{key1,\allowbreak key2,key3\}}。 |
| 621 |
默认情况下,序号按照 \cs{cite} 命令中的顺序排列。 |
| 622 |
|
| 623 |
\DescribeOption{sort} |
| 624 |
有时由于重复引用,序号不一定按照从小到大的顺序排列。 |
| 625 |
实际上,国标是允许这样引用的。 |
| 626 |
用户如果需要将引用的序号从小到大排序, |
| 627 |
可以在调用宏包时或使用 \cs{gbtsetup} 命令设置 \opt{sort} 选项。 |
| 628 |
|
| 629 |
\begin{citeexample} |
| 630 |
\begin{lstlisting}[style=gbt7714stylelatex] |
| 631 |
同一处引用多篇文献\cite{key3,key2,key1} |
| 632 |
\end{lstlisting} |
| 633 |
\tcblower |
| 634 |
同一处引用多篇文献\textsuperscript{[3,2,1]} |
| 635 |
\end{citeexample} |
| 636 |
|
| 637 |
\DescribeOption{mincompress} |
| 638 |
如遇连续序号,\pkg{gbt7714} 会自动在起讫序号间并用短横线连接。 |
| 639 |
\pkg{natbib} 默认三个或以上的连续序号才会压缩为起讫序号, |
| 640 |
\pkg{gbt7714} 修改为两个或以上连续序号就要压缩,以符合国标的要求。 |
| 641 |
用户也可以使用 \opt{mincompress} 选项设置最小数量,见第 \ref{opt:mincompress} 节。 |
| 642 |
|
| 643 |
\begin{citeexample} |
| 644 |
\begin{lstlisting}[style=gbt7714stylelatex] |
| 645 |
连续序号\cite{key1,key3,key4,key6,key7,key8} |
| 646 |
\end{lstlisting} |
| 647 |
\tcblower |
| 648 |
连续序号\textsuperscript{[1,3-4,6-8]} |
| 649 |
\end{citeexample} |
| 650 |
|
| 651 |
多次引用同一文献时,国标要求在序号的方括号“[ ]”外著录引文页码。 |
| 652 |
|
| 653 |
\begin{citeexample} |
| 654 |
\begin{lstlisting}[style=gbt7714stylelatex] |
| 655 |
引文页码\cite[260]{key} |
| 656 |
\end{lstlisting} |
| 657 |
\tcblower |
| 658 |
引文页码\textsuperscript{[2]260} |
| 659 |
\end{citeexample} |
| 660 |
|
| 661 |
\DescribeMacro{\citet} |
| 662 |
使用 \cs{citet} 命令可以生成主要责任者和序号。 |
| 663 |
|
| 664 |
\begin{citeexample} |
| 665 |
\begin{lstlisting}[style=gbt7714stylelatex] |
| 666 |
\citet{key}提出…… |
| 667 |
\end{lstlisting} |
| 668 |
\tcblower |
| 669 |
张三\textsuperscript{[570]}提出…… |
| 670 |
\end{citeexample} |
| 671 |
|
| 672 |
\DescribeMacro{\parencite} |
| 673 |
\DescribeOption{inline} |
| 674 |
在有些情况下,序号也可作为行文语句的组成部分\cite[341]{chen2015}。 |
| 675 |
作者可以使用 \cs{parencite} 命令将序号与正文平排, |
| 676 |
引文页码默认仍然以上标的形式著录在序号的方括号外。 |
| 677 |
如果全文统一采用这种格式,可以在调用宏包或使用 \cs{gbtsetup} |
| 678 |
命令设置 \opt{inline=true} 选项。 |
| 679 |
|
| 680 |
\begin{citeexample} |
| 681 |
\begin{lstlisting}[style=gbt7714stylelatex] |
| 682 |
推导过程见文献\parencite{key6}。按文献\parencite[16]{key10}提供的参数设计样机 |
| 683 |
\end{lstlisting} |
| 684 |
\tcblower |
| 685 |
推导过程见文献 [6]。按文献[10]\textsuperscript{15}提供的参数设计样机 |
| 686 |
\end{citeexample} |
| 687 |
|
| 688 |
\begin{citeexample} |
| 689 |
\begin{lstlisting}[style=gbt7714stylelatex] |
| 690 |
\gbtsetup{inline = true} |
| 691 |
推导过程见文献\cite{key6}。按文献\cite[16]{key10}提供的参数设计出样机 |
| 692 |
\end{lstlisting} |
| 693 |
\tcblower |
| 694 |
推导过程见文献 [6]。按文献[10]\textsuperscript{15}提供的参数设计出样机 |
| 695 |
\end{citeexample} |
| 696 |
|
| 697 |
|
| 698 |
\subsection{著者-出版年制} |
| 699 |
|
| 700 |
\begin{quote} |
| 701 |
\linespread{1}\selectfont |
| 702 |
\begin{tabular}{l@{\quad$\Rightarrow$\quad}l} |
| 703 |
|\cite{key}| & 张三(1984)\\ |
| 704 |
|\citet{key}| & 张三(1984)\\ |
| 705 |
|\citep{key}| & (张三,1984)\\ |
| 706 |
|\citep[260]{key}| & (张三,1984)\textsuperscript{260}\\ |
| 707 |
|\citep[参见][]{key}| & (参见张三,1984)\\ |
| 708 |
|\citep[参见][260]{key}| & (参见张三,1984)\textsuperscript{260}\\ |
| 709 |
|\citeauthor{key}| & 张三\\ |
| 710 |
|\citeyearpar[260]{key}| & (1984)\textsuperscript{260}\\ |
| 711 |
\end{tabular} |
| 712 |
\end{quote} |
| 713 |
|
| 714 |
\DescribeMacro{\citep} |
| 715 |
\DescribeMacro{\citet} |
| 716 |
著者-出版年制是一种以著者姓名和出版年份为标识的参考文献引用体系。 |
| 717 |
\pkg{natbib} 宏包提供了 \cs{citep} 和 \cs{citet} 两个命令 |
| 718 |
分别用于括号内和行文中的引用, |
| 719 |
前者将著者和年份一起置于括号“( \ \ )”内, |
| 720 |
后者将著者作为行文的一部分,年份置于括号内。 |
| 721 |
用户如果调用了 \pkg{gbt7714} 的 \file{-authoryear} 样式, |
| 722 |
\cs{cite} 命令等同于 \cs{citet}。 |
| 723 |
|
| 724 |
\begin{citeexample} |
| 725 |
\begin{lstlisting}[style=gbt7714stylelatex] |
| 726 |
\citep{zhang},\citet{doe}提出…… |
| 727 |
\end{lstlisting} |
| 728 |
\tcblower |
| 729 |
(张三,1984),Doe(2012)提出…… |
| 730 |
\end{citeexample} |
| 731 |
|
| 732 |
\DescribeMacro{\citeauthor} |
| 733 |
\DescribeMacro{\citeyearpar} |
| 734 |
倘若正文中提及著者姓名,其后的括号在分开的位置, |
| 735 |
可以使用 \cs{citeauthor} 命令著录著者姓名, |
| 736 |
再使用 \cs{citeyearpar} 命令著录括号和出版年。 |
| 737 |
|
| 738 |
\begin{citeexample} |
| 739 |
\begin{lstlisting}[style=gbt7714stylelatex] |
| 740 |
\citeauthor{zhang}提出……模型\citeyearpar{zhang} |
| 741 |
\end{lstlisting} |
| 742 |
\tcblower |
| 743 |
张三提出……模型(1984) |
| 744 |
\end{citeexample} |
| 745 |
|
| 746 |
\DescribeOption{locator-in-brackets} |
| 747 |
多次引用同一文献时,国标要求在括号外以角标的形式著录引文页码。 |
| 748 |
用户可以设置 \opt{locator-in-brackets} 选项控制引文页码是否在括号外 |
| 749 |
(见第 \ref{sec:options} 节)。 |
| 750 |
|
| 751 |
\begin{citeexample} |
| 752 |
\begin{lstlisting}[style=gbt7714stylelatex] |
| 753 |
\citep[260]{zhang} |
| 754 |
\end{lstlisting} |
| 755 |
\tcblower |
| 756 |
(张三,1984)\textsuperscript{260} |
| 757 |
\end{citeexample} |
| 758 |
|
| 759 |
|
| 760 |
\section{配置选项} |
| 761 |
\label{sec:options} |
| 762 |
|
| 763 |
\pkg{gbt7714} 宏包提供了一些选项供用户设置正文中引用标注的格式细节。 |
| 764 |
用户可在调用宏包时以可选参数的形式设置, |
| 765 |
也可以在调用宏包后使用 \cs{gbtsetup} 命令进行设置。 |
| 766 |
下面两种设置方式是等效。 |
| 767 |
|
| 768 |
\begin{LaTeXdemo} |
| 769 |
\usepackage[inline]{gbt7714} |
| 770 |
\gbtsetup{inline = true} |
| 771 |
\end{LaTeXdemo} |
| 772 |
|
| 773 |
使用 \cs{usepackage} 调用宏包时, |
| 774 |
未识别的选项将传给 \pkg{natbib} 宏包处理。 |
| 775 |
|
| 776 |
|
| 777 |
\subsection{\LaTeX{} 宏选项} |
| 778 |
|
| 779 |
下面这些选项只控制内部的 \LaTeX{} 宏, |
| 780 |
不控制 \BibTeX{} 调用 BST 样式生成的 \file{.bbl} 文件格式。 |
| 781 |
|
| 782 |
\begin{variable}{align} |
| 783 |
\optsyntax[left]{align}{left, right} |
| 784 |
控制参考文献表的标签对齐方式。 |
| 785 |
|
| 786 |
\begin{bibexample}[title={\kvopt{align}{left}}] |
| 787 |
\setcounter{NAT@ctr}{8} |
| 788 |
\def\bibnumfmt#1{\highlighta{[#1]}\hfill} |
| 789 |
\bibitem[张伯伟(2002)]{gbt7714.8.1:1} |
| 790 |
张伯伟. |
| 791 |
\newblock 全唐五代诗格汇考\allowbreak[M]. |
| 792 |
\newblock 南京:江苏古籍出版社,2002:288. |
| 793 |
|
| 794 |
\bibitem[程根伟(1999)]{gbt7714.8.1:2} |
| 795 |
程根伟. |
| 796 |
\newblock 1998年长江洪水的成因与减灾对策\allowbreak[M]//\allowbreak |
| 797 |
许厚泽,赵其国. |
| 798 |
\newblock 长江流域洪涝灾害与科技对策. |
| 799 |
\newblock 北京:科学出版社,1999:32-36. |
| 800 |
\end{bibexample} |
| 801 |
|
| 802 |
\gbtsetup{align=right} |
| 803 |
\begin{bibexample}[title={\kvopt{align}{right}}] |
| 804 |
\setcounter{NAT@ctr}{8} |
| 805 |
\def\bibnumfmt#1{\highlightb{[#1]}} |
| 806 |
\bibitem[张伯伟(2002)]{gbt7714.8.1:1} |
| 807 |
张伯伟. |
| 808 |
\newblock 全唐五代诗格汇考\allowbreak[M]. |
| 809 |
\newblock 南京:江苏古籍出版社,2002:288. |
| 810 |
|
| 811 |
\bibitem[程根伟(1999)]{gbt7714.8.1:2} |
| 812 |
程根伟. |
| 813 |
\newblock 1998年长江洪水的成因与减灾对策\allowbreak[M]//\allowbreak |
| 814 |
许厚泽,赵其国. |
| 815 |
\newblock 长江流域洪涝灾害与科技对策. |
| 816 |
\newblock 北京:科学出版社,1999:32-36. |
| 817 |
\end{bibexample} |
| 818 |
\gbtsetup{align=left} |
| 819 |
\end{variable} |
| 820 |
|
| 821 |
\begin{variable}{citepunct} |
| 822 |
% TODO: v3.0.0 将默认值改为 auto。 |
| 823 |
\optsyntax[half]{citepunct}{full, half} |
| 824 |
控制著者-出版年制下,正文中引用标注的标点符号样式。 |
| 825 |
该选项不影响顺序编码制。 |
| 826 |
\begin{citeexample}[title={\kvopt{citepunct}{full}}] |
| 827 |
\highlighta{(}张三\highlighta{,}1984\highlighta{)}\textsuperscript{260} |
| 828 |
\qquad \highlighta{(}Doe\highlighta{,}2012\highlighta{)}\textsuperscript{42} |
| 829 |
\end{citeexample} |
| 830 |
\begin{citeexample}[title={\kvopt{citepunct}{half}}] |
| 831 |
\highlightb{(}张三\highlightb{,} 1984\highlightb{)}\textsuperscript{260} |
| 832 |
\qquad \highlightb{(}Doe\highlightb{,} 2012\highlightb{)}\textsuperscript{42} |
| 833 |
\end{citeexample} |
| 834 |
\end{variable} |
| 835 |
|
| 836 |
\begin{variable}{compress} |
| 837 |
\boolsyntax[true]{compress} |
| 838 |
控制是否用短横线连接起讫序号。 |
| 839 |
\begin{citeexample}[title={\kvopt{compress}{true}}] |
| 840 |
\textsuperscript{[\highlighta{1-3,5}]} |
| 841 |
\end{citeexample} |
| 842 |
\begin{citeexample}[title={\kvopt{compress}{false}}] |
| 843 |
\textsuperscript{[\highlightb{1,2,3,5}]} |
| 844 |
\end{citeexample} |
| 845 |
\end{variable} |
| 846 |
|
| 847 |
\begin{variable}{entrybreak} |
| 848 |
\boolsyntax[true]{entrybreak} |
| 849 |
控制是否允许在一条文献中间分页。 |
| 850 |
如果设为 \opt{false} 禁止分页,建议将 \cs{bibsep} 的弹性距离调大一些。 |
| 851 |
\end{variable} |
| 852 |
|
| 853 |
\begin{variable}{inline} |
| 854 |
\boolsyntax{inline} |
| 855 |
在顺序编码制下,引用标注默认采用上标形式,也允许将序号作为行文语句的一部分。 |
| 856 |
如果全文统一采用后者,可以设置 \opt{inline=true} 选项。 |
| 857 |
\begin{citeexample}[title={\kvopt{inline}{false}}] |
| 858 |
第三系褶皱的控制\textsuperscript{\highlighta{[2]}260} |
| 859 |
\end{citeexample} |
| 860 |
\begin{citeexample}[title={\kvopt{inline}{true}}] |
| 861 |
第三系褶皱的控制 \highlightb{[2]}\textsuperscript{260} |
| 862 |
\end{citeexample} |
| 863 |
\end{variable} |
| 864 |
|
| 865 |
\begin{variable}{locator-in-brackets} |
| 866 |
\boolsyntax[false]{locator-in-brackets} |
| 867 |
国标要求引文页码在括号外以角标的形式著录。 |
| 868 |
选项控制引文页码是否在括号内著录。 |
| 869 |
\begin{citeexample}[title={\kvopt{locator-in-brackets}{false}}] |
| 870 |
|\citep[260]{key}| |
| 871 |
\tcblower |
| 872 |
\textsuperscript{[20]\highlighta{260}} \qquad |
| 873 |
(张三,1984)\textsuperscript{\highlighta{260}} |
| 874 |
\end{citeexample} |
| 875 |
\begin{citeexample}[title={\kvopt{locator-in-brackets}{true}}] |
| 876 |
|\citep[p. 260]{key}| |
| 877 |
\tcblower |
| 878 |
\textsuperscript{[20, \highlightb{p. 260}]} \qquad |
| 879 |
(张三,1984,\highlightb{p. 260}) |
| 880 |
\end{citeexample} |
| 881 |
\end{variable} |
| 882 |
|
| 883 |
\begin{variable}{mincompress} |
| 884 |
\label{opt:mincompress} |
| 885 |
\optsyntax[2]{mincompress}{2, 3} |
| 886 |
默认设置同国标的示例一样,两个或以上的连续序号时,起讫序号用短横线连接。 |
| 887 |
该选项可以恢复为 \pkg{natbib} 的原始设置: |
| 888 |
三个或以上的连续序号才用短横线连接。 |
| 889 |
\begin{citeexample}[title={\kvopt{mincompress}{2}}] |
| 890 |
\textsuperscript{[1\highlighta{-}2,4-6]} |
| 891 |
\end{citeexample} |
| 892 |
\begin{citeexample}[title={\kvopt{mincompress}{3}}] |
| 893 |
\textsuperscript{[1\highlightb{,}2,4-6]} |
| 894 |
\end{citeexample} |
| 895 |
\end{variable} |
| 896 |
|
| 897 |
\begin{variable}{sort} |
| 898 |
\boolsyntax{sort} |
| 899 |
国标没有规定正文中引用标注的序号必须按顺序排列。 |
| 900 |
实际上,国标 9.2.1.3 节的示例“[570,83]”没有按照顺序列。 |
| 901 |
所以 \pkg{gbt7714} 默认情况下不对引用的序号进行排序。 |
| 902 |
不过,用户可以设置 \opt{sort} 选项将引用的序号从小到大排序。 |
| 903 |
|
| 904 |
\begin{citeexample}[title={\kvopt{sort}{false}}] |
| 905 |
\textsuperscript{[\highlighta{4,1,5,3}]} |
| 906 |
\end{citeexample} |
| 907 |
|
| 908 |
\begin{citeexample}[title={\kvopt{sort}{true}}] |
| 909 |
\textsuperscript{[\highlightb{1,3-5}]} |
| 910 |
\end{citeexample} |
| 911 |
\end{variable} |
| 912 |
|
| 913 |
|
| 914 |
\subsection{BST 控制选项} |
| 915 |
|
| 916 |
\DescribeMacro{\gbtsetup} |
| 917 |
本宏包提供了设置选项用于控制参考文献列表的格式细节。 |
| 918 |
这主要是为了满足不同期刊/学校在国标参考文献格式基础上的修改。 |
| 919 |
用户需要使用 \cs{gbtsetup} 命令来设置选项。 |
| 920 |
本节详细介绍各个选项的功能和用法。 |
| 921 |
|
| 922 |
\begin{LaTeXdemo} |
| 923 |
\gbtsetup{ |
| 924 |
bibpunct = half, |
| 925 |
maxbibnames = 3, |
| 926 |
uppercasefamily = false, |
| 927 |
} |
| 928 |
\end{LaTeXdemo} |
| 929 |
|
| 930 |
目前 \BibTeX{} 不支持直接传递控制参数, |
| 931 |
\LaTeX{} 中设置的格式选项无法直接作用于 \BibTeX{} 样式文件(\file{.bst})。 |
| 932 |
本宏包参考了 \pkg{IEEEtran} 和 \pkg{RevTeX} 等模板的做法, |
| 933 |
修改后的 \cs{bibliography} 命令会自动生成一个带 \file{-BSTcontrol} |
| 934 |
后缀的 \file{.bib} 文件, |
| 935 |
并将格式控制选项以特殊类型“条目”(\entrytype{GBT7714BSTCTL})的形式写入该文件中。 |
| 936 |
|
| 937 |
\begin{BibTeXdemo} |
| 938 |
@GBT7714BSTCTL{GBT7714:BSTcontrol, |
| 939 |
CTL_bib_punct = {GB}, |
| 940 |
CTL_max_bib_names = {3}, |
| 941 |
CTL_uppercase_family = {false}, |
| 942 |
} |
| 943 |
\end{BibTeXdemo} |
| 944 |
|
| 945 |
宏包会在 \file{.aux} 调用 \file{-BSTcontrol.bib} 文件, |
| 946 |
并“引用” \field{GBT7714:BSTcontrol}, |
| 947 |
这样 \BibTeX{} 就能读取该条目的内容。 |
| 948 |
本宏包的 \file{.bst} 样式会根据 \field{GBT7714:BSTcontrol} 的字段信息设置内部参数。 |
| 949 |
|
| 950 |
% \subsubsection{全角/半角符号} |
| 951 |
|
| 952 |
\begin{variable}{bibpunct} |
| 953 |
\label{opt:bibpunct} |
| 954 |
% TODO: v3.0.0 将默认值改为 GB。 |
| 955 |
\optsyntax[GB (2025), half (2015, 2005)]{bibpunct}{GB, half, bylanguage} |
| 956 |
选择半角/全角符号。 |
| 957 |
|
| 958 |
2025 版国标第~6 节列出了全部的标识符号,但未明确说明这些符号是全角还是半角。 |
| 959 |
从文献示例来看,句点、斜线、连接号是半角符号,冒号、逗号、分号、圆括号都是全角符号, |
| 960 |
但方括号很难辨认是半角“[”(U+005B)、“]”(U+005D) |
| 961 |
还是全角“[”(U+FF3B)、“]”(U+FF3D)。 |
| 962 |
在实践中,不同期刊编辑对符号的理解也不尽相同,形成不同流派。 |
| 963 |
这种不明确的状态在实际应用中也造成了许多困惑和争议。\cite[33]{liu2024} |
| 964 |
2015 版国标起草人在答复\cite{chen2024}中指出:“除‘.’外均借用了中文符号”, |
| 965 |
并强调“方括号是中文的符号”,但并未明确说明方括号是半角(中文字体)还是全角符号。 |
| 966 |
|
| 967 |
用户可以使用 \opt{bibpunct} 选项选择符号样式。 |
| 968 |
\begin{description} |
| 969 |
\item[\opt{GB}] “.”“[ ]”“/”“-”用半角符号,其他标识符号用全角符号(默认)。 |
| 970 |
\item[\opt{half}] 统一使用半角符号(例如清华大学学位论文)。 |
| 971 |
\item[\opt{bylanguage}] 中文文献使用全角符号(包括全角句点 U+FF0E“.”)、西文文献使用半角符号。 |
| 972 |
人文社科类期刊更多采用这种格式。 |
| 973 |
\end{description} |
| 974 |
|
| 975 |
\begin{bibexample}[title={\kvopt{bibpunct}{GB}}] |
| 976 |
\bibitem[张群\ 等(2024)张群,程志宝和石志飞]{gbt7714.8.5.3:5} |
| 977 |
张群\highlighta{,}程志宝\highlighta{,}石志飞\highlightb{.} |
| 978 |
\newblock 惯性增强动力吸振器-浮置板轨道低频减振性能研究\allowbreak\highlightb{[}J\highlightb{]}\highlightb{.} |
| 979 |
\newblock 铁道学报\highlighta{,}2024\highlighta{,}46\allowbreak\highlighta{(}8\highlighta{)}\highlighta{:}102-111\highlightb{.} |
| 980 |
|
| 981 |
\bibitem[Frese et~al.(2013)Frese,Katus,and Meder]{gbt7714.b.4:16} |
| 982 |
Frese K~S\highlighta{,}Katus H~A\highlighta{,}Meder B\highlightb{.} |
| 983 |
\newblock Next-generation sequencing\highlighta{:}from understanding biology |
| 984 |
to personalized medicine\allowbreak\highlightb{[}J\highlightb{]}\highlightb{.} |
| 985 |
\newblock Biology\highlighta{,}2013\highlighta{,}2\allowbreak \highlighta{(}1\highlighta{)}\highlighta{:}378-398\highlightb{.} |
| 986 |
\end{bibexample} |
| 987 |
|
| 988 |
\begin{bibexample}[title={\kvopt{bibpunct}{half}}] |
| 989 |
\bibitem[张群\ 等(2024)张群,程志宝和石志飞]{gbt7714.8.5.3:5} |
| 990 |
张群\highlightb{,} 程志宝\highlightb{,} 石志飞\highlightb{.} |
| 991 |
\newblock 惯性增强动力吸振器-浮置板轨道低频减振性能研究\allowbreak\highlightb{[}J\highlightb{]}\highlightb{.} |
| 992 |
\newblock 铁道学报\highlightb{,} 2024\highlightb{,} 46\allowbreak\highlightb{(}8\highlightb{):} 102-111\highlightb{.} |
| 993 |
|
| 994 |
\bibitem[Frese et~al.(2013)Frese, Katus, and Meder]{gbt7714.b.4:16} |
| 995 |
Frese K~S\highlightb{,} Katus H~A\highlightb{,} Meder B\highlightb{.} |
| 996 |
\newblock Next-generation sequencing\highlightb{:} from understanding biology |
| 997 |
to personalized medicine\allowbreak\highlightb{[}J\highlightb{]}\highlightb{.} |
| 998 |
\newblock Biology\highlightb{,} 2013\highlightb{,} 2\allowbreak \highlightb{(}1\highlightb{)}\highlightb{:} 378-398\highlightb{.} |
| 999 |
\end{bibexample} |
| 1000 |
|
| 1001 |
\begin{bibexample}[title={\kvopt{bibpunct}{bylanguage}}] |
| 1002 |
\bibitem[张群\ 等(2024)张群,程志宝和石志飞]{gbt7714.8.5.3:5} |
| 1003 |
张群\highlighta{,}程志宝\highlighta{,}石志飞\highlighta{.} |
| 1004 |
\newblock 惯性增强动力吸振器-浮置板轨道低频减振性能研究\allowbreak\highlighta{[}J\highlighta{]}\highlighta{.} |
| 1005 |
\newblock 铁道学报\highlighta{,}2024\highlighta{,}46\allowbreak\highlighta{(}8\highlighta{)}\highlighta{:}102-111\highlightb{.} |
| 1006 |
|
| 1007 |
\bibitem[Frese et~al.(2013)Frese, Katus, and Meder]{gbt7714.b.4:16} |
| 1008 |
Frese K~S\highlightb{,} Katus H~A\highlightb{,} Meder B\highlightb{.} |
| 1009 |
\newblock Next-generation sequencing\highlightb{:} from understanding biology |
| 1010 |
to personalized medicine\allowbreak\highlightb{[}J\highlightb{]}\highlightb{.} |
| 1011 |
\newblock Biology\highlightb{,} 2013\highlightb{,} 2\allowbreak \highlightb{(}1\highlightb{)}\highlightb{:} 378-398\highlightb{.} |
| 1012 |
\end{bibexample} |
| 1013 |
\end{variable} |
| 1014 |
|
| 1015 |
|
| 1016 |
\begin{variable}{convertpunct} |
| 1017 |
\label{opt:convertpunct} |
| 1018 |
\boolsyntax[true]{convertpunct} |
| 1019 |
控制是否转换题名内符号的全角/半角形式。 |
| 1020 |
|
| 1021 |
国标的示例中,除了录项目间的符号使用固定的全角、半角形式, |
| 1022 |
还会把题名内的符号转换为全角。 |
| 1023 |
|
| 1024 |
\begin{bibexample}[title={\kvopt{convertpunct}{true}}] |
| 1025 |
\bibitem[Kinchy(2012)]{gbt7714.b.1:21} |
| 1026 |
Kinchy A. |
| 1027 |
\newblock Seeds\highlighta{,}sciences\highlighta{,}and struggle\highlighta{:}the global politics of transgenic crops\allowbreak[M/OL]. |
| 1028 |
\newblock Cambridge\highlighta{,}Mass.:MIT Press,2012:50. |
| 1029 |
\newblock \url{http://lib.myilibrary.com?ID=381443}. |
| 1030 |
\end{bibexample} |
| 1031 |
|
| 1032 |
\begin{bibexample}[title={\kvopt{convertpunct}{false}}] |
| 1033 |
\bibitem[Kinchy(2012)]{gbt7714.b.1:21} |
| 1034 |
Kinchy A. |
| 1035 |
\newblock Seeds\highlightb{,} sciences\highlightb{,} and struggle\highlightb{:} the global politics of transgenic crops\allowbreak[M/OL]. |
| 1036 |
\newblock Cambridge\highlightb{,} Mass.:MIT Press,2012:50. |
| 1037 |
\newblock \url{http://lib.myilibrary.com?ID=381443}. |
| 1038 |
\end{bibexample} |
| 1039 |
\end{variable} |
| 1040 |
|
| 1041 |
|
| 1042 |
% \subsubsection{著录著者数量} |
| 1043 |
|
| 1044 |
\begin{variable}{maxbibnames, minbibnames} |
| 1045 |
\begin{syntax} |
| 1046 |
\texttt{ = }\meta{integer}\hfill default: 3 |
| 1047 |
\texttt{ = }\meta{integer}\hfill default: 3 |
| 1048 |
\end{syntax} |
| 1049 |
参考文献表中如果责任者的姓名数量超过 \opt{maxbibnames},则会根据 \opt{minbibnames} |
| 1050 |
选项的设置自动截断列表,其后加“,等”或与之相应的词。 |
| 1051 |
如果 \opt{maxbibnames} 为 0 则全部照录不省略。 |
| 1052 |
默认为国标要求:超过 3 个时,著录前 3 个责任者。 |
| 1053 |
|
| 1054 |
\begin{bibexample}[title={\kvopt{maxbibnames}{3}, \kvopt{minbibnames}{3}}] |
| 1055 |
\bibitem[牛永敢\ 等(2019)牛永敢,孔晓,王阳和斯楼斌]{gbt7714.8.2.2:8} |
| 1056 |
牛永敢,孔晓,王阳,\highlighta{等}. |
| 1057 |
\newblock 鼻整形应用解剖学\allowbreak[M]. |
| 1058 |
\newblock 北京:人民卫生出版社,2019:65-66. |
| 1059 |
|
| 1060 |
\bibitem[Sadock et~al.(2009)Sadock,Sadock,Ruiz,and Kaplan]{gbt7714.8.2.2:14} |
| 1061 |
Sadock B~J,Sadock V~A,Ruiz P,\highlighta{et~al.} |
| 1062 |
\newblock Kaplan \& {Sadock's} comprehensive textbook of psychiatry:v.~1\allowbreak[M]. |
| 1063 |
\newblock 9th ed. |
| 1064 |
\newblock Philadelphia:Wolters Kluwer Health/Lippincott Williams \& Wilkins,2009. |
| 1065 |
\end{bibexample} |
| 1066 |
|
| 1067 |
\begin{bibexample}[title={\kvopt{maxbibnames}{0}, \kvopt{minbibnames}{0}}] |
| 1068 |
\bibitem[牛永敢\ 等(2019)牛永敢,孔晓,王阳和斯楼斌]{gbt7714.8.2.2:8} |
| 1069 |
牛永敢,孔晓,王阳,\highlightb{斯楼斌}. |
| 1070 |
\newblock 鼻整形应用解剖学\allowbreak[M]. |
| 1071 |
\newblock 北京:人民卫生出版社,2019:65-66. |
| 1072 |
|
| 1073 |
\bibitem[Sadock et~al.(2009)Sadock,Sadock,Ruiz,and Kaplan]{gbt7714.8.2.2:14} |
| 1074 |
Sadock B~J,Sadock V~A,Ruiz P,\highlightb{Kaplan H~I}. |
| 1075 |
\newblock Kaplan \& {Sadock's} comprehensive textbook of psychiatry:v.~1\allowbreak[M]. |
| 1076 |
\newblock 9th ed. |
| 1077 |
\newblock Philadelphia:Wolters Kluwer Health/Lippincott Williams \& Wilkins,2009. |
| 1078 |
\end{bibexample} |
| 1079 |
\end{variable} |
| 1080 |
|
| 1081 |
\begin{variable}{maxcitenames, mincitenames} |
| 1082 |
\begin{syntax} |
| 1083 |
\texttt{ = }\meta{integer}\hfill default: 1 |
| 1084 |
\texttt{ = }\meta{integer}\hfill default: 1 |
| 1085 |
\end{syntax} |
| 1086 |
正文引用的文献采用著者-出版年制时,如果责任者的姓名数量超过 \opt{maxcitenames},则会根据 \opt{mincitenames} |
| 1087 |
选项的设置自动截断列表,其后加“等”或与之相应的词。 |
| 1088 |
如果 \opt{maxcitenames} 为 0 则全部照录不省略。 |
| 1089 |
默认为国标要求:正文中引用多著者文献时,只需标注第一个著者。 |
| 1090 |
|
| 1091 |
\begin{citeexample}[title={\kvopt{maxcitenames}{1}, \kvopt{mincitenames}{1}}] |
| 1092 |
(战德臣~\highlighta{等},2019)(Kennedy \highlighta{et al.},1975) |
| 1093 |
\end{citeexample} |
| 1094 |
|
| 1095 |
\begin{citeexample}[title={\kvopt{maxcitenames}{2}, \kvopt{mincitenames}{1}}] |
| 1096 |
(战德臣\highlightb{和张丽杰},2019)(Kennedy \highlightb{and Garrison},1975) |
| 1097 |
\end{citeexample} |
| 1098 |
\end{variable} |
| 1099 |
|
| 1100 |
|
| 1101 |
% \subsubsection{姓全大写} |
| 1102 |
|
| 1103 |
\begin{variable}{uppercasefamily} |
| 1104 |
\boolsyntax[false (2025), true (2015, 2005)]{uppercasefamily} |
| 1105 |
控制姓氏是否全大写。 |
| 1106 |
|
| 1107 |
2005 和 2015 版国标要求:用西文或汉语拼音字母著录个人作者,姓应全部著录,字母全大写。 |
| 1108 |
2025 版取消全大写的要求。 |
| 1109 |
|
| 1110 |
\begin{bibexample}[title={\kvopt{uppercasefamily}{false}}] |
| 1111 |
\bibitem[Peebles(2001)]{gbt7714.8.2.2:13} |
| 1112 |
\highlighta{Peebles} P~Z,Jr. |
| 1113 |
\newblock Probability,random variables,and random signal principles\allowbreak[M]. |
| 1114 |
\newblock 4th ed. |
| 1115 |
\newblock New York:McGraw-Hill,2001. |
| 1116 |
\end{bibexample} |
| 1117 |
|
| 1118 |
\begin{bibexample}[title={\kvopt{uppercasefamily}{true}}] |
| 1119 |
\bibitem[Peebles(2001)]{gbt7714.8.2.2:13} |
| 1120 |
\highlightb{PEEBLES} P~Z,Jr. |
| 1121 |
\newblock Probability,random variables,and random signal principles\allowbreak[M]. |
| 1122 |
\newblock 4th ed. |
| 1123 |
\newblock New York:McGraw-Hill,2001. |
| 1124 |
\end{bibexample} |
| 1125 |
\end{variable} |
| 1126 |
|
| 1127 |
|
| 1128 |
\begin{variable}{initializewithhyphen} |
| 1129 |
\boolsyntax[true (2025), false (2015, 2005)]{initializewithhyphen} |
| 1130 |
控制姓名缩写时是否保留连字符。 |
| 1131 |
|
| 1132 |
\begin{citeexample}[title={\kvopt{initializewithhyphen}{true}}] |
| 1133 |
Park J\highlighta{-}R. |
| 1134 |
\end{citeexample} |
| 1135 |
|
| 1136 |
\begin{citeexample}[title={\kvopt{initializewithhyphen}{false}}] |
| 1137 |
Park J R. |
| 1138 |
\end{citeexample} |
| 1139 |
\end{variable} |
| 1140 |
|
| 1141 |
|
| 1142 |
\begin{variable}{checkpinyin} |
| 1143 |
\boolsyntax[true]{checkpinyin} |
| 1144 |
控制是否检查姓名为汉语拼音,并进行特殊处理, |
| 1145 |
如 2025 版国标要求汉语拼音人名宜用全称。 |
| 1146 |
该功能较为耗时,如果处理大量文献时建议关掉,如本项目的测试。 |
| 1147 |
|
| 1148 |
\begin{citeexample}[title={\kvopt{checkpinyin}{true}}] |
| 1149 |
Yu \highlighta{Yang},Pan \highlighta{Erting},Wang \highlighta{Xinya},et~al. |
| 1150 |
\end{citeexample} |
| 1151 |
|
| 1152 |
\begin{citeexample}[title={\kvopt{checkpinyin}{false}}] |
| 1153 |
Yu \highlightb{Y},Pan \highlightb{E},Wang \highlightb{X},et~al. |
| 1154 |
\end{citeexample} |
| 1155 |
\end{variable} |
| 1156 |
|
| 1157 |
|
| 1158 |
\begin{variable}{initializepinyin} |
| 1159 |
\boolsyntax[false (2025), true (2015, 2005)]{initializepinyin} |
| 1160 |
控制汉语拼音姓名是否缩写为首字母。 |
| 1161 |
|
| 1162 |
\begin{citeexample}[title={\kvopt{initializepinyin}{false}}] |
| 1163 |
Yu \highlighta{Yang},Pan \highlighta{Erting},Wang \highlighta{Xinya},et~al. |
| 1164 |
\end{citeexample} |
| 1165 |
|
| 1166 |
\begin{citeexample}[title={\kvopt{initializepinyin}{true}}] |
| 1167 |
Yu \highlightb{Y},Pan \highlightb{E T},Wang \highlightb{X Y},et~al. |
| 1168 |
\end{citeexample} |
| 1169 |
\end{variable} |
| 1170 |
|
| 1171 |
|
| 1172 |
% \subsubsection{姓名使用“和”或“and”} |
| 1173 |
|
| 1174 |
\begin{variable}{bibfinaland} |
| 1175 |
\boolsyntax{bibfinaland} |
| 1176 |
控制参考文献表中多个责任者的最后两个姓名之间是否使用“和”或“and”连接。 |
| 1177 |
|
| 1178 |
\begin{bibexample}[title={\kvopt{bibfinaland}{false}}] |
| 1179 |
\bibitem[张群\ 等(2024)张群,程志宝,石志飞]{gbt7714.8.5.3:5} |
| 1180 |
张群,程志宝\highlighta{,}石志飞. |
| 1181 |
\newblock 惯性增强动力吸振器-浮置板轨道低频减振性能研究\allowbreak[J]. |
| 1182 |
\newblock 铁道学报,2024,46\allowbreak (8):102-111. |
| 1183 |
|
| 1184 |
\bibitem[Abadía et~al.(2024)Abadía,Conkey,and McDonald]{gbt7714.8.2.2:8} |
| 1185 |
Abadía O~M,Conkey M~W,McDonald J. |
| 1186 |
\newblock Deep-time images in the age of globalization:rock art in the 21st century\allowbreak[M/OL]. |
| 1187 |
\newblock Springer Cham,2024. |
| 1188 |
\newblock \url{https://doi.org/10.1007/978-3-031-54638-9}. |
| 1189 |
\end{bibexample} |
| 1190 |
|
| 1191 |
\begin{bibexample}[title={\kvopt{bibfinaland}{true}}] |
| 1192 |
\bibitem[张群\ 等(2024)张群,程志宝和石志飞]{gbt7714.8.5.3:5} |
| 1193 |
张群,程志宝\highlightb{和}石志飞. |
| 1194 |
\newblock 惯性增强动力吸振器-浮置板轨道低频减振性能研究\allowbreak[J]. |
| 1195 |
\newblock 铁道学报,2024,46\allowbreak (8):102-111. |
| 1196 |
|
| 1197 |
\bibitem[Abadía et~al.(2024)Abadía,Conkey,and McDonald]{gbt7714.8.2.2:8} |
| 1198 |
Abadía O~M,Conkey M~W,\highlightb{and} McDonald J. |
| 1199 |
\newblock Deep-time images in the age of globalization:rock art in the 21st century\allowbreak[M/OL]. |
| 1200 |
\newblock Springer Cham,2024. |
| 1201 |
\newblock \url{https://doi.org/10.1007/978-3-031-54638-9}. |
| 1202 |
\end{bibexample} |
| 1203 |
\end{variable} |
| 1204 |
|
| 1205 |
\begin{variable}{citefinaland} |
| 1206 |
\boolsyntax[true]{citefinaland} |
| 1207 |
控正文引用中多个责任者姓名的最后两个姓名之间使用“和”或“and”连接。 |
| 1208 |
注意需要将 \opt{maxcitenames} 设置为大于 1 的值才能看到效果。 |
| 1209 |
该选项仅对著者-出版年制有效。 |
| 1210 |
|
| 1211 |
\begin{citeexample}[title={\kvopt{citefinaland}{true}, \kvopt{maxcitenames}{2}}] |
| 1212 |
(扬奎斯特\highlighta{和}萨金特,2010)(Weinstein \highlighta{and} Swartz,1974) |
| 1213 |
\end{citeexample} |
| 1214 |
|
| 1215 |
\begin{citeexample}[title={\kvopt{citefinaland}{false}, \kvopt{maxcitenames}{2}}] |
| 1216 |
(扬奎斯特\highlightb{,}萨金特,2010)(Weinstein\highlightb{,}Swartz,1974) |
| 1217 |
\end{citeexample} |
| 1218 |
\end{variable} |
| 1219 |
|
| 1220 |
|
| 1221 |
% \subsubsection{引注的本地化字符串} |
| 1222 |
|
| 1223 |
\begin{variable}{citelang} |
| 1224 |
\optsyntax[byentry]{citelang}{byentry, macro, chinese, english} |
| 1225 |
控制引注中“and”、“et al.”的语言。 |
| 1226 |
\begin{description} |
| 1227 |
\item[\opt{byentry}] 根据文献的语言自动选择。 |
| 1228 |
\item[\opt{macro}] 使用宏 \cs{biband}、\cs{bibetal},供用户自定义。 |
| 1229 |
\item[\opt{chinese}] 总是使用中文。 |
| 1230 |
\item[\opt{english}] 总是使用英文。 |
| 1231 |
\end{description} |
| 1232 |
|
| 1233 |
\begin{citeexample}[title={\kvopt{citelang}{byentry}, \kvopt{maxcitenames}{2}}] |
| 1234 |
(战德臣\highlighta{和}张丽杰,2019) |
| 1235 |
(牛永敢~\highlighta{等},2019) \\ |
| 1236 |
(Kennedy \highlighta{and} Garrison,1975) |
| 1237 |
(Sadock \highlighta{et~al.}, 2009) |
| 1238 |
\end{citeexample} |
| 1239 |
|
| 1240 |
\begin{citeexample}[title={\kvopt{citelang}{macro}, \kvopt{maxcitenames}{2}}] |
| 1241 |
\begin{lstlisting}[style=gbt7714stylelatex] |
| 1242 |
\newcommand\biband{和} |
| 1243 |
\newcommand\bibetal{等} |
| 1244 |
\end{lstlisting} |
| 1245 |
\tcblower |
| 1246 |
(战德臣\highlighta{和}张丽杰,2019) |
| 1247 |
(牛永敢~\highlighta{等},2019) \\ |
| 1248 |
(Kennedy \highlightb{和} Garrison,1975) |
| 1249 |
(Sadock \highlightb{等}, 2009) |
| 1250 |
\end{citeexample} |
| 1251 |
|
| 1252 |
\begin{citeexample}[title={\kvopt{citelang}{chinese}, \kvopt{maxcitenames}{2}}] |
| 1253 |
(战德臣\highlighta{和}张丽杰,2019) |
| 1254 |
(牛永敢~\highlighta{等},2019) \\ |
| 1255 |
(Kennedy \highlightb{和} Garrison,1975) |
| 1256 |
(Sadock \highlightb{等}, 2009) |
| 1257 |
\end{citeexample} |
| 1258 |
|
| 1259 |
\begin{citeexample}[title={\kvopt{citelang}{english}, \kvopt{maxcitenames}{2}}] |
| 1260 |
(战德臣 \highlightb{and} 张丽杰,2019) |
| 1261 |
(牛永敢 \highlightb{et al.},2019) \\ |
| 1262 |
(Kennedy \highlighta{and} Garrison,1975) |
| 1263 |
(Sadock \highlighta{et~al.}, 2009) |
| 1264 |
\end{citeexample} |
| 1265 |
\end{variable} |
| 1266 |
|
| 1267 |
|
| 1268 |
% \subsubsection{姓名与“等”的空隙} |
| 1269 |
|
| 1270 |
\begin{variable}{spacebeforeetal} |
| 1271 |
\boolsyntax[true]{spacebeforeetal} |
| 1272 |
国标要求著者-出版年制正文的引注中,姓氏与“et al.”“等”之间留适当空隙。 |
| 1273 |
该选项可以取消中文文献的“等”字前空隙,不影响英文的“et al.”。 |
| 1274 |
\begin{citeexample}[title={\kvopt{spacebeforeetal}{true}}] |
| 1275 |
(于潇~\highlighta{等},2012)(Abadía~\highlighta{et al.},2024) |
| 1276 |
\end{citeexample} |
| 1277 |
|
| 1278 |
\begin{citeexample}[title={\kvopt{spacebeforeetal}{false}}] |
| 1279 |
(于潇\highlightb{等},2012)(Abadía~\highlighta{et al.},2025) |
| 1280 |
\end{citeexample} |
| 1281 |
\end{variable} |
| 1282 |
|
| 1283 |
|
| 1284 |
% \subsubsection{出版年置于题名前} |
| 1285 |
|
| 1286 |
\begin{variable}{yearbeforetitle} |
| 1287 |
\boolsyntax[true]{yearbeforetitle} |
| 1288 |
采用著者-出版年制时,参考文献表中出版年应置于题名前, |
| 1289 |
区别于顺序编码制。 |
| 1290 |
然而实践中仍有不少期刊/学校要求将出版年置于题名之后。 |
| 1291 |
|
| 1292 |
该选项不影响顺序编码制。 |
| 1293 |
|
| 1294 |
\begin{bibexample}[title={\kvopt{yearbeforetitle}{true}}, style=authoryear] |
| 1295 |
\bibitem[杨宗英(1996)]{gbt7714.9.2.2:5} |
| 1296 |
杨宗英,\highlighta{1996}. |
| 1297 |
\newblock 电子图书馆的现实模型\allowbreak[J]. |
| 1298 |
\newblock 中国图书馆学报\allowbreak(2):24-29. |
| 1299 |
|
| 1300 |
\bibitem[Baker et~al.(1995)Baker and Jackson]{gbt7714.9.2.2:1} |
| 1301 |
Baker S~K,Jackson M~E,\highlighta{1995}. |
| 1302 |
\newblock The future of resource sharing\allowbreak[M]. |
| 1303 |
\newblock New York:The Haworth Press. |
| 1304 |
\end{bibexample} |
| 1305 |
|
| 1306 |
\begin{bibexample}[title={\kvopt{yearbeforetitle}{false}}] |
| 1307 |
\bibitem[杨宗英(1996)]{gbt7714.9.2.2:5} |
| 1308 |
杨宗英. |
| 1309 |
\newblock 电子图书馆的现实模型\allowbreak[J]. |
| 1310 |
\newblock 中国图书馆学报,\highlightb{1996}\allowbreak(2):24-29. |
| 1311 |
|
| 1312 |
\bibitem[Baker et~al.(1995)Baker and Jackson]{gbt7714.9.2.2:1} |
| 1313 |
Baker S~K,Jackson M~E. |
| 1314 |
\newblock The future of resource sharing\allowbreak[M]. |
| 1315 |
\newblock New York:The Haworth Press,\highlightb{1995}. |
| 1316 |
\end{bibexample} |
| 1317 |
\end{variable} |
| 1318 |
|
| 1319 |
|
| 1320 |
% \subsubsection{著者和出版年的分隔符} |
| 1321 |
|
| 1322 |
\begin{variable}{nameyeardelim} |
| 1323 |
\optsyntax[comma]{nameyeardelim}{comma, period} |
| 1324 |
采用著者-出版年制时,参考文献表中出版年前的符号自 2015 版国标改为逗号。 |
| 1325 |
在著录实践中,仍存在不少使用句点的。 |
| 1326 |
该选项不影响顺序编码制。 |
| 1327 |
|
| 1328 |
\begin{bibexample}[title={\kvopt{nameyeardelim}{comma}}, style=authoryear] |
| 1329 |
\bibitem[杨宗英(1996)]{gbt7714.9.2.2:5} |
| 1330 |
杨宗英\highlighta{,}1996. |
| 1331 |
\newblock 电子图书馆的现实模型\allowbreak[J]. |
| 1332 |
\newblock 中国图书馆学报\allowbreak(2):24-29. |
| 1333 |
|
| 1334 |
\bibitem[Baker et~al.(1995)Baker and Jackson]{gbt7714.9.2.2:1} |
| 1335 |
Baker S~K,Jackson M~E\highlighta{,}1995. |
| 1336 |
\newblock The future of resource sharing\allowbreak[M]. |
| 1337 |
\newblock New York:The Haworth Press. |
| 1338 |
\end{bibexample} |
| 1339 |
|
| 1340 |
\begin{bibexample}[title={\kvopt{nameyeardelim}{period}}, style=authoryear] |
| 1341 |
\bibitem[杨宗英(1996)]{gbt7714.9.2.2:5} |
| 1342 |
杨宗英\highlightb{.} 1996. |
| 1343 |
\newblock 电子图书馆的现实模型\allowbreak[J]. |
| 1344 |
\newblock 中国图书馆学报\allowbreak(2):24-29. |
| 1345 |
|
| 1346 |
\bibitem[Baker et~al.(1995)Baker and Jackson]{gbt7714.9.2.2:1} |
| 1347 |
Baker S~K,Jackson M~E\highlightb{.} 1995. |
| 1348 |
\newblock The future of resource sharing\allowbreak[M]. |
| 1349 |
\newblock New York:The Haworth Press. |
| 1350 |
\end{bibexample} |
| 1351 |
\end{variable} |
| 1352 |
|
| 1353 |
|
| 1354 |
% \subsubsection{标题大小写} |
| 1355 |
|
| 1356 |
\begin{variable}{sentencecase} |
| 1357 |
\label{opt:sentence-case} |
| 1358 |
\boolsyntax[true]{sentencecase} |
| 1359 |
国标的示例中均采用 sentence case 著录英文题名,即句首和专有名词首字母大写,其余小写。 |
| 1360 |
这与另一种 title case 风格不同,后者要求句首及实词首字母均大写。 |
| 1361 |
|
| 1362 |
在 \BibTeX{} 数据库中著录题名时,正确的方法是使用 title case, |
| 1363 |
并专有名词用大括号保护起来。 |
| 1364 |
这样可以使 \BibTeX{} 根据引注样式控制转换为 sentence case, |
| 1365 |
并且避免错误地将专有名词转换为小写。 |
| 1366 |
\end{variable} |
| 1367 |
|
| 1368 |
\begin{BibTeXdemo} |
| 1369 |
@book{intro-latex, |
| 1370 |
title = {An Introduction to {LaTeX}}, |
| 1371 |
} |
| 1372 |
\end{BibTeXdemo} |
| 1373 |
|
| 1374 |
选项 \opt{sentencecase} 可用统一控制题名、析出文献的图书题名是否转为 sentence case, |
| 1375 |
即同时设置 \opt{sentencecasetitle}、\opt{sentencecasebooktitle} 这两个选项。 |
| 1376 |
使用 2005 或 2015 版国标时,该选项还会额外设置 \opt{sentencecasejournal} 值。 |
| 1377 |
|
| 1378 |
|
| 1379 |
\begin{variable}{sentencecasetitle} |
| 1380 |
\boolsyntax[true]{sentencecasetitle} |
| 1381 |
控制题名(\field{title})是否转为 sentence case。 |
| 1382 |
|
| 1383 |
\begin{bibexample}[title={\kvopt{sentencecasetitle}{true}}] |
| 1384 |
\bibitem[Peebles(2001)]{gbt7714.8.2.2:6} |
| 1385 |
Peebles P~Z,Jr. |
| 1386 |
\newblock \highlighta{Probability,random variable,and random signal principles}\allowbreak[M]. |
| 1387 |
\newblock 4th ed. |
| 1388 |
\newblock New York:McGraw-Hill,2001. |
| 1389 |
\end{bibexample} |
| 1390 |
|
| 1391 |
\begin{bibexample}[title={\kvopt{sentencecasetitle}{false}}] |
| 1392 |
\bibitem[Peebles(2001)]{gbt7714.8.2.2:6} |
| 1393 |
Peebles P~Z,Jr. |
| 1394 |
\newblock \highlightb{Probability,Random Variable,and Random Signal Principles}\allowbreak[M]. |
| 1395 |
\newblock 4th ed. |
| 1396 |
\newblock New York:McGraw-Hill,2001. |
| 1397 |
\end{bibexample} |
| 1398 |
\end{variable} |
| 1399 |
|
| 1400 |
|
| 1401 |
\begin{variable}{sentencecasebooktitle} |
| 1402 |
\boolsyntax[true]{sentencecasebooktitle} |
| 1403 |
控制析出文献的图书题名(\field{booktitle})是否转为 sentence case。 |
| 1404 |
图书题名包括会议论文集的题名,但不包括会议名称(\field{eventtitle})。 |
| 1405 |
|
| 1406 |
\begin{bibexample}[title={\kvopt{sentencecasebooktitle}{true}}] |
| 1407 |
\bibitem[Weinstein et~al.(1974)Weinstein and Swartz]{gbt7714.8.3.2:4} |
| 1408 |
Weinstein L,Swartz M~N. |
| 1409 |
\newblock Pathogenic properties of invading microorganisms\allowbreak[M]//\allowbreak |
| 1410 |
Sodeman W~A,Jr,Sodeman W~A. |
| 1411 |
\newblock \highlighta{Pathologic physiology:mechanisms of disease}. |
| 1412 |
\newblock 5th ed. |
| 1413 |
\newblock Philadelphia:Saunders,1974:457-472. |
| 1414 |
\end{bibexample} |
| 1415 |
|
| 1416 |
\begin{bibexample}[title={\kvopt{sentencecasebooktitle}{false}}] |
| 1417 |
\bibitem[Weinstein et~al.(1974)Weinstein and Swartz]{gbt7714.8.3.2:4} |
| 1418 |
Weinstein L,Swartz M~N. |
| 1419 |
\newblock Pathogenic properties of invading microorganisms\allowbreak[M]//\allowbreak |
| 1420 |
Sodeman W~A,Jr,Sodeman W~A. |
| 1421 |
\newblock \highlightb{Pathologic Physiology:Mechanisms of Disease}. |
| 1422 |
\newblock 5th ed. |
| 1423 |
\newblock Philadelphia:Saunders,1974:457-472. |
| 1424 |
\end{bibexample} |
| 1425 |
\end{variable} |
| 1426 |
|
| 1427 |
|
| 1428 |
\begin{variable}{sentencecasejournal} |
| 1429 |
% TODO: v3.0.0: 将默认值设为“false (2025), true (2015, 2005)” |
| 1430 |
\boolsyntax[false]{sentencecasejournal} |
| 1431 |
控制刊名是否转为 sentence case。 |
| 1432 |
使用 2025 版国标的样式时,该选项默认为 false。 |
| 1433 |
如果使用 2005 或 2015 版国标样式,该选项默认为 true。 |
| 1434 |
|
| 1435 |
\begin{bibexample}[title={\kvopt{sentencecasejournal}{false}}] |
| 1436 |
\bibitem[Caplan(1993)]{gbt7714.8.1:4} |
| 1437 |
Caplan P. |
| 1438 |
\newblock Cataloging internet resources\allowbreak[J]. |
| 1439 |
\newblock \highlighta{The Public-Access Computer Systems Review},1993,4\allowbreak (2):61-66. |
| 1440 |
\end{bibexample} |
| 1441 |
|
| 1442 |
\begin{bibexample}[title={\kvopt{sentencecasejournal}{true}}] |
| 1443 |
\bibitem[Caplan(1993)]{gbt7714.8.1:4} |
| 1444 |
Caplan P. |
| 1445 |
\newblock Cataloging internet resources\allowbreak[J]. |
| 1446 |
\newblock \highlightb{The public-access computer systems review},1993,4\allowbreak (2):61-66. |
| 1447 |
\end{bibexample} |
| 1448 |
\end{variable} |
| 1449 |
|
| 1450 |
|
| 1451 |
% \subsubsection{冒号后大小写} |
| 1452 |
|
| 1453 |
\begin{variable}{capitalizesubtitle} |
| 1454 |
\label{opt:capitalizesubtitle} |
| 1455 |
\boolsyntax[false]{capitalizesubtitle} |
| 1456 |
国标示例中,英文文献题名的冒号后首字母小写。 |
| 1457 |
部分国外体例(如 APA、IEEE)要求冒号后首字母大写。 |
| 1458 |
该选项仅影响转换为 sentence case 的题名(参考第~\ref{opt:sentence-case} 节)。 |
| 1459 |
|
| 1460 |
\begin{bibexample}[title={\kvopt{capitalizesubtitle}{false}}] |
| 1461 |
\bibitem[Abadía et~al.(2024)Abadía,Conkey,and McDonald]{gbt7714.8.2.2:8} |
| 1462 |
Abadía O~M,Conkey M~W,McDonald J. |
| 1463 |
\newblock Deep-time images in the age of globalization:\highlighta{rock} art in the 21st century\allowbreak[M/OL]. |
| 1464 |
\newblock Springer Cham,2024. |
| 1465 |
\newblock \url{https://doi.org/10.1007/978-3-031-54638-9}. |
| 1466 |
\end{bibexample} |
| 1467 |
|
| 1468 |
\begin{bibexample}[title={\kvopt{capitalizesubtitle}{true}}] |
| 1469 |
\bibitem[Abadía et~al.(2024)Abadía,Conkey,and McDonald]{gbt7714.8.2.2:8} |
| 1470 |
Abadía O~M,Conkey M~W,McDonald J. |
| 1471 |
\newblock Deep-time images in the age of globalization:\highlightb{Rock} art in the 21st century\allowbreak[M/OL]. |
| 1472 |
\newblock Springer Cham,2024. |
| 1473 |
\newblock \url{https://doi.org/10.1007/978-3-031-54638-9}. |
| 1474 |
\end{bibexample} |
| 1475 |
\end{variable} |
| 1476 |
|
| 1477 |
|
| 1478 |
% \subsubsection{期刊文章著录题名} |
| 1479 |
|
| 1480 |
\begin{variable}{articletitle} |
| 1481 |
\boolsyntax[true]{articletitle} |
| 1482 |
控制是否著录期刊文章的题名(例如 APS 的样式)。 |
| 1483 |
注意:该选项也会影响图书的析出文献(\entrytype{incollection})、 |
| 1484 |
会议论文(\entrytype{inproceedings})的题名。 |
| 1485 |
|
| 1486 |
\begin{bibexample}[title={\kvopt{articletitle}{true}}] |
| 1487 |
\bibitem[于潇\ 等(2012)于潇,刘义,柴跃廷和孙宏波]{gbt7714.8.5.3:3} |
| 1488 |
于潇,刘义,柴跃廷,等. |
| 1489 |
\newblock \highlighta{互联网药品可信交易环境中主体资质审核备案模式\allowbreak[J].} |
| 1490 |
\newblock 清华大学学报(自然科学版),2012,52\allowbreak(11):1518-1523. |
| 1491 |
|
| 1492 |
\bibitem[Caplan(1993)]{gbt7714.8.5.3:10} |
| 1493 |
Caplan P. |
| 1494 |
\newblock \highlighta{Cataloging internet resources\allowbreak[J].} |
| 1495 |
\newblock The Public-Access Computer Systems Review,1993,4\allowbreak(2):61-66. |
| 1496 |
\end{bibexample} |
| 1497 |
|
| 1498 |
\begin{bibexample}[title={\kvopt{articletitle}{false}}] |
| 1499 |
\bibitem[于潇\ 等(2012)于潇,刘义,柴跃廷和孙宏波]{gbt7714.8.5.3:3} |
| 1500 |
于潇,刘义,柴跃廷,等. |
| 1501 |
\newblock 清华大学学报(自然科学版),2012,52\allowbreak(11):1518-1523. |
| 1502 |
|
| 1503 |
\bibitem[Caplan(1993)]{gbt7714.8.5.3:10} |
| 1504 |
Caplan P. |
| 1505 |
\newblock The Public-Access Computer Systems Review,1993,4\allowbreak(2):61-66. |
| 1506 |
\end{bibexample} |
| 1507 |
\end{variable} |
| 1508 |
|
| 1509 |
|
| 1510 |
% \subsubsection{专利国别} |
| 1511 |
|
| 1512 |
\begin{variable}{patentcountry} |
| 1513 |
\boolsyntax[false]{patentcountry} |
| 1514 |
控制是否著录专利国别。 |
| 1515 |
|
| 1516 |
2025 版国标的专利示例中,专利号本身已包含国家代码前缀,因此通常无需再额外著录专利国别。 |
| 1517 |
|
| 1518 |
% \begin{bibexample}[title={\kvopt{patentcountry}{false}}] |
| 1519 |
% \bibitem[邓一刚(2008)]{gbt7714.8.10.2:1} |
| 1520 |
% 邓一刚. |
| 1521 |
% \newblock 全智能节电器:CN200610171314.3\allowbreak[P]. |
| 1522 |
% \newblock 2008-01-16:8-9. |
| 1523 |
% \end{bibexample} |
| 1524 |
|
| 1525 |
% \begin{bibexample}[title={\kvopt{patentcountry}{true}}] |
| 1526 |
% \bibitem[邓一刚(2008)]{gbt7714.8.10.2:1} |
| 1527 |
% 邓一刚. |
| 1528 |
% \newblock 全智能节电器:中国,CN200610171314.3\allowbreak[P]. |
| 1529 |
% \newblock 2008-01-16:8-9. |
| 1530 |
% \end{bibexample} |
| 1531 |
\end{variable} |
| 1532 |
|
| 1533 |
|
| 1534 |
% \subsubsection{文献类型标识} |
| 1535 |
|
| 1536 |
\begin{variable}{entrytypeid} |
| 1537 |
\boolsyntax[true]{entrytypeid} |
| 1538 |
控制是否著录文献类型标识(含文献载体标识)。 |
| 1539 |
|
| 1540 |
\begin{bibexample}[title={\kvopt{entrytypeid}{true}}] |
| 1541 |
\bibitem[张伯伟(2002)]{gbt7714.8.2.2:1} |
| 1542 |
张伯伟. |
| 1543 |
\newblock 全唐五代诗格汇考\allowbreak\highlighta{[M]}. |
| 1544 |
\newblock 南京:江苏古籍出版社,2002:288. |
| 1545 |
|
| 1546 |
\bibitem[Myburg et~al.(2014)Myburg,Grattapaglia,Tuskan,Hellsten,Hayes,Grimwood,Jenkins,Lindquist,Tice,Bauer,Goodstein,Dubchak,Poliakov,Mizrachi,Kullan,Hussey,Pinard,van~der Merwe,Singh,van Jaarsveld,Silva-Junior,Togawa,Pappas,Faria,Sansaloni,Petroli,Yang,Ranjan,Tschaplinski,Ye,Li,Sterck,Vanneste,Murat,Soler,Clemente,Saidi,Cassan-Wang,Dunand,Hefer,Bornberg-Bauer,Kersting,Vining,Amarasinghe,Ranik,Naithani,Elser,Boyd,Liston,Spatafora,Dharmwardhana,Raja,Sullivan,Romanel,Alves-Ferreira,Külheim,Foley,Carocha,Paiva,Kudrna,Brommonschenkel,Pasquali,Byrne,Rigault,Tibbits,Spokevicius,Jones,Steane,Vaillancourt,Potts,Joubert,Barry,Pappas,Strauss,Jaiswal,Grima-Pettenati,Salse,Van~de Peer,Rokhsar,and Schmutz]{gbt7714.8.5.3:9} |
| 1547 |
Myburg A~A,Grattapaglia D,Tuskan G~A,et~al. |
| 1548 |
\newblock The genome of {{\em Eucalyptus grandis}}\allowbreak\highlighta{[J/OL]}. |
| 1549 |
\newblock Nature,2014,510:356-362. |
| 1550 |
\newblock \url{https://www.nature.com/articles/nature13308.pdf}. |
| 1551 |
\newblock DOI:\doi{10.1038/nature13308}. |
| 1552 |
\end{bibexample} |
| 1553 |
|
| 1554 |
\begin{bibexample}[title={\kvopt{entrytypeid}{false}}] |
| 1555 |
\bibitem[张伯伟(2002)]{gbt7714.8.2.2:1} |
| 1556 |
张伯伟. |
| 1557 |
\newblock 全唐五代诗格汇考. |
| 1558 |
\newblock 南京:江苏古籍出版社,2002:288. |
| 1559 |
|
| 1560 |
\bibitem[Myburg et~al.(2014)Myburg,Grattapaglia,Tuskan,Hellsten,Hayes,Grimwood,Jenkins,Lindquist,Tice,Bauer,Goodstein,Dubchak,Poliakov,Mizrachi,Kullan,Hussey,Pinard,van~der Merwe,Singh,van Jaarsveld,Silva-Junior,Togawa,Pappas,Faria,Sansaloni,Petroli,Yang,Ranjan,Tschaplinski,Ye,Li,Sterck,Vanneste,Murat,Soler,Clemente,Saidi,Cassan-Wang,Dunand,Hefer,Bornberg-Bauer,Kersting,Vining,Amarasinghe,Ranik,Naithani,Elser,Boyd,Liston,Spatafora,Dharmwardhana,Raja,Sullivan,Romanel,Alves-Ferreira,Külheim,Foley,Carocha,Paiva,Kudrna,Brommonschenkel,Pasquali,Byrne,Rigault,Tibbits,Spokevicius,Jones,Steane,Vaillancourt,Potts,Joubert,Barry,Pappas,Strauss,Jaiswal,Grima-Pettenati,Salse,Van~de Peer,Rokhsar,and Schmutz]{gbt7714.8.5.3:9} |
| 1561 |
Myburg A~A,Grattapaglia D,Tuskan G~A,et~al. |
| 1562 |
\newblock The genome of {{\em Eucalyptus grandis}}. |
| 1563 |
\newblock Nature,2014,510:356-362. |
| 1564 |
\newblock \url{https://www.nature.com/articles/nature13308.pdf}. |
| 1565 |
\newblock DOI:\doi{10.1038/nature13308}. |
| 1566 |
\end{bibexample} |
| 1567 |
\end{variable} |
| 1568 |
|
| 1569 |
|
| 1570 |
% \subsubsection{文献类型标识前的空格} |
| 1571 |
|
| 1572 |
\begin{variable}{spacebeforetypeid} |
| 1573 |
\boolsyntax{spacebeforetypeid} |
| 1574 |
控制题名与文献类型标识之间是否有空格。 |
| 1575 |
国标示例中无此空格,但按西文习惯,文献类型标识应作为独立词语与题名分隔。 |
| 1576 |
该选项不影响中文文献。 |
| 1577 |
|
| 1578 |
\begin{bibexample}[title={\kvopt{spacebeforetypeid}{false}}] |
| 1579 |
\bibitem[张伯伟(2002)]{gbt7714.8.2.2:1} |
| 1580 |
张伯伟. |
| 1581 |
\newblock 全唐五代诗格汇考\allowbreak\highlighta{[M]}. |
| 1582 |
\newblock 南京:江苏古籍出版社,2002:288. |
| 1583 |
|
| 1584 |
\bibitem[Caplan(1993)]{gbt7714.8.1:4} |
| 1585 |
Caplan P. |
| 1586 |
\newblock Cataloging internet resources\allowbreak\highlighta{[J]}. |
| 1587 |
\newblock The Public-Access Computer Systems Review,1993,4\allowbreak (2):61-66. |
| 1588 |
\end{bibexample} |
| 1589 |
|
| 1590 |
\begin{bibexample}[title={\kvopt{spacebeforetypeid}{true}}] |
| 1591 |
\bibitem[张伯伟(2002)]{gbt7714.8.2.2:1} |
| 1592 |
张伯伟. |
| 1593 |
\newblock 全唐五代诗格汇考\allowbreak\highlighta{[M]}. |
| 1594 |
\newblock 南京:江苏古籍出版社,2002:288. |
| 1595 |
|
| 1596 |
\bibitem[Caplan(1993)]{gbt7714.8.1:4} |
| 1597 |
Caplan P. |
| 1598 |
\newblock Cataloging internet resources \highlightb{[J]}. |
| 1599 |
\newblock The Public-Access Computer Systems Review,1993,4\allowbreak (2):61-66. |
| 1600 |
\end{bibexample} |
| 1601 |
\end{variable} |
| 1602 |
|
| 1603 |
% \subsubsection{文献载体标识} |
| 1604 |
|
| 1605 |
\begin{variable}{entrymediumid} |
| 1606 |
\boolsyntax[true]{entrymediumid} |
| 1607 |
控制是否著录文献载体标识。 |
| 1608 |
|
| 1609 |
国标的示例中,文献载体标识“/OL”都是与 URL 或永久标识符同时出现的。 |
| 1610 |
当设置 \opt{url=false} 和 \opt{doi=false} 选项时, |
| 1611 |
除电子资源(如网页、数据集等)外自动不著录文献载体标识。 |
| 1612 |
|
| 1613 |
\begin{bibexample}[title={\kvopt{entrymediumid}{true}}] |
| 1614 |
\bibitem[赵学功(2001)]{gbt7714.b.1:14} |
| 1615 |
赵学功. |
| 1616 |
\newblock 当代美国外交\allowbreak[M/OL]. |
| 1617 |
\newblock 北京:社会科学文献出版社,2001. |
| 1618 |
\newblock \url{http://www.cadal.zju.edu.cn/book/trySinglePage/33023884/1}. |
| 1619 |
|
| 1620 |
\bibitem[Anon({[2020]})]{gbt7714.8.11.2.2:2} |
| 1621 |
{Library of Congress}\allowbreak[EB/OL]. |
| 1622 |
\newblock \allowbreak[2020-06-12]. |
| 1623 |
\newblock \url{https://www.loc.gov/}. |
| 1624 |
\end{bibexample} |
| 1625 |
|
| 1626 |
\begin{bibexample}[title={\kvopt{entrymediumid}{false}}] |
| 1627 |
\bibitem[赵学功(2001)]{gbt7714.b.1:14} |
| 1628 |
赵学功. |
| 1629 |
\newblock 当代美国外交\allowbreak[M]. |
| 1630 |
\newblock 北京:社会科学文献出版社,2001. |
| 1631 |
\newblock \url{http://www.cadal.zju.edu.cn/book/trySinglePage/33023884/1}. |
| 1632 |
|
| 1633 |
\bibitem[Anon({[2020]})]{gbt7714.8.11.2.2:2} |
| 1634 |
{Library of Congress}\allowbreak[EB]. |
| 1635 |
\newblock \allowbreak[2020-06-12]. |
| 1636 |
\newblock \url{https://www.loc.gov/}. |
| 1637 |
\end{bibexample} |
| 1638 |
\end{variable} |
| 1639 |
|
| 1640 |
|
| 1641 |
% \subsubsection{析出文献分隔符} |
| 1642 |
|
| 1643 |
\begin{variable}{slash} |
| 1644 |
\boolsyntax[true]{slash} |
| 1645 |
控制论文集、会议录中析出文献的出处(以及会议名称)前的分隔符。 |
| 1646 |
默认为 \opt{slash} “//”。 |
| 1647 |
|
| 1648 |
\begin{bibexample}[title={\kvopt{slash}{true}}] |
| 1649 |
\bibitem[程根伟(1999)]{gbt7714.8.1:2} |
| 1650 |
程根伟. |
| 1651 |
\newblock 1998年长江洪水的成因与减灾对策\allowbreak[M]\highlighta{//}\allowbreak |
| 1652 |
许厚泽,赵其国. |
| 1653 |
\newblock 长江流域洪涝灾害与科技对策. |
| 1654 |
\newblock 北京:科学出版社,1999:32-36. |
| 1655 |
|
| 1656 |
\bibitem[Wang(2022)]{gbt7714.8.6.3:2} |
| 1657 |
Wang Shanshan. |
| 1658 |
\newblock Application of improved {SOM} neural network in intelligent auditing of hospital financial vouchers\allowbreak[C/OL]\highlighta{//}\allowbreak |
| 1659 |
2022 6th {Asian Conference} on {Artificial Intelligence Technology}({ACAIT}),2022:2. |
| 1660 |
\newblock \url{https://ieeexplore.ieee.org/document/10137867}. |
| 1661 |
\newblock DOI:\doi{10.1109/ACAIT56212.2022.10137867}. |
| 1662 |
\end{bibexample} |
| 1663 |
|
| 1664 |
\begin{bibexample}[title={\kvopt{slash}{false}}] |
| 1665 |
\bibitem[程根伟(1999)]{gbt7714.8.1:2} |
| 1666 |
程根伟. |
| 1667 |
\newblock 1998年长江洪水的成因与减灾对策\allowbreak[M]\highlightb{.} |
| 1668 |
\newblock 许厚泽,赵其国. |
| 1669 |
\newblock 长江流域洪涝灾害与科技对策. |
| 1670 |
\newblock 北京:科学出版社,1999:32-36. |
| 1671 |
|
| 1672 |
\bibitem[Wang(2022)]{gbt7714.8.6.3:2} |
| 1673 |
Wang Shanshan. |
| 1674 |
\newblock Application of improved {SOM} neural network in intelligent auditing of hospital financial vouchers\allowbreak[C/OL]\highlightb{.} |
| 1675 |
\newblock 2022 6th {Asian Conference} on {Artificial Intelligence Technology}({ACAIT}),2022:2. |
| 1676 |
\newblock \url{https://ieeexplore.ieee.org/document/10137867}. |
| 1677 |
\newblock DOI:\doi{10.1109/ACAIT56212.2022.10137867}. |
| 1678 |
\end{bibexample} |
| 1679 |
\end{variable} |
| 1680 |
|
| 1681 |
|
| 1682 |
% \subsubsection{析出文献著录“见”或“In”} |
| 1683 |
|
| 1684 |
\begin{variable}{in} |
| 1685 |
\boolsyntax[false]{in} |
| 1686 |
控制论文集、会议录的析出文献出处(包括会议名称前)是否著录“见:”或“In:”。 |
| 1687 |
|
| 1688 |
\begin{bibexample}[title={\kvopt{in}{false}}] |
| 1689 |
\bibitem[程根伟(1999)]{gbt7714.8.1:2} |
| 1690 |
程根伟. |
| 1691 |
\newblock 1998年长江洪水的成因与减灾对策\allowbreak[M]//\allowbreak |
| 1692 |
许厚泽,赵其国. |
| 1693 |
\newblock 长江流域洪涝灾害与科技对策. |
| 1694 |
\newblock 北京:科学出版社,1999:32-36. |
| 1695 |
|
| 1696 |
\bibitem[Wang(2022)]{gbt7714.8.6.3:2} |
| 1697 |
Wang Shanshan. |
| 1698 |
\newblock Application of improved {SOM} neural network in intelligent auditing of hospital financial vouchers\allowbreak[C/OL]//\allowbreak |
| 1699 |
2022 6th {Asian Conference} on {Artificial Intelligence Technology}({ACAIT}),2022:2. |
| 1700 |
\newblock \url{https://ieeexplore.ieee.org/document/10137867}. |
| 1701 |
\newblock DOI:\doi{10.1109/ACAIT56212.2022.10137867}. |
| 1702 |
\end{bibexample} |
| 1703 |
|
| 1704 |
\begin{bibexample}[title={\kvopt{in}{true}}] |
| 1705 |
\bibitem[程根伟(1999)]{gbt7714.8.1:2} |
| 1706 |
程根伟. |
| 1707 |
\newblock 1998年长江洪水的成因与减灾对策\allowbreak[M]//\allowbreak |
| 1708 |
\highlightb{见:}许厚泽,赵其国. |
| 1709 |
\newblock 长江流域洪涝灾害与科技对策. |
| 1710 |
\newblock 北京:科学出版社,1999:32-36. |
| 1711 |
|
| 1712 |
\bibitem[Wang(2022)]{gbt7714.8.6.3:2} |
| 1713 |
Wang Shanshan. |
| 1714 |
\newblock Application of improved {SOM} neural network in intelligent auditing of hospital financial vouchers\allowbreak[C/OL]//\allowbreak |
| 1715 |
\highlightb{In:} 2022 6th {Asian Conference} on {Artificial Intelligence Technology}({ACAIT}),2022:2. |
| 1716 |
\newblock \url{https://ieeexplore.ieee.org/document/10137867}. |
| 1717 |
\newblock DOI:\doi{10.1109/ACAIT56212.2022.10137867}. |
| 1718 |
\end{bibexample} |
| 1719 |
\end{variable} |
| 1720 |
|
| 1721 |
% \subsubsection{刊名斜体} |
| 1722 |
|
| 1723 |
\begin{variable}{emphjournal} |
| 1724 |
\boolsyntax[false]{emphjournal} |
| 1725 |
控制刊名是否使用斜体。 |
| 1726 |
该选项不影响中文文献。 |
| 1727 |
|
| 1728 |
\begin{bibexample}[title={\kvopt{emphjournal}{false}}] |
| 1729 |
\bibitem[Caplan(1993)]{gbt7714.b.4:12} |
| 1730 |
Caplan P. |
| 1731 |
\newblock Cataloging internet resources\allowbreak[J]. |
| 1732 |
\newblock \highlighta{The Public-Access Computer Systems Review},1993,4\allowbreak (2):61-66. |
| 1733 |
\end{bibexample} |
| 1734 |
|
| 1735 |
\begin{bibexample}[title={\kvopt{emphjournal}{true}}] |
| 1736 |
\bibitem[Caplan(1993)]{gbt7714.b.4:12} |
| 1737 |
Caplan P. |
| 1738 |
\newblock Cataloging internet resources\allowbreak[J]. |
| 1739 |
\newblock \highlightb{\emph{The Public-Access Computer Systems Review}},1993,4\allowbreak (2):61-66. |
| 1740 |
\end{bibexample} |
| 1741 |
\end{variable} |
| 1742 |
|
| 1743 |
|
| 1744 |
% \subsubsection{刊名缩写} |
| 1745 |
|
| 1746 |
\begin{variable}{shortjournal} |
| 1747 |
\boolsyntax[false]{shortjournal} |
| 1748 |
控制刊名是否使用缩写。需要在 \field{shortjournal} 字段填写刊名缩写。 |
| 1749 |
\end{variable} |
| 1750 |
|
| 1751 |
\begin{BibTeXdemo} |
| 1752 |
@article{gbt7714.b.4:12, |
| 1753 |
journal = {The Public-Access Computer Systems Review}, |
| 1754 |
shortjournal = {Public-Access Comput. Syst. Rev.}, |
| 1755 |
... |
| 1756 |
} |
| 1757 |
\end{BibTeXdemo} |
| 1758 |
|
| 1759 |
\begin{bibexample}[title={\kvopt{shortjournal}{false}}] |
| 1760 |
\bibitem[Caplan(1993)]{gbt7714.b.4:12} |
| 1761 |
Caplan P. |
| 1762 |
\newblock Cataloging internet resources\allowbreak[J]. |
| 1763 |
\newblock \highlighta{The Public-Access Computer Systems Review},1993,4\allowbreak (2):61-66. |
| 1764 |
\end{bibexample} |
| 1765 |
|
| 1766 |
\begin{bibexample}[title={\kvopt{shortjournal}{true}}] |
| 1767 |
\bibitem[Caplan(1993)]{gbt7714.8.1:4} |
| 1768 |
Caplan P. |
| 1769 |
\newblock Cataloging internet resources\allowbreak[J]. |
| 1770 |
\newblock \highlightb{Public-Access Comput Syst Rev},1993,4\allowbreak (2):61-66. |
| 1771 |
\end{bibexample} |
| 1772 |
|
| 1773 |
|
| 1774 |
% \subsubsection{刊名移除缩写点} |
| 1775 |
|
| 1776 |
\begin{variable}{journaldots} |
| 1777 |
\boolsyntax[false]{journaldots} |
| 1778 |
控制刊名是否使用缩写。需要在 \field{shortjournal} 字段填写刊名缩写。 |
| 1779 |
|
| 1780 |
\begin{bibexample}[title={\kvopt{shortjournal}{true}, \kvopt{journaldots}{false}}] |
| 1781 |
\bibitem[Caplan(1993)]{gbt7714.b.4:12} |
| 1782 |
Caplan P. |
| 1783 |
\newblock Cataloging internet resources\allowbreak[J]. |
| 1784 |
\newblock \highlighta{Public-Access Comput Syst Rev},1993,4\allowbreak (2):61-66. |
| 1785 |
\end{bibexample} |
| 1786 |
|
| 1787 |
\begin{bibexample}[title={\kvopt{shortjournal}{true}, \kvopt{journaldots}{false}}] |
| 1788 |
\bibitem[Caplan(1993)]{gbt7714.8.1:4} |
| 1789 |
Caplan P. |
| 1790 |
\newblock Cataloging internet resources\allowbreak[J]. |
| 1791 |
\newblock \highlightb{Public-Access Comput. Syst. Rev.},1993,4\allowbreak (2):61-66. |
| 1792 |
\end{bibexample} |
| 1793 |
\end{variable} |
| 1794 |
|
| 1795 |
% \subsubsection{\opt{linktitle} 控制刊名是否有超链接} |
| 1796 |
|
| 1797 |
|
| 1798 |
% \subsubsection{无出版地、无出版者} |
| 1799 |
|
| 1800 |
\begin{variable}{unknownpublisher} |
| 1801 |
\boolsyntax[false]{unknownpublisher} |
| 1802 |
控制无出版地或无出版者时是否著录“出版地不详”、“S.l.”、“出版者不详”、“s.n.”等内容。 |
| 1803 |
|
| 1804 |
\begin{bibexample}[title={\kvopt{unknownpublisher}{false}}] |
| 1805 |
\bibitem[王夫之(1865(清同治四年))]{gbt7714.8.2.2:2} |
| 1806 |
王夫之. |
| 1807 |
\newblock 宋论\allowbreak[M]. |
| 1808 |
\newblock 刻本. |
| 1809 |
\newblock 金陵,1865(清同治四年). |
| 1810 |
|
| 1811 |
\bibitem[Praetzellis(2011)]{gbt7714.b.1:22} |
| 1812 |
Praetzellis A. |
| 1813 |
\newblock Death by theory:a tale of mystery and archaeological theory\allowbreak[M/OL]. |
| 1814 |
\newblock Rev. ed. |
| 1815 |
\newblock Rowman \& Littlefield Publishing Group,Inc.,2011:13. |
| 1816 |
\newblock \url{http://lib.myilibrary.com/Open.aspx?id=293666}. |
| 1817 |
\end{bibexample} |
| 1818 |
|
| 1819 |
\begin{bibexample}[title={\kvopt{unknownpublisher}{true}}] |
| 1820 |
\bibitem[王夫之(1865(清同治四年))]{gbt7714.8.2.2:2} |
| 1821 |
王夫之. |
| 1822 |
\newblock 宋论\allowbreak[M]. |
| 1823 |
\newblock 刻本. |
| 1824 |
\newblock 金陵:\highlightb{[出版者不详]},1865(清同治四年). |
| 1825 |
|
| 1826 |
\bibitem[Praetzellis(2011)]{gbt7714.b.1:22} |
| 1827 |
Praetzellis A. |
| 1828 |
\newblock Death by theory:a tale of mystery and archaeological theory\allowbreak[M/OL]. |
| 1829 |
\newblock Rev. ed. |
| 1830 |
\newblock \highlightb{[S.l.]}:Rowman \& Littlefield Publishing Group,Inc.,2011:13. |
| 1831 |
\newblock \url{http://lib.myilibrary.com/Open.aspx?id=293666}. |
| 1832 |
\end{bibexample} |
| 1833 |
\end{variable} |
| 1834 |
|
| 1835 |
% \subsubsection{\opt{spacebeforepages} 控制页码前是否有空格} |
| 1836 |
|
| 1837 |
|
| 1838 |
% \subsubsection{起止页码} |
| 1839 |
|
| 1840 |
\begin{variable}{pageranges} |
| 1841 |
\boolsyntax[true]{pageranges} |
| 1842 |
控制页码著录起止区间(“15-18”)或起始页(“15”)。 |
| 1843 |
\end{variable} |
| 1844 |
|
| 1845 |
|
| 1846 |
% \subsubsection{页码分隔符} |
| 1847 |
|
| 1848 |
\begin{variable}{pagerangedelim} |
| 1849 |
\valsyntax[-]{pagerangedelim}{分隔符} |
| 1850 |
控制起止页码之间的分隔符,默认为短横线“-”。 |
| 1851 |
常见的选择还有 en dash “--”、一字线“—”、波浪线“~”。 |
| 1852 |
\end{variable} |
| 1853 |
|
| 1854 |
|
| 1855 |
% \subsubsection{\opt{urldate} 控制是否著录引用日期} |
| 1856 |
|
| 1857 |
|
| 1858 |
% \subsubsection{纸质文献著录 URL} |
| 1859 |
|
| 1860 |
\begin{variable}{url} |
| 1861 |
\boolsyntax[true]{url} |
| 1862 |
如果设为 \opt{false},纸质文献(如图书、期刊文章等)不再著录 URL。 |
| 1863 |
但是电子资源(如网页、数据集、预印本)不受影响。 |
| 1864 |
|
| 1865 |
\begin{bibexample}[title={\kvopt{url}{true}}] |
| 1866 |
\bibitem[赵学功(2001)]{gbt7714.b.1:14} |
| 1867 |
赵学功. |
| 1868 |
\newblock 当代美国外交\allowbreak[M/OL]. |
| 1869 |
\newblock 北京:社会科学文献出版社,2001. |
| 1870 |
\newblock \highlighta{\url{http://www.cadal.zju.edu.cn/book/trySinglePage/33023884/1}}. |
| 1871 |
|
| 1872 |
\bibitem[Jenkins et~al.(2012)Jenkins and Ruostekoski]{gbt7714.8.15.2:3} |
| 1873 |
Jenkins S~D,Ruostekoski J. |
| 1874 |
\newblock Controlled manipulation of light by cooperative response of atoms in an optical lattice\allowbreak[PP/OL]. |
| 1875 |
\newblock V2. |
| 1876 |
\newblock arXiv\allowbreak (2012-03-18)\allowbreak[2020-06-24]. |
| 1877 |
\newblock \highlighta{\url{https://doi.org/10.48550/arXiv.1112.6136}}. |
| 1878 |
\end{bibexample} |
| 1879 |
|
| 1880 |
\begin{bibexample}[title={\kvopt{url}{true}}] |
| 1881 |
\bibitem[赵学功(2001)]{gbt7714.b.1:14} |
| 1882 |
赵学功. |
| 1883 |
\newblock 当代美国外交\allowbreak[M/OL]. |
| 1884 |
\newblock 北京:社会科学文献出版社,2001. |
| 1885 |
|
| 1886 |
\bibitem[Jenkins et~al.(2012)Jenkins and Ruostekoski]{gbt7714.8.15.2:3} |
| 1887 |
Jenkins S~D,Ruostekoski J. |
| 1888 |
\newblock Controlled manipulation of light by cooperative response of atoms in an optical lattice\allowbreak[PP/OL]. |
| 1889 |
\newblock V2. |
| 1890 |
\newblock arXiv\allowbreak (2012-03-18)\allowbreak[2020-06-24]. |
| 1891 |
\newblock \highlighta{\url{https://doi.org/10.48550/arXiv.1112.6136}}. |
| 1892 |
\end{bibexample} |
| 1893 |
\end{variable} |
| 1894 |
|
| 1895 |
|
| 1896 |
% \subsubsection{DOI} |
| 1897 |
|
| 1898 |
\begin{variable}{doi} |
| 1899 |
\boolsyntax[true]{doi} |
| 1900 |
控制是否著录 DOI。此选项还同时控制是否著录其他永久标识符(如 \href{https://cstr.cn/}{CSTR})。 |
| 1901 |
|
| 1902 |
\begin{bibexample}[title={\kvopt{doi}{true}}] |
| 1903 |
\bibitem[肖玲\ 等(2024)肖玲,张雪和王永]{gbt7714.8.15.2:1} |
| 1904 |
肖玲,张雪,王永. |
| 1905 |
\newblock 数据要素的统计测算方法探究\allowbreak[PP/OL]. |
| 1906 |
\newblock PSSXiv\allowbreak (2024-07-02)\allowbreak[2024-09-30]. |
| 1907 |
\newblock \url{https://zsyyb.cn/abs/202408.01096}. |
| 1908 |
\newblock \highlighta{CSTR:\cstr{32012.36.PSSXiv.202408.01096}}. |
| 1909 |
|
| 1910 |
\bibitem[Frese et~al.(2013)Frese,Katus,and Meder]{gbt7714.b.4:16} |
| 1911 |
Frese K~S,Katus H~A,Meder B. |
| 1912 |
\newblock Next-generation sequencing:from understanding biology to personalized medicine\allowbreak[J/OL]. |
| 1913 |
\newblock Biology,2013,2\allowbreak (1):378-398. |
| 1914 |
\newblock \url{http://www.mdpi.com/2079-7737/2/1/378}. |
| 1915 |
\newblock \highlighta{DOI:\doi{10.3390/biology2010378}}. |
| 1916 |
\end{bibexample} |
| 1917 |
|
| 1918 |
\begin{bibexample}[title={\kvopt{doi}{false}}] |
| 1919 |
\bibitem[肖玲\ 等(2024)肖玲,张雪和王永]{gbt7714.8.15.2:1} |
| 1920 |
肖玲,张雪,王永. |
| 1921 |
\newblock 数据要素的统计测算方法探究\allowbreak[PP/OL]. |
| 1922 |
\newblock PSSXiv\allowbreak (2024-07-02)\allowbreak[2024-09-30]. |
| 1923 |
\newblock \url{https://zsyyb.cn/abs/202408.01096}. |
| 1924 |
|
| 1925 |
\bibitem[Frese et~al.(2013)Frese,Katus,and Meder]{gbt7714.b.4:16} |
| 1926 |
Frese K~S,Katus H~A,Meder B. |
| 1927 |
\newblock Next-generation sequencing:from understanding biology to personalized medicine\allowbreak[J/OL]. |
| 1928 |
\newblock Biology,2013,2\allowbreak (1):378-398. |
| 1929 |
\newblock \url{http://www.mdpi.com/2079-7737/2/1/378}. |
| 1930 |
\end{bibexample} |
| 1931 |
\end{variable} |
| 1932 |
|
| 1933 |
|
| 1934 |
% \subsubsection{预印本标识符} |
| 1935 |
|
| 1936 |
\begin{variable}{eprint} |
| 1937 |
\boolsyntax[false]{eprint} |
| 1938 |
控制是否著录预印本的标识符(\field{eprint} 字段)。 |
| 1939 |
|
| 1940 |
\begin{bibexample}[title={\kvopt{eprint}{false}}] |
| 1941 |
\bibitem[肖玲\ 等(2024)肖玲,张雪和王永]{gbt7714.8.15.2:1} |
| 1942 |
肖玲,张雪,王永. |
| 1943 |
\newblock 数据要素的统计测算方法探究\allowbreak[PP/OL]. |
| 1944 |
\newblock PSSXiv\allowbreak (2024-07-02)\allowbreak[2024-09-30]. |
| 1945 |
\newblock \url{https://zsyyb.cn/abs/202408.01096}. |
| 1946 |
\newblock CSTR:\cstr{32012.36.PSSXiv.202408.01096}. |
| 1947 |
|
| 1948 |
\bibitem[Jenkins et~al.(2012)Jenkins and Ruostekoski]{gbt7714.8.15.2:3} |
| 1949 |
Jenkins S~D,Ruostekoski J. |
| 1950 |
\newblock Controlled manipulation of light by cooperative response of atoms in an optical lattice\allowbreak[PP/OL]. |
| 1951 |
\newblock V2. |
| 1952 |
\newblock arXiv\allowbreak (2012-03-18)\allowbreak[2020-06-24]. |
| 1953 |
\newblock \url{https://doi.org/10.48550/arXiv.1112.6136}. |
| 1954 |
\end{bibexample} |
| 1955 |
|
| 1956 |
\begin{bibexample}[title={\kvopt{eprint}{true}}] |
| 1957 |
\bibitem[肖玲\ 等(2024)肖玲,张雪和王永]{gbt7714.8.15.2:1} |
| 1958 |
肖玲,张雪,王永. |
| 1959 |
\newblock 数据要素的统计测算方法探究\allowbreak[PP/OL]. |
| 1960 |
\newblock PSSXiv\highlightb{:\nolinkurl{202408.01096}}\allowbreak (2024-07-02)\allowbreak[2024-09-30]. |
| 1961 |
\newblock \url{https://zsyyb.cn/abs/202408.01096}. |
| 1962 |
\newblock CSTR:\cstr{32012.36.PSSXiv.202408.01096}. |
| 1963 |
|
| 1964 |
\bibitem[Jenkins et~al.(2012)Jenkins and Ruostekoski]{gbt7714.8.15.2:3} |
| 1965 |
Jenkins S~D,Ruostekoski J. |
| 1966 |
\newblock Controlled manipulation of light by cooperative response of atoms in an optical lattice\allowbreak[PP/OL]. |
| 1967 |
\newblock V2. |
| 1968 |
\newblock arXiv\highlightb{:1112.6136}\allowbreak (2012-03-18)\allowbreak[2020-06-24]. |
| 1969 |
\newblock \url{https://doi.org/10.48550/arXiv.1112.6136}. |
| 1970 |
\end{bibexample} |
| 1971 |
\end{variable} |
| 1972 |
|
| 1973 |
|
| 1974 |
% \subsubsection{著录补充信息} |
| 1975 |
|
| 1976 |
\begin{variable}{note} |
| 1977 |
\boolsyntax[false]{note} |
| 1978 |
控制是否著录补充信息(\field{note} 字段)。 |
| 1979 |
\end{variable} |
| 1980 |
|
| 1981 |
|
| 1982 |
% \subsubsection{文献结尾句点} |
| 1983 |
|
| 1984 |
\begin{variable}{enddot} |
| 1985 |
\boolsyntax[true]{enddot} |
| 1986 |
控制每一条文献结尾是否用“.”号标识。 |
| 1987 |
\end{variable} |
| 1988 |
|
| 1989 |
|
| 1990 |
\section{\BibTeX{} 数据库指南} |
| 1991 |
\label{sec:bibfile} |
| 1992 |
|
| 1993 |
\pkg{gbt7714} 要求 \BibTeX{} 数据库必须使用 UTF-8 编码。 |
| 1994 |
|
| 1995 |
本节列举了 2025 版国标规定的 14 类文献所对应的 \BibTeX{} 数据库条目示例, |
| 1996 |
并说明了各类文献在填写时的注意事项。 |
| 1997 |
国标全部示例文献的 \BibTeX{} 数据库见 |
| 1998 |
\href{https://github.com/zepinglee/gbt7714-bibtex-style}{GitHub 仓库} |
| 1999 |
的 |
| 2000 |
\href{https://github.com/zepinglee/gbt7714-bibtex-style/blob/master/gbt7714-examples.bib}{gbt7714-examples.bib} |
| 2001 |
文件。 |
| 2002 |
|
| 2003 |
如果作者使用 Zotero 等文献管理软件导出 \BibTeX{} 数据库, |
| 2004 |
建议使用 Better BibTeX 插件选择导出为 \opt{Better BibLaTeX} 格式。 |
| 2005 |
\pkg{biblatex} 在 \BibTeX{} 标准的基础上添加了一些文献类型和字段, |
| 2006 |
比 \BibTeX{} 标准更加丰富。 |
| 2007 |
|
| 2008 |
国标中规定了 14 种参考文献类型, |
| 2009 |
表~\ref{tab:entry-types} 列举了 \file{bib} 数据库中对应的文献类型。 |
| 2010 |
其中部分类型超出了 \BibTeX{} 标准的范围, |
| 2011 |
所以使用了 \pkg{biblatex} 新增的条目类型。 |
| 2012 |
% 这些尽可能兼容 \BibTeX{} 和 \pkg{biblatex} 的标准类型,但是新增了若干文献类型(带 * 号)。 |
| 2013 |
|
| 2014 |
\begin{table}[htb] |
| 2015 |
\centering\small |
| 2016 |
\begin{threeparttable}[b] |
| 2017 |
\caption{各文献类型对应的 \BibTeX{} 条目类型} |
| 2018 |
\label{tab:entry-types} |
| 2019 |
\begin{tabular}{clcl} |
| 2020 |
\toprule |
| 2021 |
章节 & 文献类型 & 标识代码 & \BibTeX{} entry type \\ |
| 2022 |
\midrule |
| 2023 |
8.2 & 图书 & M & \entrytype{book} \\ |
| 2024 |
8.3 & 图书的析出文献 & M & \entrytype{incollection} 或 \entrytype{inbook} \\ |
| 2025 |
8.4 & 连续出版物 & J & \entrytype{periodical}\tnote{a} \\ |
| 2026 |
8.5 & 连续出版物的析出文献 & J & \entrytype{article} \\ |
| 2027 |
8.5 & 报纸中析出的文献 & N & \entrytype{article}, \field{entrysubtype = \{newspaper\}} \\ |
| 2028 |
8.6 & 会议录 & C & \entrytype{proceedings} \\ |
| 2029 |
8.6 & 会议录的析出文献 & C & \entrytype{inproceedings} 或 \entrytype{conference} \\ |
| 2030 |
8.7 & 学位论文 & D & \entrytype{mastersthesis} 或 \entrytype{phdthesis} \\ |
| 2031 |
8.8 & 报告 & R & \entrytype{techreport} \\ |
| 2032 |
8.9 & 标准 & S & \entrytype{standard}\tnote{a} \\ |
| 2033 |
8.10 & 专利 & P & \entrytype{patent}\tnote{a} \\ |
| 2034 |
8.11 & 网站、网页 & EB & \entrytype{online}\tnote{a} \\ |
| 2035 |
8.12 & 档案 & A & \entrytype{archive}\tnote{b} \\ |
| 2036 |
8.13 & 地图 & CM & \entrytype{map}\tnote{a} \\ |
| 2037 |
8.14 & 数据集 & DS & \entrytype{dataset}\tnote{a} \\ |
| 2038 |
8.15 & 预印本 & PP & \entrytype{preprint}\tnote{b} \\ |
| 2039 |
\bottomrule |
| 2040 |
\end{tabular} |
| 2041 |
\begin{tablenotes} |
| 2042 |
\item[a] \pkg{biblatex} 的条目类型。 |
| 2043 |
\item[b] \pkg{gbt7714} 新增的条目类型。 |
| 2044 |
\end{tablenotes} |
| 2045 |
\end{threeparttable} |
| 2046 |
\end{table} |
| 2047 |
|
| 2048 |
|
| 2049 |
\subsection{条目字段} |
| 2050 |
|
| 2051 |
\subsubsection{条目语言 \field{langid}} |
| 2052 |
|
| 2053 |
\pkg{gbt7714} 的 \BibTeX{} 样式会自动根据题名 \field{title} 的内容判断文献的语言 |
| 2054 |
(中文和英文),用户也可以手动指定文献的语言,填写在 \field{langid} 字段中。 |
| 2055 |
|
| 2056 |
\subsubsection{题名大小写} |
| 2057 |
|
| 2058 |
英文题名的大小写方式分为两种:sentence case 和 title case。 |
| 2059 |
前者为第一个词的首字母大写,除专有名词外的其他词均小写, |
| 2060 |
后者为实词的首字母大写。 |
| 2061 |
实践中,不同体例还有一些细微的差别, |
| 2062 |
比如 APA 的 sentence case 还要求冒号、破折号后的首字母大写\cite{apa2022} |
| 2063 |
(见 \hyperref[opt:capitalizesubtitle]{capitalizesubtitle} 选项)。 |
| 2064 |
|
| 2065 |
国标中没有明确规定西文题名的大小写方式, |
| 2066 |
但其中示例的题名使用 sentence case,包括文献题名和析出文献的图书题名, |
| 2067 |
刊名则使用 title case。 |
| 2068 |
这也是 \pkg{gbt7714} 的默认设置。 |
| 2069 |
|
| 2070 |
在使用 \BibTeX{} 数据库时,正确的著录方式是在题名字段使用 title case, |
| 2071 |
并将专有名词用大括号保护起来。 |
| 2072 |
这样可以使 \BibTeX{} 根据引注样式控制是否转换为 sentence case, |
| 2073 |
并且避免错误地将专有名词转换为小写。 |
| 2074 |
下面的例子中带大括号的“LaTeX”是专有名词, |
| 2075 |
\BibTeX{} 转为 sentence case 时会忽略大括号内的内容, |
| 2076 |
生成“An introduction to {LaTeX}”。 |
| 2077 |
|
| 2078 |
\begin{BibTeXdemo} |
| 2079 |
@book{intro-latex, |
| 2080 |
title = {An Introduction to {LaTeX}}, |
| 2081 |
} |
| 2082 |
\end{BibTeXdemo} |
| 2083 |
|
| 2084 |
|
| 2085 |
\subsubsection{刊名缩写} |
| 2086 |
|
| 2087 |
国标中的刊名示例大部分使用全称,但也少部分示例使用了缩写,并省略缩写点, |
| 2088 |
如“J Math \& Phys”和“Br Med J”。 |
| 2089 |
实践中,不同期刊/学校采用刊名全称和缩写的情况都有, |
| 2090 |
是否省略缩写点也不统一。 |
| 2091 |
|
| 2092 |
用户在 \BibTeX{} 数据库中著录刊名时,建议将全称填写在 \field{journal} 字段 |
| 2093 |
(或者 \pkg{biblatex} 的 \field{journaltitle})中, |
| 2094 |
并将刊名缩写填写在 \field{shortjournal} 字段,并保留缩写点。 |
| 2095 |
这样可以用 \BibTeX{} 样式控制是否使用缩写,以及是否省略缩写点。 |
| 2096 |
|
| 2097 |
\pkg{gbt7714} 的刊名默认按照国标的多数示例使用全称。 |
| 2098 |
用户可以使用 \kvopt{shortjournal}{true} 选项启用缩写, |
| 2099 |
并使用 \kvopt{journaldots}{false} 选项省略缩写点。 |
| 2100 |
|
| 2101 |
|
| 2102 |
\subsubsection{卷次 \field{volume}} |
| 2103 |
|
| 2104 |
图书的卷次推荐使用阿拉伯数字的形式填写在 \field{volume} 字段中, |
| 2105 |
\pkg{gbt7714} 的 \BibTeX{} 样式会自动将其转换成“第 4 卷”、“v.1”这样的格式。 |
| 2106 |
其他格式的卷次需要将完整内容填写在字段中 |
| 2107 |
如“第 1 册”、“美国卷”、“第二卷”。 |
| 2108 |
|
| 2109 |
|
| 2110 |
\subsubsection{版本 \field{edition}、\field{version}} |
| 2111 |
|
| 2112 |
图书的版本填写在 \field{edition} 字段, |
| 2113 |
推荐使用阿拉伯数字的方式填写, |
| 2114 |
也兼容 \BibTeX{} 标准的序数词形式(如“Second”), |
| 2115 |
本宏包会自动将其转换为“3 版”、“5th ed.”这样的格式 |
| 2116 |
其他格式的版本需要将完整内容填写在字段中, |
| 2117 |
需要包含“版”或对应的词, |
| 2118 |
如“新 1 版”、“明刻本”、“Rev. ed.”。 |
| 2119 |
|
| 2120 |
数据集和预印本的版本填写在 \field{version} 字段,不带前缀“V”。 |
| 2121 |
|
| 2122 |
\begin{BibTeXdemo} |
| 2123 |
version = {1.0}, |
| 2124 |
\end{BibTeXdemo} |
| 2125 |
|
| 2126 |
|
| 2127 |
\subsection{条目类型} |
| 2128 |
|
| 2129 |
\subsubsection{图书} |
| 2130 |
|
| 2131 |
\begin{BibTeXdemo} |
| 2132 |
@book{gbt7714.8.2.2:5, |
| 2133 |
author = {扬奎斯特 and 萨金特}, |
| 2134 |
title = {递归宏观经济理论}, |
| 2135 |
translator = {杨斌 and 王忠玉 and 陈彦斌 and 严高剑}, |
| 2136 |
series = {经济科学译库}, |
| 2137 |
edition = {2}, |
| 2138 |
address = {北京}, |
| 2139 |
publisher = {中国人民大学出版社}, |
| 2140 |
year = {2010}, |
| 2141 |
pages = {798}, |
| 2142 |
langid = {chinese}, |
| 2143 |
} |
| 2144 |
\end{BibTeXdemo} |
| 2145 |
|
| 2146 |
|
| 2147 |
\subsubsection{图书中的析出文献} |
| 2148 |
|
| 2149 |
\begin{BibTeXdemo} |
| 2150 |
@incollection{gbt7714.8.3.2:1, |
| 2151 |
author = {阿扬}, |
| 2152 |
title = {谈谈记忆:与诺贝尔获奖得者埃里克·坎德尔的问答}, |
| 2153 |
translator = {姜海伦}, |
| 2154 |
editor = {{《环球科学》杂志社}}, |
| 2155 |
booktitle = {认识记忆力:关于学习、思考与遗忘的脑科学}, |
| 2156 |
address = {北京}, |
| 2157 |
publisher = {机械工业出版社}, |
| 2158 |
year = {2023}, |
| 2159 |
pages = {15--18}, |
| 2160 |
langid = {chinese} |
| 2161 |
} |
| 2162 |
\end{BibTeXdemo} |
| 2163 |
|
| 2164 |
|
| 2165 |
\subsubsection{连续出版物} |
| 2166 |
|
| 2167 |
连续出版物的“年卷期或其他标识”著录在 \field{volume} 字段中。 |
| 2168 |
|
| 2169 |
\begin{BibTeXdemo} |
| 2170 |
@periodical{gbt7714.8.4.2:1, |
| 2171 |
editor = {中华医学会湖北分会}, |
| 2172 |
title = {临床内科杂志}, |
| 2173 |
volume = {1984, 1(1)-}, |
| 2174 |
address = {武汉}, |
| 2175 |
publisher = {中华医学会湖北分会}, |
| 2176 |
year = {1984-}, |
| 2177 |
langid = {chinese} |
| 2178 |
} |
| 2179 |
\end{BibTeXdemo} |
| 2180 |
|
| 2181 |
|
| 2182 |
\subsubsection{连续出版物中的析出文献} |
| 2183 |
|
| 2184 |
\begin{BibTeXdemo} |
| 2185 |
@article{gbt7714.8.5.3:3, |
| 2186 |
author = {于潇 and 刘义 and 柴跃廷 and 孙宏波}, |
| 2187 |
title = {互联网药品可信交易环境中主体资质审核备案模式}, |
| 2188 |
journal = {清华大学学报(自然科学版)}, |
| 2189 |
year = {2012}, |
| 2190 |
volume = {52}, |
| 2191 |
number = {11}, |
| 2192 |
pages = {1518--1523}, |
| 2193 |
langid = {chinese} |
| 2194 |
} |
| 2195 |
\end{BibTeXdemo} |
| 2196 |
|
| 2197 |
报纸使用 \entrytype{article} 类型, |
| 2198 |
但需要著录 \field{entrysubtype = \{newspaper\}} 字段以区分报纸和期刊文章, |
| 2199 |
并且将出版日期和版次分别填写在 \field{date} 和 \field{pages} 字段中。 |
| 2200 |
|
| 2201 |
\begin{BibTeXdemo} |
| 2202 |
@article{gbt7714.8.5.3:1, |
| 2203 |
entrysubtype = {newspaper}, |
| 2204 |
author = {丁文详}, |
| 2205 |
title = {数字革命与竞争国际化}, |
| 2206 |
journal = {中国青年报}, |
| 2207 |
date = {2000-11-20}, |
| 2208 |
pages = {15}, |
| 2209 |
langid = {chinese} |
| 2210 |
} |
| 2211 |
\end{BibTeXdemo} |
| 2212 |
|
| 2213 |
在线出版(或称为“网络首发”、“advance online publication”)的文章没有卷次和期号, |
| 2214 |
但需要著录出版日期(\field{date})。 |
| 2215 |
\begin{BibTeXdemo} |
| 2216 |
@article{gbt7714.8.5.3:4, |
| 2217 |
author = {张群 and 程志宝 and 石志飞}, |
| 2218 |
title = {惯性增强动力吸振器-浮置板轨道低频减振性能研究}, |
| 2219 |
journal = {铁道学报}, |
| 2220 |
date = {2024-05-09}, |
| 2221 |
urldate = {2025-02-28}, |
| 2222 |
url = {http://kns.cnki.net/kcms/detail/11.2104.u.20240507.1737.002.html}, |
| 2223 |
langid = {chinese} |
| 2224 |
} |
| 2225 |
\end{BibTeXdemo} |
| 2226 |
|
| 2227 |
文章编号著录在 \field{eid} 字段中。 |
| 2228 |
\begin{BibTeXdemo} |
| 2229 |
@article{gbt7714.8.5.3:7, |
| 2230 |
author = {王利平 and 王福新 and 刘洪}, |
| 2231 |
title = {过冷大水滴环境粒径分布模拟方法研究进展}, |
| 2232 |
journal = {航空学报}, |
| 2233 |
year = {2024}, |
| 2234 |
volume = {45}, |
| 2235 |
number = {增刊1}, |
| 2236 |
eid = {730570}, |
| 2237 |
langid = {chinese} |
| 2238 |
} |
| 2239 |
\end{BibTeXdemo} |
| 2240 |
|
| 2241 |
|
| 2242 |
\subsubsection{会议录} |
| 2243 |
|
| 2244 |
以图书形式出版的会议录,使用 \entrytype{proceedings} 类型,其余与图书一致。 |
| 2245 |
\begin{BibTeXdemo} |
| 2246 |
@proceedings{gbt7714.8.6.1:1, |
| 2247 |
editor = {牛志明 and Swingland, Ian R. and 雷光春}, |
| 2248 |
title = {综合湿地管理:综合湿地管理国际研讨会论文集}, |
| 2249 |
address = {北京}, |
| 2250 |
publisher = {海洋出版社}, |
| 2251 |
year = {2012}, |
| 2252 |
langid = {chinese} |
| 2253 |
} |
| 2254 |
\end{BibTeXdemo} |
| 2255 |
|
| 2256 |
以图书中的析出文献出现的会议论文,使用 \entrytype{inproceedings} 类型, |
| 2257 |
字段填写方式与 \entrytype{incollection} 一致。 |
| 2258 |
|
| 2259 |
\begin{BibTeXdemo} |
| 2260 |
@inproceedings{gbt7714.8.6.1:2, |
| 2261 |
author = {汪学军}, |
| 2262 |
title = {中国农业转基因生物研发进展与安全管理}, |
| 2263 |
editor = {国家环境保护总局生物安全管理办公室}, |
| 2264 |
booktitle = {中国国家生物安全框架实施国际合作项目研讨会论文集}, |
| 2265 |
address = {北京}, |
| 2266 |
publisher = {中国环境科学出版社}, |
| 2267 |
year = {2005}, |
| 2268 |
pages = {22--25}, |
| 2269 |
langid = {chinese} |
| 2270 |
} |
| 2271 |
\end{BibTeXdemo} |
| 2272 |
|
| 2273 |
其余形式的会议论文将会议名称著录在 \field{eventtitle} 字段中。 |
| 2274 |
|
| 2275 |
\begin{BibTeXdemo} |
| 2276 |
@inproceedings{gbt7714.8.6.3:1, |
| 2277 |
author = {李妍 and 王莹}, |
| 2278 |
title = {医疗机构保洁人员“一前五后”手卫生干预效果研究}, |
| 2279 |
eventtitle = {中华预防医学会医院感染控制分会第31次全国医院感染学术年会}, |
| 2280 |
year = {2022}, |
| 2281 |
pages = {2}, |
| 2282 |
langid = {chinese} |
| 2283 |
} |
| 2284 |
\end{BibTeXdemo} |
| 2285 |
|
| 2286 |
|
| 2287 |
\subsubsection{学位论文} |
| 2288 |
|
| 2289 |
\begin{BibTeXdemo} |
| 2290 |
@phdthesis{gbt7714.8.7.2:1, |
| 2291 |
author = {王琦}, |
| 2292 |
title = {融合星载GNSS-R和SAR数据的高时空分辨率土壤湿度反演方法研究}, |
| 2293 |
type = {博士学位论文}, |
| 2294 |
address = {武汉}, |
| 2295 |
school = {武汉大学}, |
| 2296 |
year = {2022}, |
| 2297 |
pages = {87}, |
| 2298 |
langid = {chinese} |
| 2299 |
} |
| 2300 |
\end{BibTeXdemo} |
| 2301 |
|
| 2302 |
|
| 2303 |
\subsubsection{报告} |
| 2304 |
|
| 2305 |
报告需要将编号和日期分别填写在 \field{number} 和 \field{date} 字段中。 |
| 2306 |
|
| 2307 |
\begin{BibTeXdemo} |
| 2308 |
@techreport{gbt7714.8.8.3:1, |
| 2309 |
author = {汤万金 and 杨跃翔 and 刘文 and 郑建国 and 王赟松}, |
| 2310 |
title = {人体安全重要技术标准研制最终报告}, |
| 2311 |
number = {7178999X-2006BAK04A10/10.2013}, |
| 2312 |
date = {2013-09-30}, |
| 2313 |
urldate = {2014-06-24}, |
| 2314 |
url = {http://www.nstrs.cn/xiangxiBG.aspx?id=41707}, |
| 2315 |
langid = {chinese} |
| 2316 |
} |
| 2317 |
\end{BibTeXdemo} |
| 2318 |
|
| 2319 |
|
| 2320 |
\subsubsection{标准} |
| 2321 |
|
| 2322 |
\begin{BibTeXdemo} |
| 2323 |
@standard{gbt7714.8.9.2:1, |
| 2324 |
author = {全国信息与文献标准化技术委员会}, |
| 2325 |
number = {GB/T 3792—2021}, |
| 2326 |
title = {信息与文献\quad 资源描述}, |
| 2327 |
year = {2021}, |
| 2328 |
langid = {chinese} |
| 2329 |
} |
| 2330 |
\end{BibTeXdemo} |
| 2331 |
|
| 2332 |
|
| 2333 |
\subsubsection{专利} |
| 2334 |
|
| 2335 |
国标要求专利文献优先使用申请者/所有者(\field{holder}),而非发明者。 |
| 2336 |
另外,应将专利申请号填写在 \field{number} 字段,而不是专利的公开号。 |
| 2337 |
但是日期应使用公告/公开日期,不是申请日期。 |
| 2338 |
|
| 2339 |
2005 版国标要求著录专利国别,可以填写在 \field{address} 字段中。 |
| 2340 |
最新版取消了该著录项目,这可能是因为专利申请号均带有国家代码前缀(如 “CN”), |
| 2341 |
没有必要再单独著录国别。 |
| 2342 |
|
| 2343 |
\begin{BibTeXdemo} |
| 2344 |
@patent{gbt7714.8.10.2:2, |
| 2345 |
author = {石顺祥 and 许海平 and 孙艳玲 and 陈利菊 and 李家立 and 刘继芳}, |
| 2346 |
holder = {西安电子科技大学}, |
| 2347 |
title = {光折变自适应光外差探测方法}, |
| 2348 |
address = {中国}, |
| 2349 |
number = {CN01128777.2}, |
| 2350 |
date = {2002-03-06}, |
| 2351 |
urldate = {2002-05-28}, |
| 2352 |
url = {http://211.152.9.47/sipoasp/zljs/hyjs-yx-new.asp?recid=01128777.2&leixin=0}, |
| 2353 |
langid = {chinese} |
| 2354 |
} |
| 2355 |
\end{BibTeXdemo} |
| 2356 |
|
| 2357 |
|
| 2358 |
\subsubsection{网站和网页} |
| 2359 |
|
| 2360 |
\begin{BibTeXdemo} |
| 2361 |
@online{gbt7714.8.11.2.2:1, |
| 2362 |
title = {中国国家博物馆}, |
| 2363 |
urldate = {2025-05-06}, |
| 2364 |
url = {https://www.chnmuseum.cn/}, |
| 2365 |
langid = {chinese} |
| 2366 |
} |
| 2367 |
\end{BibTeXdemo} |
| 2368 |
|
| 2369 |
|
| 2370 |
\subsubsection{档案} |
| 2371 |
|
| 2372 |
档案文献使用 \entrytype{archive} 类型, |
| 2373 |
档号和收藏者分别填写在 \field{number} 和 \field{institution} 字段。 |
| 2374 |
书信类文献也可以使用 \entrytype{letter} 类型。 |
| 2375 |
|
| 2376 |
\begin{BibTeXdemo} |
| 2377 |
@archive{gbt7714.8.12.3:2, |
| 2378 |
author = {湖北省建设厅}, |
| 2379 |
title = {湖北省建设厅关于检发实业部农工矿业团体登记规则的布告、训令及湖北省政府的训令}, |
| 2380 |
number = {LS031-001-0001-001}, |
| 2381 |
address = {武汉}, |
| 2382 |
institution = {湖北省档案馆}, |
| 2383 |
date = {1931-11-07}, |
| 2384 |
urldate = {2025-02-28}, |
| 2385 |
url = {https://www.hbda.gov.cn/pdf/LS031-001-0001-001.PDF.PDF}, |
| 2386 |
langid = {chinese} |
| 2387 |
} |
| 2388 |
|
| 2389 |
@letter{gbt7714.8.12.3:4, |
| 2390 |
author = {Fitzwilliam, Hugh}, |
| 2391 |
recipient = {{Bess of Hardwick}}, |
| 2392 |
title = {[{Letter} to {Bess of Hardwick}]}, |
| 2393 |
date = {1570-07-28}, |
| 2394 |
urldate = {2025-02-28}, |
| 2395 |
url = {https://www.bessofhardwick.org/letter.jsp?letter=25}, |
| 2396 |
langid = {british} |
| 2397 |
} |
| 2398 |
\end{BibTeXdemo} |
| 2399 |
|
| 2400 |
|
| 2401 |
\subsubsection{地图} |
| 2402 |
|
| 2403 |
地图的比例尺和尺寸分别填写在 \field{scale} 和 \field{dimensions} 字段。 |
| 2404 |
|
| 2405 |
\begin{BibTeXdemo} |
| 2406 |
@map{gbt7714.8.13.3:1, |
| 2407 |
author = {胡健民}, |
| 2408 |
title = {东南极拉斯曼丘陵地区地质图}, |
| 2409 |
scale = {1:25000}, |
| 2410 |
address = {北京}, |
| 2411 |
publisher = {科学出版社}, |
| 2412 |
year = {2021}, |
| 2413 |
dimensions = {128cm×84cm}, |
| 2414 |
langid = {chinese} |
| 2415 |
} |
| 2416 |
\end{BibTeXdemo} |
| 2417 |
|
| 2418 |
|
| 2419 |
\subsubsection{数据集} |
| 2420 |
|
| 2421 |
\begin{BibTeXdemo} |
| 2422 |
@dataset{gbt7714.8.14.3:1, |
| 2423 |
author = {周壮 and 李盛阳 and 吴薇 and 郭威龙 and 李轩 and 夏桂松 and 赵子飞}, |
| 2424 |
title = {天宫二号遥感图像自然景物分类数据集}, |
| 2425 |
version = {1.0}, |
| 2426 |
publisher = {国家基础学科公共科学数据中心}, |
| 2427 |
year = {2023}, |
| 2428 |
date = {2023-09-10}, |
| 2429 |
urldate = {2025-07-15}, |
| 2430 |
url = {https://www.nbsdc.cn/general/dataLinks/CSTR:16666.11.nbsdc.tfpbwtqf}, |
| 2431 |
cstr = {16666.11.nbsdc.tfpbwtqf}, |
| 2432 |
langid = {chinese} |
| 2433 |
} |
| 2434 |
\end{BibTeXdemo} |
| 2435 |
|
| 2436 |
|
| 2437 |
\subsubsection{预印本} |
| 2438 |
|
| 2439 |
预印本推荐使用 \entrytype{preprint} 类型。 |
| 2440 |
出版平台填写在 \field{archiveprefix} 字段中, |
| 2441 |
|
| 2442 |
\begin{BibTeXdemo} |
| 2443 |
@preprint{gbt7714.8.15.2:1, |
| 2444 |
author = {肖玲 and 张雪 and 王永}, |
| 2445 |
title = {数据要素的统计测算方法探究}, |
| 2446 |
archiveprefix = {PSSXiv}, |
| 2447 |
eprint = {202408.01096}, |
| 2448 |
date = {2024-07-02}, |
| 2449 |
urldate = {2024-09-30}, |
| 2450 |
url = {https://zsyyb.cn/abs/202408.01096}, |
| 2451 |
cstr = {32012.36.PSSXiv.202408.01096}, |
| 2452 |
langid = {chinese} |
| 2453 |
} |
| 2454 |
\end{BibTeXdemo} |
| 2455 |
|
| 2456 |
\pkg{gbt7714} 兼容 \pkg{biblatex} 的 \field{eprinttype} 字段, |
| 2457 |
同时兼容 arXiv 和 Google Scholar 导出的预印本格式, |
| 2458 |
|
| 2459 |
\begin{BibTeXdemo} |
| 2460 |
@misc{jenkins2012controlledmanipulationlightcooperative, |
| 2461 |
title={Controlled manipulation of light by cooperative response of atoms in an optical lattice}, |
| 2462 |
author={Stewart D. Jenkins and Janne Ruostekoski}, |
| 2463 |
year={2012}, |
| 2464 |
eprint={1112.6136}, |
| 2465 |
archivePrefix={arXiv}, |
| 2466 |
primaryClass={physics.optics}, |
| 2467 |
doi={https://doi.org/10.1103/PhysRevA.86.031602}, |
| 2468 |
url={https://arxiv.org/abs/1112.6136}, |
| 2469 |
} |
| 2470 |
\end{BibTeXdemo} |
| 2471 |
|
| 2472 |
|
| 2473 |
\section{局限性} |
| 2474 |
\label{sec:limitations} |
| 2475 |
|
| 2476 |
\pkg{gbt7714} 仍然存在一些局限性,主要是由于 \BibTeX{} 的设计限制导致的。 |
| 2477 |
|
| 2478 |
\begin{enumerate} |
| 2479 |
\item 无法自动按照拼音排序。 |
| 2480 |
国标要求著者-出版年制的参考文献表的中文文献按照责任者的拼音字顺或笔画笔顺排序, |
| 2481 |
但是 \BibTeX{} 无法实现 Unicode 排序。 |
| 2482 |
用户需要在 \field{key} 字段手动著录作者姓名的拼音,才能正确排序, |
| 2483 |
如 \texttt{key = \{zhang1 san1 li3 si4\}}。 |
| 2484 |
如果文章中有较多中文文献,推荐使用 \pkg{biblatex-gb7714-2015} 宏包\cite{hu2026}。 |
| 2485 |
|
| 2486 |
\item 带变音符号的拉丁字母无法使用 Unicode,必须使用 \TeX{} 命令输入。 |
| 2487 |
如“é”必须输入为 |{\'e}|。 |
| 2488 |
\end{enumerate} |
| 2489 |
|
| 2490 |
|
| 2491 |
\bibliography{\jobname} |
| 2492 |
|
| 2493 |
\end{documentation} |
| 2494 |
|
| 2495 |
% \PrintIndex |
| 2496 |
|
| 2497 |
\end{document} |