Coder Social home page Coder Social logo

Comments (5)

haocheng6 avatar haocheng6 commented on May 20, 2024 1

@hushidong 谢谢,我用这个选项成功解决了我的问题。我之前看到了gbnamefmt这个选项的设置,没想到各个选项之间还有这么细微的差异,建议在文档里稍加一个具体的例子,会更清晰一些。

from biblatex-gb7714-2015.

hushidong avatar hushidong commented on May 20, 2024

才看到,姓名格式的问题,有比较方便的处理方法,就是使用gbnamefmt选项,比如:

\documentclass{article}
\usepackage{ctex}
\usepackage{hyperref}
\usepackage[backend=biber,style=gb7714-2015,gbnamefmt=familyahead]{biblatex}


\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@article{Xue2017DeepLoco,
  title={DeepLoco: dynamic locomotion skills using hierarchical deep reinforcement learning},
  author={Xue, Bin Peng and Berseth, Glen and Yin, Kangkang and Panne, Michiel Van De},
  journal={Acm Transactions on Graphics},
  volume={36},
  number={4},
  pages={1-13},
  year={2017},
}

@article{Zhang2015Towards,
  title={Towards Vision-Based Deep Reinforcement Learning for Robotic Motion Control},
  author={Zhang, Fang Yi and Leitner, Juergen and Milford, Michael and Upcroft, Ben and Corke, Peter},
  journal={Computer Science},
  year={2015},
}

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

\begin{document}

\nocite{*}

\printbibliography

\end{document} 

结果为:
图片

这是比较快速的方法,你可以仔细看一下biblatex-gb7714-2015.PDF文档,如果选项不能满足要求,那么只能去修改处理姓名的宏了。比如:

\newbibmacro*{name:gbuppercase}

等,可以根据需要改成你要求的格式。

from biblatex-gb7714-2015.

hushidong avatar hushidong commented on May 20, 2024

这个选项的几个情况是最常用的几个情况,西文的3个,中文要求的2个。

在选项的说明中的确可以给出示例来,感谢建议。

from biblatex-gb7714-2015.

haocheng6 avatar haocheng6 commented on May 20, 2024

我再做一点补充。一开始没注意到加上gbnamefmt=familyahead之后,作者姓后面也有一个逗号,比如Turing, A.,与我想要的效果不一致。参考了这里以后,在preamble里加上了\renewcommand*{\revsdnamepunct}{}就能去除这个逗号了。

from biblatex-gb7714-2015.

hushidong avatar hushidong commented on May 20, 2024

对的,就是这样处理。

from biblatex-gb7714-2015.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.