# Tag Info

2

If you don't have to absolutely use the natbib-package, I would recommend a rather painless switch to biblatex (with natbib=true). moewe is absolutely right here, this change will make your life so much easier. There are a couple of things which have to be changed, like the removal of the small caps for names in French (see the comment in my MWE) and a ...

0

As discussed in the comments, this is extremely tricky with standard BibTeX, because the citation data is only available and usable if the entry in question is added to the bibliography. BibTeX has no built-in way to treat certain entries different from 'normal' citations. So you would have to bypass BibTeX and obtain the citation data via other means, but ...

5

natbib does not really have the list of authors of your citation available in machine-readable form in citations. So a command that lets you typeset a particular author of your citation is a bit tricky to implement. So I suggest you just type the name manually. If you want to be able to link it, the following should help you \documentclass{article} \...

0

(too long for a comment, hence posted as an answer) I can observe at least eight [8!!] differences between the output produced by apalike and your desired output. And this list includes only entries of type @article; other entry types will likely produce further discrepancies between apalike's output and your desired output. apalike renders names as Cras, J....

0

This can be solved by using the closely related AER argument of the AEA document class \documentclass[AER]{AEA} %%% change here \usepackage{times} ... \bibliographystyle{aea} %% change here \bibliography{mini} \end{document}

1

The easiest way is to use the rsc package to set up the controls: the option you need is usedoi. \documentclass{article} \usepackage[T1]{fontenc} \usepackage[usedoi]{rsc} % Loads natbib \setcitestyle{sort&compress,numbers,super,square} \begin{document} \cite{Fridman.2012,Baylet.2012} \bibliography{\jobname} \bibliographystyle{angew} \end{document} It ...

1

You can add the option --exclude-textcmd=textcite to force latexdiff to treat the \textcite command correctly (from latexdiff v1.3.2 this behaviour will be the default if biblatex package is used)

2

Maybe you have a look at this minimal example \documentclass[12pt]{article} \usepackage[a4paper]{geometry} \usepackage{natbib} \usepackage{filecontents} \begin{filecontents}{\jobname.bib} @book{Gnus, author = {David A. Zoo}, title = {Gnats of the world}, publisher = {Epic}, Year = {2018}, } @book{Gnats, author = {David A. ...

0

Try this: \usepackage{natbib} \setcitestyle{square} \renewcommand\bibnumfmt[1]{[#1] }

1

Every \cite command writes a cite request of the form \citation{<key_1>,...,<key_n>} to the .aux file. So if you want to find out how often an entry was cited, you can redefine \citation to calculate that data for you. Just grab the list loop through it and increase a counter associated to every key you find. Here is a expl3 solution that also ...

1

As you've discovered, the apa bibliography style is designed to sort entries alphabetically by authors' surnames. To achieve your formatting objective, I suggest you proceed as follows: Find the file apa.bst in your TeX distribution. Make a copy of this file and call the copy, say, apa-nosort.bst. (Do not edit an original file of the TeX distribution ...

2

If your bibliography is generated manually with thebibliography and \bibitems you absolutely cannot use biblatex. biblatex uses a completely different systems to produce citations and bibliography entries that is not compatible with thebibliography and \bibitems. For you this is not of much interest, but it may be nice to know that when you use BibTeX with \...

Top 50 recent answers are included