\documentclass[12pt,a4paper,oneside]{report} \usepackage[colon]{natbib} \begin{document}  \citep{most2014a} \citep{most2014b}  \bibliographystyle{agsm} \bibliography{ref}  \end{document}   this code will give me and the bibiliography to be   Is there a way I can make the in-text citation to be (Mostaghimi et al., 2014a) and (Mostaghimi et al., 2014b)?  The ref.bib includes,  @article{most2014a,   title={A control volume finite element method for adaptive mesh simulation of flow in heap leaching},   author={Mostaghimi, Peyman and Tollit, Brendan S and Neethling, Stephen J and Gorman, Gerard J and Pain, Christopher C},   journal={Journal of Engineering Mathematics},   volume={87},   number={1},   pages={111--121},   year={2014},   publisher={Springer} }  @Article{most2014b,   author    = {Mostaghimi, Peyman and Ilankoon, I. M. Saman K. and Neethling, Stephen J.},   title     = {{Use of mesh adaptivity in simulation of flow in packed beds - A case study}},   journal   = {Minerals Engineering},   year      = {2014},   volume    = {63},   pages     = {157--163},   issn      = {08926875},   isbn      = {0892-6875},   keywords  = {Computational modelling,Control volume finite element methods,Mesh adaptivity,Multiphase flow,Packed beds},   publisher = {Elsevier Ltd}, }   I want to use natbib/agsm (because I want to get the bibliography in the sttached style) and to make the uniquenames go away. But cannot find a way to do it. Appreciate if anyone can help.
65518
With BibTeX and the harvard/AGSM style, some references (from authors who have multiple papers per year) aren't abbreviated to "et al.", with the addition of a, b, et cetera. For example, with the code attached below, I get:    Only one paper is abbreviated to et al., the others not. Any idea why this is happening? The in-text references should be Basu et al. (2008a) and Basu et al. (2008b), which I believe AGSM should automatically do?  \documentclass[10pt,a4paper]{article} \usepackage{natbib}  \begin{document}  \cite{basu2008a, basu2008b, beare2006}  \bibliographystyle{agsm}  \bibliography{references.bib}  \end{document}   With BibTeX file (references.bib):  @string{jam="J. Appl. Meteor."} @string{ag="Acta Geop."} @string{blm="Bound.-Layer Meteor."}  @article{basu2008a,   author={Basu, S. and Vinuesa, J.-F. and Swift, A.},   title={Dynamic {LES} modeling of a diurnal cycle},   journal=jam,   year={2008},   volume={47},   number={4},   pages={1156-1174} }  @article{basu2008b,   author={Basu, S. and Holtslag, A. A. M. and Wiel, B. J. H. and Moene, A. F. and Steeneveld, G. J.},   title={An inconvenient "truth" about using sensible heat flux as a surface boundary condition in models under stably stratified regimes},   year={2008},   journal=ag,   volume={56},   number={1},   pages={88-99} }  @ARTICLE{beare2006,  author={Beare,R. J. and Macvean,M. K. and Holtslag,A. A. M. and Cuxart,J. and Esau,I. and Golaz,J. -. and Jimenez,M. A. and Khairoutdinov,M. and Kosovic,B. and Lewellen,D. and Lund,T. S. and Lundquist,J. K. and McCabe,A. and Moene,A. F. and Noh,Y. and Raasch,S. and Sullivan,P.},  title={An intercomparison of large-eddy simulations of the stable boundary layer},  journal=blm,  year={2006},  volume={118},  number={2},  pages={247-272} }
108305
I have the same problem as presented in this question :   Unfortunatly, the person who asked the question found the solution without publishing the answer. Who can specify the elements to add in the MWE:  tufte-mwe.tex :  \documentclass{tufte-book}  \usepackage{babelbib} \begin{document}  A citation\cite[p.50]{Tufte2001}.  \bibliography{tufte-mwe}  \bibliographystyle{plain-fr}  \end{document}    tufte-mwe.bib:  @BOOK{Tufte2001, author = {Edward R. Tufte}, title = {The Visual Display of Quantitative Information}, publisher = {Graphics Press}, year = {2001}, address = {Cheshire, Connecticut}, isbn = {0-9613921-4-2} }   as this code produces bad result as follow, instead of specifying the page of the reference in the sidenote :
24625
I have trouble getting the form of citations I need. Once I cite I want to see authors' names and not numbers. The unconventional thing is that I have to use the documentclass elsarticle (This is editor's request), which always produce numbers. Here is it what I have  \documentclass{elsarticle} \usepackage{natbib} \usepackage[colorlinks=true,linkcolor=black, citecolor=blue, urlcolor=blue]{hyperref}  \begin{document}  \bibliographystyle{plainnat} \bibliography{references}  \end{document}   Can someone help me on this?  Here's an expanded MWE.  \documentclass{elsarticle} \usepackage{amssymb} \usepackage{graphicx} \usepackage{amsmath, mathtools} \usepackage{natbib} \usepackage[colorlinks=true,linkcolor=black, citecolor=blue, urlcolor=blue]{hyperref} \usepackage{changes} \usepackage{appendix} \usepackage{filecontents} \usepackage{multirow} \usepackage{booktabs}    \begin{document}  \section{The Model}  The main environment modifies that of \cite{Diamond1965}, into two main dimensions  \newpage  \bibliographystyle{elsarticle-harv} \bibliography{references}    \end{document}
28238
I am using  to write my thesis. The template uses Natlib for references, whereas I really need Biblatex.   When I simply try to change \usepackage[natbib] for biblatex I get the error message  This is BibTeX, Version 0.99d (TeX Live 2016/Debian) Capacity: max_strings=100000, hash_size=100000, hash_prime=85009 The top-level auxiliary file: aagot-1-report.aux The style file: acm.bst Illegal, another \bibstyle command---line 80 of file aagot-1-report.aux  : \bibstyle  :          {acm}  I'm skipping whatever remains of this command Database file #1: Mendeleytry.bib.bib Warning--I didn't find a database entry for "" You've used 14 entries,code here   The solution  \usepackage[backend=bibtex, natbib=true, style=numeric]{biblatex}   didn't work.  Another possible solution was said to be to recompile from scratch to delete the .aux file, but that resulted in  /usr/share/texlive/texmf-dist/tex/latex/biblatex/biblatex.sty:462: LaTeX Error:  Command \bibhang already defined.            Or name \end... illegal, see p.192 of the manual.  See the LaTeX manual or LaTeX Companion for explanation. Type  H &lt;return&gt;  for immediate help.  ...                                                l.462 \newlength{\bibhang}   I have tried to use this "marco" to override the \requirePackage settings, but that also didn't work and resulted into  LaTeX Error: Two \documentclass or \documentstyle comm ands.  See the LaTeX manual or LaTeX Companion for explanation. Type  H &lt;return&gt;  for immediate help.  ...                                                l.45 \documentclass[whitelogo]{                            tudelft-report}    Where I can't seem to delete any of the document classes without getting the functionality of the tudelft-package and the biblatex citing (or in fact getting it to work at all!)  (no line number): [0] Config.pm:343&gt; INFO - This is Biber 2.5 [0] Config.pm:346&gt; INFO - Logfile is 'aagot-1-report.blg' [62] biber:290&gt; INFO - === Tue Apr 24, 2018, 22:24:06 [246] Utils.pm:165&gt; ERROR - aagot-1-report.bcf is malformed, last biblatex  run probably failed. Deleted aagot-1-report.bbl [246] Biber.pm:113&gt; INFO - ERRORS: 1   Is there any way I can still make this template work with Biblatex? Natlib seems to deeply rooted in the file and I don't know how to change it/access the settings/the ".sty"-file. Can I use the example documentclass combined with biblatex (instead of the standard natbib) without losing the great parts of the rest of the document class?  Thanks very much :)
74946
I am a LaTeX really entusiastic newbie. Thus I am writing all my reports and articles using this wonderful tool. Unfortunately the editors of scientific review do not all have the same entusiasm concerning LaTeX. I plan to submit my future paper in the ICES Journal of Science which (fortunately or not) has a kind of LaTeX template available online () and guidelines available here ().   My main problem is concerning bibliography. In all my writing I use biblatex with in the preamble:  \usepackage[style=authoryear, firstinits=true, uniquename=false, uniquelist=false, maxcitenames=2, maxbibnames=7, backend=biber]{biblatex}.   In the text I call citation using \autocite, \textcite, \citeauthor and \citeyear.   As requested by the journal I tried to convert my bibliography into a \bibitem list. I went to check the .bbl file as advised online but the structure seemed really complicated and nowhere \bibitem was mentionned. I found online some method that I managed to make work in my case by creating a dummy .tex file:  \documentclass{article} \begin{document} \nocite{*} sdryfj \bibliography{BIB.testbib.bib} \bibliographystyle{plain} \cite{NumR} \end{document}   I run some compilation and got a .bbl file with \bibitems list. I thought I was seeing the end of it and paste this list in thebibliography environment at the end of my document.   Unfortunately all my citations references (\autocite etc..) seems to not be compatible with this different way of bibliography input. In addition, all the references are printed cited or not....  I was wondering if there is a way to reach the same results directly from biber biblatex so I would not have to modify my document too much...  Thank you for your help,  Xochitl C.  PS: I also tried to redefine commands like this but it did not work:  \renewcommand{\autocite}{\cite}  \renewcommand{\citeauthor}{\cite}  \renewcommand{\citeyear}{\cite}  \renewcommand{\textcite}{\cite}
36288
I'd like to change the separation between multiple article/book authors from '&amp;' to 'and' in natbib.  eg:  @book{lee2009global,   title={{Global Marketing Management}},   author={Lee, K. and Carter, S.},   isbn={9780199239429},   lccn={2009005337},   comment={http://books.google.com/books?id=ZBkPOQAACAAJ},   year={2009},   publisher={Oxford University Press} }   then:  \usepackage[longnamesfirst]{natbib}  \begin{document} \bibpunct{(}{)}{;}{a}{,}{,}  \citep{lee2009global}   produces:   (Lee &amp; Carter, 2009)   I'd like it to produce:   (Lee and Carter, 2009)
13710
This morning when I opened my email I was very excited to find a Google Scholar update telling me of two new citations from two different sets of authors each to a different paper of mine. As usual, I immediately checked the papers to find out if the authors were praising or criticising my work (or perhaps they found a mistake in one of my papers!). To my surprise, in one case the authors wrote a misleading statement which resulted from stretching quite a lot some of my conclusions. In the other case, the authors simply made an incorrect claim (details below for the curious). It's not the first time this happens to me - I even got one citation completely out of context once. How to react to this kind of situation?    Details for the curious:   In the first case, the authors cite a paper of mine where I compare two different methods to calculate elastic properties of materials. My main conclusion is that one of the methods converges much faster than the other one with the size of the basis set - in other words, it's computationally much cheaper. For calculations with usual basis sets the first method is much more accurate than the second one, with disagreements between the two in the order of 10% or even 20%. They claim that I show that both methods agree within a 1% of each other, which is misleading at best, because for the second method to agree within 1% of the first one one needs to do a very expensive calculation. That is one of the main points of the paper and it got completely overlooked by the authors. In the second case, the citation is plainly wrong. The authors cite my paper as an experimental work on InGaN semiconductors while it actually is purely computational.
54512
I use "ieeetran" and the following code to generate the reference (without URL information)  \bibliographystyle{IEEEtran} \bibliography{IEEEfull,paper01Const}   however, the result is  "Y. Qian, “Design and Control of a Personal Assistant Robot,” Ph.D. dissertation."  And the generated .bib files is   @phdthesis{qian_design_2013,   location = {{France}},   title = {Design and {{Control}} of a {{Personal Assistant Robot}}},   url = {https://tel.archives-ouvertes.fr/tel-00864692/document},   abstract = {The purpose of this thesis is to design, model and control of a personal assistant robot used for domestic tasks. In order to make the robot's design more efficient, a virtual simulation system is built using dynamic simulation software. ...},   pagetotal = {214},   timestamp = {2017-07-06T15:44:04Z},   langid = {english},   institution = {{Ecole Centrale de Lille}},   author = {Qian, Yang},   urldate = {2016-02-25},   date = {2013-07-04},   file = {Full Text PDF:C\:\\Users\\Yan WEI\\AppData\\Roaming\\Zotero\\Zotero\\Profiles\\jf7ifsnc.default\\zotero\\storage\\35UHZBC4\\Qian - 2013 - Design and Control of a Personal Assistant Robot.pdf:application/pdf} }   Wherever, the complete reference is   "Yang Qian. Design and Control of a Personal Assistant Robot. Other. Ecole Centrale de Lille, 2013. English."  How can I solve this problem? Thank you very much.
94854
I have the following reference:  @MISC{EX2012,   author = {{S}ingle {A}uthor {O}rganization},   year = {2012},   title = {Example} }   A citation for this is breaking after "Author", but extending beyond the margin, as shown in the following example layout in the PDF:  Demo text demo text demo to margin Demo text which cites it (Single Author Organization, 2012) and flows over the margin.   How can I solve this? I am using natbib and citing with \citep{EX2012}.
39945
Here's my MWE (this is an actual bibliography item, the draft option is there to show the overfull hbox):  \documentclass[draft]{article}  \usepackage{filecontents} \begin{filecontents*}{x.bib} @BOOK{LV12,   title = {Algebraic operads},   publisher = {Springer},   year = {2012},   author = {Loday, Jean-Louis and Vallette, Bruno},   volume = {346},   pages = {xxiv+634},   series = {Grundlehren der Mathematischen Wissenschaften [Fundamental Principles     of Mathematical Sciences]},   address = {Heidelberg},   doi = {10.1007/978-3-642-30362-3},   isbn = {978-3-642-30361-6}, } \end{filecontents*}  \usepackage{biblatex} \addbibresource{x.bib}  \begin{document} \nocite{*} \printbibliography \end{document}   This produces:     Overfull \hbox (15.12822pt too wide) in paragraph at lines 27--27   I'm generally aware of how to fix overfull hbox from text I wrote myself, but not when the text is produced by a package. What is the best course of action here? Altering the entry is not an option.
81641
I'm trying to compile my bib references with natbib and \bibliographystyle{nature}. To my uttermost surprise BibTeX reports that some of the entries have an empty title, while IMHO the title is not empty, e.g., on the following bibliographic entries:  @INPROCEEDINGS{WuWangZhaoMa, author={Wu Kehe and Wang Zhuo and Zhao Xing and Ma Gang}, booktitle={Advanced Computer Theory and Engineering (ICACTE), 2010 3rd International Conference on}, title={Design and implementation of the monitoring system for EJB applications based on interceptors}, year={2010}, month=aug, volume={4}, pages={V4-5--V4-9}, ISSN={2154-7491}, location = {Chengdu, China} }   and  @inproceedings{DBLP:conf/sigdoc/TilleyH03,   author    = {Scott R. Tilley and                Shihong Huang},   title     = "A qualitative assessment of the efficacy of {UML} diagrams                as a form of graphical documentation in aiding program understanding",   booktitle = {SIGDOC},   year      = {2003},   pages     = {184--191},   ee        = {http://doi.acm.org/10.1145/944868.944908},   crossref  = {DBLP:conf/sigdoc/2003},   bibsource = {DBLP, http://dblp.uni-trier.de} } @proceedings{DBLP:conf/sigdoc/2003,   editor    = {Susan B. Jones and                David G. Novick},   title     = {Proceedings of the 21st annual international conference                on Documentation, SIGDOC 2003, San Francisco, CA, USA, October                12-15, 2003},   booktitle = {SIGDOC},   publisher = {ACM},   year      = {2003},   isbn      = {1-58113-696-X},   bibsource = {DBLP, http://dblp.uni-trier.de} }
15176
I have several entries in my list of references that include of the order of 40 authors. Is there a way to make bibtex automatically reduce these lists to e.g. the first name + "et al."?  I don't want to edit the BibTeX entries manually and I cannot use biblatex. If at all possible I would also make as little changes as possible to the bibliography style.  There are similar questions, but none of those had a concise answer:       natbib e.g. seems to change only the reference within the text, but not the entry in the bibliography.  EDIT: I am using \bibliographystyle{unsrt} as style definition.
25067
natbib and hyperref create by default two links to the bibentry in the reference section|chapter of the document:   \begin{filecontents}{\jobname.bib} @book{author08, title = {{A Title}}, publisher = {Alpha}, year = {2008}, author = {Author, A}, address = {London} } @book{buthor90, title = {{B Title}}, publisher = {Bravo}, year = {1990}, editor = {Buthor, B}, address = {New York} } \end{filecontents}  \documentclass{article}  \usepackage{natbib} \usepackage{hyperref} \hypersetup{colorlinks,citecolor=red}  \begin{document}  \noindent citet: \citet{author08}, \citet[see][p. 20]{author08} \\ citep: \citep{author08}, \citep[see][p. 20]{author08}  \bibliographystyle{plainnat} \bibliography{\jobname}  \end{document}     In order to avoid two links to the bibliography (one for the [author] and one for the year [year], respectively), I took  to an older question and added it to my preamble.  \usepackage{etoolbox} \makeatletter  \pretocmd{\NAT@citex}{%   \let\NAT@hyper@\NAT@hyper@citex   \def\NAT@postnote{#2}%   \setcounter{NAT@total@cites}{0}%   \setcounter{NAT@count@cites}{0}%   \forcsvlist{\stepcounter{NAT@total@cites}\@gobble}{#3}}{}{} \newcounter{NAT@total@cites} \newcounter{NAT@count@cites} \def\NAT@postnote{}  % include postnote and \citet closing bracket in hyperlink \def\NAT@hyper@citex#1{%   \stepcounter{NAT@count@cites}%   \hyper@natlinkstart{\@citeb\@extra@b@citeb}#1%   \ifnumequal{\value{NAT@count@cites}}{\value{NAT@total@cites}}     {\ifNAT@swa\else\if*\NAT@postnote*\else%      \NAT@cmt\NAT@postnote\global\def\NAT@postnote{}\fi\fi}{}%   \ifNAT@swa\else\if\relax\NAT@date\relax   \else\NAT@@close\global\let\NAT@nm\@empty\fi\fi% avoid compact citations   \hyper@natlinkend} \renewcommand\hyper@natlinkbreak[2]{#1}  % avoid extraneous postnotes, closing brackets \patchcmd{\NAT@citex}   {\ifNAT@swa\else\if*#2*\else\NAT@cmt#2\fi    \if\relax\NAT@date\relax\else\NAT@@close\fi\fi}{}{}{} \patchcmd{\NAT@citex}   {\if\relax\NAT@date\relax\NAT@def@citea\else\NAT@def@citea@close\fi}   {\if\relax\NAT@date\relax\NAT@def@citea\else\NAT@def@citea@space\fi}{}{}  \makeatother     Which gets me almost where I want to be, but leaves me with two issues I would like to be solved:   while \citet includes pre- and postnotes in the link, \citep doesn't. How can \citep be changed to include postnotes? is there a way to color the brackets and commas that are typeset in black in the unmodified first example also in black in the modified second example without removing them from the link?
113970
Problem  I want to cite references in text as well as quote the entire entry plus have a reference list at the end. For this I use hyperref, bibentry and natbib. I've taken as inspiration . The only difference is that I want to include a reference list as well.  The problem is that the hyperlink points to the \bibentry rather than the entry in the reference.  MWE  \documentclass{article} \usepackage{natbib} \bibliographystyle{abbrvnat}  \usepackage{bibentry} \makeatletter\let\saved@bibitem\@bibitem\makeatother \usepackage{hyperref} \makeatletter\let\@bibitem\saved@bibitem\makeatother  \begin{document} \nobibliography* Here is a citation \citet{elvis} %\newpage %uncomment this line and the line below eliminates error but hyperlink still points to \bibentry  Here is the full entry \bibentry{elvis} %\newpage %uncomment this line   \bibliography{bibliography} \end{document}   The bib file, bibliography.bib  @Book{elvis,     author = "Elvis Presley",     title = "Turn Me One More Time",     publisher = "Jail House Books",     year = 1963, }   Warning  The above code gives a warning:  destination with the same identifier (name{cite.elvis}) has been already used, duplicate ignored   Solution?   Interestingly, adding \newpages to split up the \citet and \bibentry onto separate pages eliminates the warning but the hyperlinking is still wrong. Removing natbib but again hyperlinking does not work.   Does anybody have any ideas how I can solve this problem?
104466
I use Jabref to manage my citations. Each entry has it own bibkey. There are some instance where I would like to cite 2 or more articles but I want them consolidated in one reference since there all talk about the same thing. For instance in my text; &quot;... previous work involving MEAM[10]....&quot; and in the references [10] should look like this:  [10] M. I. Baskes, Phys. Rev. Lett. 59, 2666 (1987); M. I. Baskes, J. S. Nelson, and A. F. Wright, Phys. Rev. B 40, 6085 (1989); M. I. Baskes, Phys. Rev. B 46, 2727 (1992); M. I. Baskes, Mater. Chem. Phys. 50, 152 (1997).  I do not want this: &quot;... previous work involving MEAM[10-13]...&quot;  where in the reference each article is cited as :  [10] M. I. Baskes, Phys. Rev. Lett. 59, 2666 (1987).  [11] M. I. Baskes, J. S. Nelson, and A. F. Wright, Phys. Rev. B 40, 6085 (1989).  [12] M. I. Baskes, Phys. Rev. B 46, 2727 (1992). [13] M. I. Baskes, Mater. Chem. Phys. 50, 152 (1997).
45394
When building my bibliography using the    \bibliographystyle{plainnat}    The output looks like     [88] G. R. Ruetsch and M. R. Maxey. Small-scale features of vorticity   and pas- sive scalar fields in homogeneous isotropic turbulence.   Physics of Fluids A: Fluid Dynamics, 3(6):1587, 1991. ISSN 08998213.   doi: 10.1063/1.857938. URL   .   I'd like to omit of some of the fields, such as URL and ISSN.  Is this possible? If so, what do I need to do?  (Note: My BibTex was made using Mendley)
14227
What do I have to write in the preamble to bring the bibliography to make parentheses around the volume number of an article? I'm using the authoryear style.  Here is an example:  \begin{filecontents}{filename.bib} @article{Billio.2012, author = {Billio, Monica and Getmansky, Mila and Lo, Andrew W. and Pelizzon, Loriana}, year = {2012}, title = {Econometric measures of connectedness and systemic risk in the finance and insurance sectors}, pages = {535--559}, volume = {104}, number = {3}, journal = {Journal of Financial Economics} } \end{filecontents}  \documentclass{article} \usepackage[hyperref=true,             maxcitenames=4,             isbn=false,             dashed=false,             style=authoryear,             backend=bibtex,             firstinits=true]{biblatex} \bibliography{filename.bib} \begin{document} \cite{Billio.2012} \newpage \renewcommand\refname{List of Literature} \printbibliography[heading=bibintoc] \end{document}   Any help is appreciated.