开发者

Automatically abbreviate authors' first names in LaTeX

开发者 https://www.devze.com 2023-03-17 19:47 出处:网络
Using natbib/La开发者_开发问答tex/Bibtex, in the references section I get references with full first names like:

Using natbib/La开发者_开发问答tex/Bibtex, in the references section I get references with full first names like:

Vladimir Iosifovich Levenshtein. Binary codes capable of correcting deletions, insertions, and reversals. Technical Report 8, 1966.

I would like automatically abbreviated first names like:

V. I. Levenshtein. Binary codes capable of correcting deletions, insertions, and reversals. Technical Report 8, 1966.

If you have an idea how to do this I will be glad to hear.


Use a BibTeX style that does this. Alternatively, create your own style by modifying an existing one. You will have to change the function format.names, so that a line similar to this:

s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't :=

has f. as shown. The full first name would be shown if it is ff.


If you are using Biblatex, just add this in your preable when calling for Biblatex:

\usepackage[backend=bibtex,firstinits=true]{biblatex}
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号