Skip to main content
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
  • 221k
10 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
  • 221k
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
  • 14.3k
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
  • 51.8k
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,777
6 votes
Accepted

Resolving conflict between apalike and amsbook

As cfr has observed this is unrelated to tcolorbox The issue is that apalike is incompatible with amsbook. In particular it is not expecting that un-numbered \chapter* entries are written to the ...
David Carlisle's user avatar
5 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
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.9k
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
  • 179k
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
  • 179k
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
  • 179k
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,342
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
  • 179k
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.2m
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,408
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
  • 179k
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
  • 519k
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
  • 179k
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
  • 96.5k
3 votes
Accepted

biblatex bibliography style

The best list of 'easily available' styles is probably the biblatex topic page on CTAN https://ctan.org/topic/biblatex. It isn't a simple list of all styles with style examples, though, and you'll ...
moewe's user avatar
  • 179k
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
  • 179k
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
  • 179k
3 votes
Accepted

How to change the colon to a comma after the vol.(num.) in bib-file or .tex file?

You asked, How can I achieve this directly in the bib-file or alternatively directly in my .tex file? The answer is "neither in the bib file nor in the tex file". Since the formatting of ...
Mico's user avatar
  • 519k
3 votes
Accepted

Springer Nature American Physical Society (APS) Reference Style

If you are supposed to use the American Physical Society (APS) bib style along with the "Springer Journal" document class, give \documentclass[sn-aps]{sn-jnl} a try. If you wish to use the ...
Mico's user avatar
  • 519k
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
  • 179k
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
  • 519k
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
  • 179k
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
  • 519k
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
  • 519k
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,408

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