Questions tagged [natbib]

{natbib} is a package for bibliographies and citations. It is especially designed for the author-year type citation styles that are common in the natural and social sciences.

Filter by
Sorted by
Tagged with
0
votes
0answers
27 views

Having problem with the numbering of references

I have a problem with my bibliography. I made a poster document but only the first reference got numbered and the rest did not. \documentclass[20pt,a0paper, margin=0mm, colspace=5mm,...
0
votes
1answer
28 views

Force Truncate Author List in Citation for long list of authors

I am writing an research article using elsarticle. It uses natbib with a custom bst file for citation. I could not modify it in a way so that in citation, it would truncate the authors list with et~al....
1
vote
1answer
33 views

Incorrect citation call-out when citing two pieces with same author and same year with one '\cite' instruction

What should I do when citing two references together in text from the same author and year? At present, the citation year of the second piece changes into 0. Example: \cite{Brown2018a, Brown2018b} ...
0
votes
1answer
21 views

Newline in bst file

I'm using natbib like so: \usepackage[numbers,square,sort&compress]{natbib} and using the plainnat bibliography: \bibliographystyle{plainnat} I have the following citation in my bibliography: ...
0
votes
0answers
20 views

How to use URL citation with normal serial number in BibTeX using natbib? [on hold]

.tex file: \documentclass[twoside]{article} \usepackage{ecj,palatino,epsfig,latexsym} \usepackage[numbers]{natbib} \usepackage{hyperref} \begin{document} I hereby cite \citep{RN16}. \...
1
vote
1answer
30 views

Cite Master's Thesis using natbib

I'm currently writing my Bachelor's thesis and I want to cite a Master's thesis. I have some issues and I'm really new to Latex why I do not know how to help myself. As you always want a code example, ...
5
votes
1answer
4k views

Issue with biblatex: bibhang already defined

I am trying to convert my document from bibtex to biblatex to use some of the new features there. I get this error: ! LaTeX Error: Command \bibhang already defined. I assume that this is caused by ...
1
vote
1answer
22 views

'et al' not inserted after first author in case of multiple articles by the same authors in the same year (apacite + natbib)

I am using apacite with the natbibapa option and I encountered some interesting behaviour regarding the use of et al. The MWE below shows that normally, 'firstauthor et al' is used in citiation call-...
3
votes
1answer
748 views

In \bibliographystyle{alpha}, can I sort references by the first author's last name instead of by the marker?

I'm creating a bibliography using \bibliographystyle{alpha}. Consider the following three references. [Gab72] Peter Gabriel... [GJ09] Paul G. Goerss and John F. Jardine... [GR92] Peter ...
0
votes
0answers
41 views

Sort References in order in LaTeX [closed]

I am new to overleaf and LaTeX. I have written an extended abstract, my references on the references page is in order, however in my actual abstract it shows like 1, 4, 3, 10, 2 and i want it to show ...
0
votes
0answers
28 views

Ordered bibliography style thrown off by figure list in the table of contents [closed]

I'm using a template provided by my university to write my dissertation that creates a list of figures in the table of contents using the caption of the figure. I am referencing using: \usepackage[...
1
vote
2answers
573 views

Using natbib on LyX

I have a LyX (version 2.2.3) project that uses a .bib file (created using JabRef), in my project I can make citations of all the files included in my .bib file, but when I try to make a PDF preview ...
1
vote
1answer
59 views

Undefined control sequence when using citet and citep

I have issues with the commands citet and citep. The error undefined control sequence appears. As I looked up some solutions for this error, someone suggested that natbib is not installed. ...
197
votes
13answers
284k views

Package natbib Error: Bibliography not compatible with author-year citations

I have a basic tex file and a bibliography which is exported from Mendeley However, when I want to cite in the author-year style, I get the error: Package natbib Error: Bibliography not compatible ...
4
votes
1answer
397 views

Regex replacement for biblatex/biber to eliminate the warning “month not integer…”

I am using biblatex with biber from TL2018 for my PhD thesis. Due to various reasons, I am forced to use Mendeley for citation managements and cannot switch to another tool now. Mendeley is capable of ...
0
votes
1answer
18 views

Spacing in front of citation (natbib, super)

I am using \usepackage[super]{natbib} for my citations. When using that, the horizontal spacing in front of and after the citation are different. How do I increase the spacing in front of that ...
16
votes
3answers
25k views

Citation error in using BibTeX “Paragraph ended before \@citex was complete”

I am getting an error when I use BibTeX bibliography. I used \usepackage{natbib} and \usepackage{cite} when I compile the file, I get the error Paragraph ended before \@citex was complete and part ...
5
votes
1answer
6k views

How to change the font of URL in the bibliography [duplicate]

When using the natbib package the URLs are printed and formatted in the bibliography in a different font from the rest of the document which looks nasty i.e. monospace Typewriter. I am having ...
2
votes
1answer
48 views

Removing comma if exactly two authors from *.bst file (natbib) in AIAA paper template

I'm using natbib with a custom .bst file for a conference paper. Unfortunately, the .bst file results in a comma separating the authors names when there are only two authors, and I need to remove this ...
0
votes
0answers
26 views

SIAM bibtex style with author year

I am trying to produce a bibliography style like this: For more info check SIAM Style Manual, section 15.1 on page 88). The journal's default bst file (download link) only produces numbered style, ...
1
vote
1answer
46 views

Citation Alias within Full Citation

I have a reference in one of my papers which I cite several times. So I abbreviate it after full citation the first time round and then I use the abbreviated version of the citation in rest of the ...
0
votes
0answers
12 views

Removal of parenthesis around years from the citations in text [duplicate]

I have an Elsevier article to submit and I've been given a Latex file. It has the following code \documentclass[preprint,12pt]{elsarticle} \usepackage{lineno} \usepackage{amsmath} \usepackage{amsthm}...
2
votes
1answer
30 views

Last name in bibliography, online latex

I found a bunch of threads with similar problems, but I didn't manage to solve mine, because slightly different. I would like to have the bibliography shown as: Doniger, W.. Splitting the ...
0
votes
0answers
44 views

My references have an indent after the 7th natbib item

As to be seen in the picture there is an indent because I use natbib. If I use ordinary bib instead I do not get this, but then I am not able to use citet(). \documentclass{article} \linespread{1.5} \...
2
votes
1answer
47 views

No space in etal

I am using natbib for bibliography with the following configuration. \usepackage[authoryear]{natbib} \bibliographystyle{authordate3} \setcitestyle{authoryear, aysep{" "}} But, somehow during ...
0
votes
1answer
60 views

How can i make both the chapter name and the book-title name appear when citing a book using the Vancouver style in latex?

@BOOK{Khalil2002, title = {Gain-Scheduling}, publisher = {Prentice Hall, Inc.}, year = {2002}, author = {Khalil, H. K}, booktitle = {Nonlinear Systems}, } %The title of the book ...
2
votes
2answers
526 views

inproceedings booktitle does not appear

I am using a latex template provided by a publisher's website (wileyNJD-AMA). The problem I am facing is that the conference's book title does not appear at all. I am using the following referencing ...
2
votes
1answer
228 views

Apalike but sort by last name of first author and year

I would like to use the natbib package in bibtex with the bibliographystyle apalike with a specific type of author-year ordering in the bibliography. I want items to generally be sorted/ordered ...
1
vote
1answer
35 views

How to change color to black with \citep

Edited Version I am working on the template (MastersDoctoralThesis) downloaded from here I searched a lot here for a solution to my problem but couldn't find, please be patient with me. \...
0
votes
0answers
35 views

Using apacite but not getting apa citations

im trying to get apa citations to work with my current latex project using apacite and natbib. Its not working however since this is what i currently get when i use \cite:. I am using a template ...
9
votes
3answers
27k views

How can I get capital Angstrom symbol to appear in bibliography (using .bib file and natbib)?

I have search all around but cannot seem to find the solution for getting a capital angstrom symbol (an "A" with a small circle above it) to appear in the bibliography of my dissertation. Instead, it ...
0
votes
0answers
30 views

Change Natbib into Bibtex, including ibid.-style

I'm new here. My problem is, that I'm using natbib but I need an ibid. function. Natbib does not provide something similar, therefore I must change to bibtex. I have two bibliographies. Now i wrote ...
0
votes
0answers
18 views

Solving natbib problem for XeLaTeX [duplicate]

Problem with referencing when natbib is used (XeLaTex) Thank you for your time. I am using a template from my institute to write my thesis. When I run the document, it compiles alright but fails to ...
0
votes
0answers
47 views

Error: Paragraph ended before \@citex was complete

I know that this is a natbib error but I dont know how to solve it. I did not use the package \usepackage{cite} neither is an } missing. \documentclass[12pt, a4paper, titlepage, bibtotoc, liststotoc,...
2
votes
1answer
158 views

URLs extend past page margins

I'm new to LaTeX and have a desire to learn as I'm completing a PhD and have been told LaTeX is a great platform for writing scientific documents. So, I have written a short plain English piece in ...
4
votes
1answer
236 views

Natbib ‘numbers’ option breaks capitalization of “von” component of name

I'm currently working on my thesis and I am trying to cite a Dutch author. Some Dutch surnames have a "von" component (e.g., van, van der, de) which should be capitalized if and only if the first name ...
19
votes
2answers
21k views

How can I include e.g., in citep

When I reference some work, currently I get something like (Jimmy and Tan, 2003). I want an updated \citep where I can use (e.g., Jimmy and Tan, 2003). I should be able to call either the earlier ...
0
votes
0answers
25 views

Capital letters are not capital in the entries titles in `natbib`

I use IEEEtranN for a bibliography style in my thesis. This is the output I get for one reference. This happens even after using the solution in Subscripts and capital letters surpressed in ...
2
votes
1answer
10k views

citing an online database

I have to cite a dataset from World Bank. What I write is the following: \usepackage{natbib} \begin{document} ..., Data from \cite{WB2014}. \bibliographystyle{apa} \bibliography{mybib} \end{document} ...
1
vote
2answers
35 views

Colouring citep/citet/citeauthor differently and based on environment

I'm writing my thesis report in which citations inserted through citep en citet are blue, and the output of the citeauthor-command is the regular text color. I've achieved this using a combination of ...
3
votes
1answer
4k views

natbib does not show the year

I'm using natbib and plainnat as the bibliography style. \documentclass[a4paper,12pt]{report} \usepackage[T1]{fontenc} \usepackage[round]{natbib} \usepackage[spanish]{babel} \usepackage[utf8]{...
1
vote
1answer
32 views

How to change 'et al.' into something like 'and others' for a single in-text citation only (apacite + natbib)?

I am using apacite with the natbibapa option, and for some individual in-text citations with 5+ authors I'd like to have the option to chance the citation into a phrase like this: Author and ...
1
vote
2answers
33 views

If I redefine \citep, then \citep[prefix][postfix]{citation} does not work

I have refined \citep so that the colour of the hyperlink turns "Teal": \let\oldcitep=\citep \def\citep#1{\hypersetup{citecolor=Teal}\oldcitep{#1}} %changes colour of citep link to Teal. NB: I have ...
1
vote
1answer
21 views

authorindex+natbib producing incorrect page numbers

I am using natbib and authorindex. The authorindex manual, section 7.2.3, indicates that there is a conflict between the two packages and suggests a fix that involves creating a natbib.cfg file. When ...
0
votes
2answers
77 views

Changing the directory that BibTeX searches in for .bst files

In a prvious question (How to change 'et al' to italic font in citation call-outs, with 'agsm' bibliography style), the answer by Mico tells us to place the modified .bst file in the "directory that's ...
1
vote
1answer
17 views

Two authoryear-style citation call-outs with text in between

I am using natbib to format my references. I know how to add text to citations using \citep[e.g.][](Darwin_origin_1859) But now I would like to have say something like this: some more text (Darwin, ...
1
vote
1answer
77 views

Double Custom Backref-Text whilst Using natbib or natbibapa with apacite

When I use natbibapa with apacite and insert backrefs, the custom text in the backref doubles as in this picture. Any ideas, how to solve the problem? Thanks! Here’s a MWE: \documentclass[11pt,...
1
vote
1answer
33 views

Forcing a bibliography link with very long file name to stay within column width

The image above is for a reference in double-column IEEEtran class. One potential solution is mentioned in Forcing linebreak in bibliography with natbib, but this works when there are no single ...
5
votes
2answers
8k views

How can I implement a comprehensive apa-style citation and bibliography

I am really new to LaTeX and I need a comprehensive solution for my Thesis I have this problem since two days and I couldn't find any solution in any other post. I work with BibDesk on Mac And I ...
0
votes
0answers
31 views

Break URL failing with escaped % sign in bibliography

I am using the following lines in my preamble to force long URLs in the bibliography to be broken, this is working mostly successfully however it doesn't seem to be working on an entry where I have ...