As of May 31, 2023, we have updated our Code of Conduct.

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
1 vote
1 answer
21 views

natbib package not showing all bibliography entries in agsm style

Have been using natbib with plainnat style and had all entries show but wanted to switch it to Harvard formatting (agsm style). However, once I've changed it some entries don't show up any more. For ...
4 votes
3 answers
29k views

Package natbib Warning: Undefined Citation Warning

After hours of trying to figure it out, I finally decided to ask for help. I checked various related answers but I am new to Natbib and couldn't figure out the problem if you might please be able to ...
0 votes
0 answers
34 views

Inconsistent author name appearing for some authors while writing thesis

I am using "Harvard" style while writing my thesis. While citing papers of more than 3 authors, in some cases lastNameAuthor1, LastNameAuthor2, LastNameAuthor3, LastnameAuthor4, and so on.. ...
0 votes
1 answer
51 views

Make natbib keep bibliography capitalisation as-is?

Minimum reproducible example: % main.tex \documentclass{article} \usepackage{natbib} \begin{document} Example citation: \cite{loenen2014type} \bibliographystyle{agsm} \bibliography{reference.bib} ...
0 votes
1 answer
627 views

Rstudio "Compile PDF" button not working after update from Windows 7 to 10

I use LaTex to compile documents in Rstudio, and use the 'natbib' package for bibliographies. My university upgraded all computers to Windows 10 a couple months ago. After the change, I reinstalled R (...
0 votes
0 answers
11 views

Error in .bst file "---the literal stack isn't empty for entry..."

So, I am modifying an existing .bst to have some specific Harvard-style references and so far everything seems to work except for my @incollection function (here below), for which I receive the "...
1 vote
0 answers
36 views

Compact bibliography with revtex

My goal is to make a bibliography that is compact. To give a concrete example, it could be having the title of the paper, and let's say only one or two authors displayed with their full names (the ...
1 vote
0 answers
10 views

citation to literature, natbib, \cites

How do we cite multiple literature pages in one place? For example: [1; p. 2-5, 7; p. 1-3] (Pages 2-5 of Literature 1, Pages 1-3 of Literature 7) to get the citation. It is possible to give one ...
1 vote
0 answers
29 views

\footnote within \caption [duplicate]

I'm trying to cite a caption in the footnotes but when I use bibtex and pdflatex the result does not have any footnotes. If I use the same footnotes on text it works and automatically generates the ...
0 votes
1 answer
97 views

Combining BibTeX entry with multiple parts?

I am trying to figure out how to cite this with bibtex. I originally had two separate entries for each 'part', but I want to combine them like in the image. What entry fields can I use to write both ...
0 votes
1 answer
272 views

Working with springer template and bibliography

I am aware that there are multiple questions with similar content but none seem to work for me so let me try to ask this again. I am working on a project using the Springer template. I have ...
0 votes
1 answer
114 views

Swapping the order of name initials and surnames of authors in bibliography when using apacite

I am using the [natbiba]apacite package. I have written out the commands using \renewcommand and fixed most of the cite to match journal requirements. However, I am stuck with the following final ...
37 votes
3 answers
60k 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 ...
0 votes
1 answer
34 views

See references marked with a number in the bibliography

My references section is not referencing it with a number (maybe it's because of the template configuration, I am a rookie using LaTeX). How could I change it to see it, for instance, like this: [1] ...
0 votes
1 answer
40 views

Problem with citing authors - showing (author ? )

I'm trying to cite authors in an overleaf project. I would like for it to be on this format: However, I'm getting this: Here is my overleaf code: \documentclass[pdftex,10pt,b5paper,twoside]{book} \...
0 votes
2 answers
825 views

How to list all author's names at reference section using natbib package?

I'm trying to list all the author's names (even more than 7) at the References section instead of the default "et al". I'm using a journal template which uses the natbib package. I have ...
1 vote
1 answer
85 views

How do I cite both name and year in parentheses in sn-jnl?

I want to cite the name and year of publication in parentheses in sn-jnl. However, the various options that I have tried return an index number in brackets only: \documentclass[pdflatex,sn-mathphys]{...
1 vote
1 answer
125 views

How to arrange citations numbering in order of their presence in text?

I have code like this \documentclass[12pt]{turabian-thesis} \usepackage[version=4]{mhchem} \usepackage{lipsum} \usepackage{blindtext} \usepackage{longtable} \usepackage{pdflscape} \usepackage{graphicx}...
0 votes
1 answer
91 views

Removing URLs with natbib and Mendeley in Overleaf

I'm using the Mendeley online reference manager, linked to Overleaf with bibtex. Currently my bibliography entries look like this: i.e. there are several URLs all linked together. I don't want any ...
2 votes
1 answer
50 views

modify or create cite commands like \citet{} or \citep{} that show day, month, and year in-line

I'm writing a document that cites emails, and I'm trying to use a .bib file to manage the emails that I cite. How can I modify the cite commands \citet{Smith:2023aa} or \citep{Smith:2023aa}, or how ...
1 vote
1 answer
25 views

Add Language of Source to Natbib Bibliography

As I am using the Natbib package but it does not display the language of the source. I put the language for all non-English entries like the example below. How can I make sure it displays the language ...
0 votes
1 answer
79 views

How would I set up a separate page of references at the end of the flashcard document class?

As I would like to occasionally reference certain results or more sources in my flashcards, I tried to find a way to display the reference entries in my .bib file at the end of my flashcard document ...
0 votes
0 answers
27 views

Working bibliography not showing properly

I am having a strange issue, in which the document I am writing has a completely working bibliography, with a real strange issue when displaying. For reference, I leave here what's displaying. As a ...
2 votes
1 answer
686 views

Natbib: remove comma, dots between last and first name in bibliography

I need to create a bibliography with the author name with last name followed by initial without comma and dots. MWE: \RequirePackage{filecontents} \begin{filecontents}{mybib.bib} @article{...
9 votes
2 answers
5k views

Suppress printing of only \bibentry references with natbib?

This question was basically asked before, but I think that the only answer didn't quite understand the question so I thought I'd try again. I'm writing a paper in which I need to have references show ...
1 vote
1 answer
36 views

display the repeated author's name in the bibliography using IEEE style

how to display the same author's name in the bibliography using IEEE style instead of dash/ditto (---) at the repeated author. I'm using \usepackage[numbers,compress]{natbib} and \bibliographystyle{...
11 votes
2 answers
6k views

multiple citations with individual page numbers using natbib

I am struggling to combine multiple citations with individual page numbers. I have used this natbib reference sheet, but I am stuck (with what is displayed below). It seems as I cannot combine ...
21 votes
5 answers
3k views

Non-breaking space in \citet using natbib?

When adding citations in the body of a document I'm used to write ... in some interesting paper~\cite{interesting}. So that (if I'm using numbered references) the word “paper” and the citation ...
1 vote
0 answers
54 views

References for Each Chapter for Dissertation writing in Overleaf [duplicate]

I am writing my dissertation and am following the format of this link: https://github.com/UA-ACM-Student-Chapter/uathesis. However, the author of this document has only one big reference added at the ...
2 votes
1 answer
166 views

Bibliography ordered as Author, Article title, Journal, Year, Volume, Issue, and Page, and DOI

I'm having trouble trying to adapt the structure of my bibliography. Ideally I would want to have them ordered as: Author, article title, journal, year, volume, issue, and page, and DOI. What I have ...
0 votes
2 answers
455 views

Texstudio bibliography - separate directory?

I am writing to you as I did not find a solution or answer to this question, either on this site or others. Specifically, I am having troubles when using a separate directory for the biblio on ...
2 votes
1 answer
164 views

How can I properly format for a reprint edition in line with the Author-Date Style?

I'm working on a publication for a Springer journal and using their svjour3 LaTeX macro package to format everything (click here to download), which includes a spbasic.bst file. I'm using the Author-...
4 votes
1 answer
2k views

Springer Basic Reference Style and natbib options issues

I am quite new to LaTeX but am attempting to use the Springer Nature format available here. The journal I am submitting to requires that I use sn-basic.bst and have the references in square brackets, ...
0 votes
0 answers
36 views

biblatex with natbib and hyperref packages in apa style: hyperlink does not cover the complete citation field! [duplicate]

I have the following MWE: \documentclass{article} \usepackage{fullpage} \usepackage[american]{babel} \usepackage{csquotes} \usepackage[style=apa, natbib=true, backend=biber]{biblatex} \...
4 votes
1 answer
2k views

How to show the pages where references were used in the bibliography?

Is it somehow possible to show the numbers ob those pages in the bibliography, where a certain reference was used? This could be comparable to the glossary. For example I used \cite{me2012} on pages ...
1 vote
1 answer
41 views

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

I am writing my master thesis and would like to know which citation call-out style plainnat uses. For example is it APA, Harvard, etc.? Furthermore, I would like to show the surname of the author ...
2 votes
0 answers
49 views

Bibliographic style for Journal of Cleaner Production (Elsevier)

I am trying to format the reference list of an article to be submitted to the Journal of Cleaner Production. Unfortunately, elsarticle does not seem to have the right style in it. The more close seems ...
1 vote
1 answer
308 views

How to add "Nomenclature" in "sn-article" Springer through winedt?

The problem: How to add a "Nomenclature" section for Springer journals in a 1-column format at the after abstract and before introduction? So, I googled a lot for this problem and finally ...
1 vote
0 answers
27 views

How to make natbib cite title for references without an author [closed]

I'm using revtex4-1 and need to have parenthetical references. I have some references though with no author (like Project Gutenberg, as well as a few other websites.) How do I force natbib to use the ...
0 votes
0 answers
15 views

Abbreviating in-text citation with link to the reference section and without space

How can I produce author-year citations in the format [LastNameInitials+Year] in LaTeX using the natbib package or any other package? MWE: @article{Smith_Jones_2010, author = {A. Smith and B. Jones}...
3 votes
1 answer
983 views

How to add author-year support to a .bst file?

I'm currently trying to format my references according to the DeGruyter Open Computer Science guidelines, and I've made a custom .bst file for this. However, in my paper, I use natbib's citet a bunch,...
0 votes
1 answer
3k views

DOI is not shown in the bibliography by natbib

I'm writing a document in LaTeX (in Visual Studio Code using LaTeX Workshop extension) and using natbib for bibliography. The problem is in the bibliography it doesn't show the DOI, even for \...
0 votes
1 answer
41 views

Create a bst for a small regional journal

I am working on a publication for a small regional journal to which I cannot find a pre-existing natbib bibliography style which meets their guidelines. I am not an expert LaTeX user, in fact I am ...
0 votes
1 answer
698 views

Change bibliography style in text within aastex

I want to use the aastex style for an overleaf document, but I need to change the bibliography style, such that the references are indicated in the text as this is the references [1] and in the ...
0 votes
1 answer
32 views

LyX natbib, referencing style

I can't get the right brackets in the PDF output of the LyX. The following figure shows the citation style selected and the latex preview of the citation. In the output PDF I am getting big brackets ...
1 vote
0 answers
17 views

Bibliography order does not match generated label naming for twin bib entries

I have to use the bst file provided by the university for my work which is an edited IEEEtranSN.bst. Unfortunately, the generated order of ambiguous entries (by attaching a letter) does not match the ...
0 votes
1 answer
62 views

Elsevier Template (cas-dc) Bibliography Style "model1-num-names" Broken

Trying to use the Model 1 - Numbered bibliography style of the Elsevier CAS template class does not in fact number my references. My MWE: \documentclass[a4paper]{cas-dc}% elsevier template \usepackage{...
0 votes
2 answers
339 views

Bookdown bibliography with natbib omits URL for web pages

I am creating a pdf-book using bookdown, with the citation package natbib in the apalike style. I get my citations from a .bib file created by mendeley. I create my citations like this: [@citation]. ...
0 votes
0 answers
15 views

Automatic Indexing of Citations using natbib

I'm using the natbib package with imakeidx to generate a list of citations using \citeindextrue as follows \documentclass{article} \usepackage{natbib} \usepackages{imakeidx} \makeindex \begin{...
2 votes
1 answer
86 views

Crash \@undeclaredcolor when citing a website with @misc and natbib

I am having troble when citing a website through the entry @misc with natbib, style unsrtnat. For old versions of TexLive (2012) all works fine, but for more recent ones the entry url makes the ...

1
2 3 4 5
45