10 votes

May thebibliography environment provide APA-style?

Without using any bibliography package or using BibTeX, the default definition of \@biblabel and \@cite are: \def\@biblabel#1{[#1]} \def\@cite#1#2{[{#1\if@tempswa , #2\fi}]} So if you merely want to ...
Alan Munn's user avatar
  • 217k
9 votes
Accepted

Biblatex: Remove 'and' before last author BUT leave it if there are only two authors

You were very much in the right direction. Indeed, if you look at the default definition of the finalnamedelim format, you'll find that it already differentiates when there are up to two from when ...
gusbrs's user avatar
  • 13.7k
9 votes
Accepted

How to order citations?

You have three options depending on what bibliography package you are or are not using. Since you mention the unsrt bibliography style, I'm assuming you're using the default citation functionality of ...
Alan Munn's user avatar
  • 217k
8 votes
Accepted

citeproc-lua for individual CSL style? Need help on setup

It seems that styles that are not built-in can be referenced by their filename without extension. So copy the file universitatsmedizin-gottingen.csl to the directory with your TeX file, and then you ...
michal.h21's user avatar
  • 50.6k
7 votes
Accepted

No comma after question mark in title of article in references

tl;dr You need to (1) use \addcomma in the macro in: – as you are already doing – and to (2) teach \addcomma not to print a comma following ?, which can be done via \DeclarePunctuationPairs{comma}{*!}....
marquinho's user avatar
  • 1,703
4 votes

Overleaf: Copying project (no changes) => References no longer shown

New Overleaf projects (either created from scratch or when you clone a project) now use TeX Live 2020 (as of the time of writing). Some of the packages you use may have been updated in TL2020 to fix ...
Paul Gessler's user avatar
  • 29.6k
4 votes
Accepted

How to show the contents of the abstract key of .bib file on the reference section using biblatex?

biblatex-apa does not display the abstract field by default, but it shows the annotation field for extended comments at the end of an entry. We can redefine the macro that prints annotation to also ...
moewe's user avatar
  • 175k
4 votes
Accepted

IEEEtranN how to list only one author in text body

The comments in IEEEtranN.bst say %% IEEEtranN.bst %% BibTeX Bibliography Style file %% Natbib version of IEEEtran.bst %% *** Not for normal IEEE work *** Hence, \bibliographystyle{IEEEtranN} should ...
moewe's user avatar
  • 175k
4 votes

May thebibliography environment provide APA-style?

In principle thebibliography is little more than an enumerate list with some additional syntactic sugar. \bibitem works pretty much like \item in enumerate with the addition that its mandatory ...
moewe's user avatar
  • 175k
4 votes

RevTeX 4.2 : How to hide article title in bibliography citation

revtex4-2 provides two class options longbibliography and nolongbibliography (also found in most versions of revtex4-1), which cause inclusion and suppression of titles among other things (with e.g. ...
Dai Bowen's user avatar
  • 6,052
4 votes
Accepted

Bold authors in bibliography

There are now more elegant ways to get bold author names with \DeclareNameWrapperFormat (biblatex prints "family=, familyi=" etc. in bibliography), I suggest you use that instead of the ...
moewe's user avatar
  • 175k
4 votes

How can I use a CSL format in Overleaf or convert it to a BST?

Update 2022-09-30: I've added narrative citation commands \textcite and \citet in c23c66f and I'll publish it to CTAN soon. I'm the author of the citeproc-lua engine citation-style-language package ...
Zeping Lee's user avatar
3 votes
Accepted

have only the year of the citation colored

It took some time to find the right call to \NAT@hyper@ to patch. \begin{filecontents*}{\jobname.bib} @book{author1, title={Book Title}, author={Author}, year={2014}, publisher={Publisher} } \...
egreg's user avatar
  • 1.1m
3 votes
Accepted

small problem in cite for bibliography

The standard @misc bibliography type does not provide a publisher field. Use organization instead: \documentclass{article} \usepackage{biblatex} \addbibresource{\jobname.bib} \begin{filecontents}[...
Ivan's user avatar
  • 4,358
3 votes
Accepted

Onehalfspace bibliography title with singlespace bibliography entries

We can include both the font size and the line spacing change in \bibfont. Unfortunately setspace's \singlespacing also issues a \vskip, which causes problems in \bibfont when it is used to measure ...
moewe's user avatar
  • 175k
3 votes
Accepted

natbib apalike bold author names in references

I suggest you proceed as follows: Find the file apalike.bst in your TeX distribution and create a copy called, say, apalike-bf.bst. Open the file apalike-bf.bst in a text editor. The program you use ...
Mico's user avatar
  • 503k
3 votes
Accepted

Output bibliography as a standard itemized list in bib latex

This isn't really possible natively due to the way biblatex works. The .bbl file contains just LaTeX-readable entry data and not a printable bibliography (as it does with BibTeX). The entries are only ...
moewe's user avatar
  • 175k
3 votes

Citation with hyperref

This is a non-standard style request, so not something that is supported out of the box. You can adjust these things by diving in to the internals of latex and its modifications by hyperref. As ...
Andrew Swann's user avatar
  • 95.5k
3 votes

How to edit .bst file `format.vol.num.pages output`?

format.vol.num.pages is a function defined elsewhere in the .bst file. A function called format.vol does not exist. For the desired "<volume> () " order you may want to define FUNCTION ...
moewe's user avatar
  • 175k
3 votes
Accepted

How to colorize specific entries in the bibliography based on author annotation?

In order to find out if an entry should be highlighted we need to loop through all of its authors to see if any one of them has the required annotation. Since it would be pretty wasteful to rerun the ...
moewe's user avatar
  • 175k
3 votes

"Package biblatex Error: Incompatible package 'cite'." appears, though I don't use 'cite' package

wlscirep.cls is not a class that is available on CTAN, but it can be obtained from Overleaf (https://www.overleaf.com/latex/templates/template-for-submissions-to-scientific-reports/xyrztqvdccns) if ...
moewe's user avatar
  • 175k
3 votes

Which citation call-out style (e.g. Harvard, APA) does plainnat use?

The plainnat bibliography style, when used with the natbib citation management package, can create three [3!] separate citation call-out styles: If natbib is loaded with the option numbers, plainnat ...
Mico's user avatar
  • 503k
3 votes
Accepted

biblatex: Change "ed." to "eds." if more than one editor

The patch to byeditor+others only contains an explicit \bibstring{editor} and does not check if there are multiple editors. This could be changed by copying the relevant bits from the editor+others ...
moewe's user avatar
  • 175k
2 votes
Accepted

Certain fields missing while citing PhD Thesis in BibTex

The plain bibliography style is so very old that it actually predates the creation of the Internet, the WWW, and URLs. As such, plain doesn't know the url field name; fields with unknown names are ...
Mico's user avatar
  • 503k
2 votes
Accepted

Change plain.bst authors to first+et al

This answer is patterned after this answer to an older query entitled BibTeX: How to reduce long author lists to “Firstauthor et al.”?. I suggest you proceed as follows. Find the file plain.bst in ...
Mico's user avatar
  • 503k
2 votes

Print Bibliography with Biblatex: Remove Initials and Conjunction "and" Between Authors

To remove the initials (for standard styles): \DeclareNameAlias{sortname}{labelname} To remove "and" between authors: \DeclareDelimFormat{finalnamedelim}{\addcomma\space} A better solution,...
Ivan's user avatar
  • 4,358
2 votes
Accepted

Natbib+style alpha: getting all authors' initials

There is no natbib option to do this. You can only influence the alphabetic label produced by alpha if you modify (a copy of) alpha.bst directly. (Note that alpha isn't even a natbib style and that ...
moewe's user avatar
  • 175k
2 votes

Personalized bibliography

Here is a start. The most interesting bit was probably adding support for \bibhang to a numeric bibliography environment for the added indent in the second line of an entry. The rest was fairly basic ...
moewe's user avatar
  • 175k
2 votes
Accepted

BibLaTeX style customization

Something like this will get you started. I used the ext-alphabetic from the biblatex-ext bundle as it simplifies some changes. \documentclass{article} \begin{filecontents}[overwrite]{\jobname.bib} @...
David Purton's user avatar
  • 25.8k
2 votes
Accepted

Citation style with initials only, as in [A99,BC35,DEFGH67]

This can be solved by creating a label template as described in §4.5.5 of the biblatex documentation: \documentclass{article} \usepackage[style=alphabetic,minalphanames=3]{biblatex} \...
Alan Munn's user avatar
  • 217k

Only top scored, non community-wiki answers of a minimum length are eligible