Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Automatically abbreviate authors' first names in LaTeX

Tags:

Using natbib/Latex/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.

like image 570
TTT Avatar asked Jul 07 '11 14:07

TTT


People also ask

How do you shorten a reference in LaTeX?

If you really want to shorten the citation callouts, you should switch from your current bibliography style -- likely alpha -- to a numeric citation style. Change this to either \bibliographystyle{plainnat} or \bibliographystyle{unsrtnat} , and rerun LaTeX, BibTeX, and LaTeX twice more to fully propagate the changes.

How do you cite multiple authors in LaTeX?

If you want to cite multiple references within the same brackets, you just need to separate the labels with a comma. In addition, you'll need to load the cite package which will automatically check if your labels are part of an ordered list and reduce the list by replacing all the “in-betweens” with a hyphen.

How do you force et al in BibTeX?

Just go to your bibtex file and in the authors tag, keep the first name, delete the rest and write "and others", compile and you will be done. Welcome to TeX. SX!

How do you reference a name in LaTeX?

In LaTeX you can easily reference a section by using \label{} next to a section and then \ref{} to create the reference. However, the reference only includes the number of the section, or the page with \pageref{} .


2 Answers

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.

like image 57
Svante Avatar answered Sep 28 '22 07:09

Svante


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

\usepackage[backend=bibtex,firstinits=true]{biblatex} 
like image 37
Caspar Avatar answered Sep 28 '22 06:09

Caspar