zepinglee / gbt7714-bibtex-style

GB/T 7714-2015 BibTeX Style
LaTeX Project Public License v1.3c
1.15k stars 196 forks source link

如何在姓氏的简写名后加点 `.`? #125

Closed sikouhjw closed 1 year ago

sikouhjw commented 1 year ago

目前的需求是,在简写名后加 .,不知道在 bst 中如何修改。

MWE:

\begin{filecontents}{xampl-zh.bib}
  @article{desmarais1992carbon,
  author       = {Des Marais, David J and Strauss, H and Summons, R E and
                 others},
  title        = {Carbon Isotope Evidence for the Stepwise Oxidation of the
                 Proterozoic Environment},
  journal      = {Nature},
  year         = {1992},
  volume       = {359},
  pages        = {605--609},
}
\end{filecontents}

\documentclass{ctexart}
\usepackage{gbt7714}
\bibliographystyle{gbt7714-numerical}
\begin{document}
\cite{desmarais1992carbon}
\bibliography{xampl-zh.bib}
\end{document}

目前的效果:DES MARAIS D J, STRAUSS H, SUMMONS R E, et al.

想要的效果:DES MARAIS D. J., STRAUSS H., SUMMONS R. E., et al.

zepinglee commented 1 year ago

https://github.com/zepinglee/gbt7714-bibtex-style/blob/d730cf93a7cac207fded09a385a3e930cc4b9bdd/gbt7714-2005-numerical.bst#L593

这里改成 "{vv~}{ll}{ f.}"

sikouhjw commented 1 year ago

解决了,谢谢