cannot obtain authoryear-style citation call-outs with the 'natbib' package











up vote
1
down vote

favorite












I am using natbib package and plainnat style. I need to create citation call-outs of the "Author et al. (2000)".



In preamble, I have usepackage[authoryear]{natbib}.



In the text, I use citet{ref}. This is supposed to generate "Author et al. (2000)".



The problem is that natbib refuses to show such citation; instead, it shows just (1). However, if I write citeauthor{ref} citeyearpar{ref} it's ok: "Author et al. (2000)".



What is the problem? It seems that natbib just ignores the command citet










share|improve this question
















bumped to the homepage by Community 1 hour ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.











  • 1




    Welcome to TeX.SE. It would be great if you could form your code snippets into an MWE, see tex.meta.stackexchange.com/questions/1436/welcome-to-tex-sx.
    – CampanIgnis
    Aug 4 at 15:04















up vote
1
down vote

favorite












I am using natbib package and plainnat style. I need to create citation call-outs of the "Author et al. (2000)".



In preamble, I have usepackage[authoryear]{natbib}.



In the text, I use citet{ref}. This is supposed to generate "Author et al. (2000)".



The problem is that natbib refuses to show such citation; instead, it shows just (1). However, if I write citeauthor{ref} citeyearpar{ref} it's ok: "Author et al. (2000)".



What is the problem? It seems that natbib just ignores the command citet










share|improve this question
















bumped to the homepage by Community 1 hour ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.











  • 1




    Welcome to TeX.SE. It would be great if you could form your code snippets into an MWE, see tex.meta.stackexchange.com/questions/1436/welcome-to-tex-sx.
    – CampanIgnis
    Aug 4 at 15:04













up vote
1
down vote

favorite









up vote
1
down vote

favorite











I am using natbib package and plainnat style. I need to create citation call-outs of the "Author et al. (2000)".



In preamble, I have usepackage[authoryear]{natbib}.



In the text, I use citet{ref}. This is supposed to generate "Author et al. (2000)".



The problem is that natbib refuses to show such citation; instead, it shows just (1). However, if I write citeauthor{ref} citeyearpar{ref} it's ok: "Author et al. (2000)".



What is the problem? It seems that natbib just ignores the command citet










share|improve this question















I am using natbib package and plainnat style. I need to create citation call-outs of the "Author et al. (2000)".



In preamble, I have usepackage[authoryear]{natbib}.



In the text, I use citet{ref}. This is supposed to generate "Author et al. (2000)".



The problem is that natbib refuses to show such citation; instead, it shows just (1). However, if I write citeauthor{ref} citeyearpar{ref} it's ok: "Author et al. (2000)".



What is the problem? It seems that natbib just ignores the command citet







citing natbib






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Aug 4 at 16:18









Mico

270k30367755




270k30367755










asked Aug 4 at 14:51









Yauheni

62




62





bumped to the homepage by Community 1 hour ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 1 hour ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.










  • 1




    Welcome to TeX.SE. It would be great if you could form your code snippets into an MWE, see tex.meta.stackexchange.com/questions/1436/welcome-to-tex-sx.
    – CampanIgnis
    Aug 4 at 15:04














  • 1




    Welcome to TeX.SE. It would be great if you could form your code snippets into an MWE, see tex.meta.stackexchange.com/questions/1436/welcome-to-tex-sx.
    – CampanIgnis
    Aug 4 at 15:04








1




1




Welcome to TeX.SE. It would be great if you could form your code snippets into an MWE, see tex.meta.stackexchange.com/questions/1436/welcome-to-tex-sx.
– CampanIgnis
Aug 4 at 15:04




Welcome to TeX.SE. It would be great if you could form your code snippets into an MWE, see tex.meta.stackexchange.com/questions/1436/welcome-to-tex-sx.
– CampanIgnis
Aug 4 at 15:04










1 Answer
1






active

oldest

votes

















up vote
0
down vote













(too long for a comment, hence posted as an answer)



The plainnat bibliography style, when used in conjunction with the natbib citation management package, is definitely capable of producing authoryear-style citation call-outs. Something must be going on in your code that's changing the citation call-out style from authoryear to numeric. Some, not mutually exclusive, hypotheses:




  • Do you and/or the document class you employ maybe load the natbib package more than once, with conflicting options? In particular, is the numbers option specified in any of the duplicate natbib loading operations?


  • Are there any setcitestyle instructions after the natbib package is loaded?


  • Are there any bibpunct instructions after the natbib package is loaded?


  • Is there more than one bibliographystyle instruction in the document?



A quick-and-dirty fix for re-instating authoryear-style citation call-outs would be to insert the instruction



setcitestyle{authoryear} 


immediately before begin{document}.






share|improve this answer





















  • this is what i use in the preambule
    – Yauheni
    Aug 4 at 17:26










  • newfloat{algorithm}{H}{} sloppy addtolength{topmargin}{-2cm} addtolength{oddsidemargin}{-1.5cm} addtolength{evensidemargin}{-1.5cm} setlength{textwidth}{1.20textwidth} setlength{textheight}{1.25textheight} renewcommand{baselinestretch}{1.25} fi newtheorem{defin}{Definition} newtheorem{lem}{Lemma} newtheorem{prop}{Proposition}
    – Yauheni
    Aug 4 at 17:27










  • newtheorem{observ}{Observation} newtheorem{corollary}{Corollary} newcommand{proof}{ noindent {bf Proof: }} newcommand{qed}{ hspace*{fill} rule{1ex}{1ex}
    – Yauheni
    Aug 4 at 17:27










  • newcommand{qed}{ hspace*{fill} rule{1ex}{1ex} noindent} input{tcilatex} makeatletter makeatother geometry{left=2cm,right=2cm,top=2cm}
    – Yauheni
    Aug 4 at 17:28










  • In fact insted of Borthen et al. (2017) it produces Borthen et al. (2)
    – Yauheni
    Aug 4 at 17:35











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f444594%2fcannot-obtain-authoryear-style-citation-call-outs-with-the-natbib-package%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
0
down vote













(too long for a comment, hence posted as an answer)



The plainnat bibliography style, when used in conjunction with the natbib citation management package, is definitely capable of producing authoryear-style citation call-outs. Something must be going on in your code that's changing the citation call-out style from authoryear to numeric. Some, not mutually exclusive, hypotheses:




  • Do you and/or the document class you employ maybe load the natbib package more than once, with conflicting options? In particular, is the numbers option specified in any of the duplicate natbib loading operations?


  • Are there any setcitestyle instructions after the natbib package is loaded?


  • Are there any bibpunct instructions after the natbib package is loaded?


  • Is there more than one bibliographystyle instruction in the document?



A quick-and-dirty fix for re-instating authoryear-style citation call-outs would be to insert the instruction



setcitestyle{authoryear} 


immediately before begin{document}.






share|improve this answer





















  • this is what i use in the preambule
    – Yauheni
    Aug 4 at 17:26










  • newfloat{algorithm}{H}{} sloppy addtolength{topmargin}{-2cm} addtolength{oddsidemargin}{-1.5cm} addtolength{evensidemargin}{-1.5cm} setlength{textwidth}{1.20textwidth} setlength{textheight}{1.25textheight} renewcommand{baselinestretch}{1.25} fi newtheorem{defin}{Definition} newtheorem{lem}{Lemma} newtheorem{prop}{Proposition}
    – Yauheni
    Aug 4 at 17:27










  • newtheorem{observ}{Observation} newtheorem{corollary}{Corollary} newcommand{proof}{ noindent {bf Proof: }} newcommand{qed}{ hspace*{fill} rule{1ex}{1ex}
    – Yauheni
    Aug 4 at 17:27










  • newcommand{qed}{ hspace*{fill} rule{1ex}{1ex} noindent} input{tcilatex} makeatletter makeatother geometry{left=2cm,right=2cm,top=2cm}
    – Yauheni
    Aug 4 at 17:28










  • In fact insted of Borthen et al. (2017) it produces Borthen et al. (2)
    – Yauheni
    Aug 4 at 17:35















up vote
0
down vote













(too long for a comment, hence posted as an answer)



The plainnat bibliography style, when used in conjunction with the natbib citation management package, is definitely capable of producing authoryear-style citation call-outs. Something must be going on in your code that's changing the citation call-out style from authoryear to numeric. Some, not mutually exclusive, hypotheses:




  • Do you and/or the document class you employ maybe load the natbib package more than once, with conflicting options? In particular, is the numbers option specified in any of the duplicate natbib loading operations?


  • Are there any setcitestyle instructions after the natbib package is loaded?


  • Are there any bibpunct instructions after the natbib package is loaded?


  • Is there more than one bibliographystyle instruction in the document?



A quick-and-dirty fix for re-instating authoryear-style citation call-outs would be to insert the instruction



setcitestyle{authoryear} 


immediately before begin{document}.






share|improve this answer





















  • this is what i use in the preambule
    – Yauheni
    Aug 4 at 17:26










  • newfloat{algorithm}{H}{} sloppy addtolength{topmargin}{-2cm} addtolength{oddsidemargin}{-1.5cm} addtolength{evensidemargin}{-1.5cm} setlength{textwidth}{1.20textwidth} setlength{textheight}{1.25textheight} renewcommand{baselinestretch}{1.25} fi newtheorem{defin}{Definition} newtheorem{lem}{Lemma} newtheorem{prop}{Proposition}
    – Yauheni
    Aug 4 at 17:27










  • newtheorem{observ}{Observation} newtheorem{corollary}{Corollary} newcommand{proof}{ noindent {bf Proof: }} newcommand{qed}{ hspace*{fill} rule{1ex}{1ex}
    – Yauheni
    Aug 4 at 17:27










  • newcommand{qed}{ hspace*{fill} rule{1ex}{1ex} noindent} input{tcilatex} makeatletter makeatother geometry{left=2cm,right=2cm,top=2cm}
    – Yauheni
    Aug 4 at 17:28










  • In fact insted of Borthen et al. (2017) it produces Borthen et al. (2)
    – Yauheni
    Aug 4 at 17:35













up vote
0
down vote










up vote
0
down vote









(too long for a comment, hence posted as an answer)



The plainnat bibliography style, when used in conjunction with the natbib citation management package, is definitely capable of producing authoryear-style citation call-outs. Something must be going on in your code that's changing the citation call-out style from authoryear to numeric. Some, not mutually exclusive, hypotheses:




  • Do you and/or the document class you employ maybe load the natbib package more than once, with conflicting options? In particular, is the numbers option specified in any of the duplicate natbib loading operations?


  • Are there any setcitestyle instructions after the natbib package is loaded?


  • Are there any bibpunct instructions after the natbib package is loaded?


  • Is there more than one bibliographystyle instruction in the document?



A quick-and-dirty fix for re-instating authoryear-style citation call-outs would be to insert the instruction



setcitestyle{authoryear} 


immediately before begin{document}.






share|improve this answer












(too long for a comment, hence posted as an answer)



The plainnat bibliography style, when used in conjunction with the natbib citation management package, is definitely capable of producing authoryear-style citation call-outs. Something must be going on in your code that's changing the citation call-out style from authoryear to numeric. Some, not mutually exclusive, hypotheses:




  • Do you and/or the document class you employ maybe load the natbib package more than once, with conflicting options? In particular, is the numbers option specified in any of the duplicate natbib loading operations?


  • Are there any setcitestyle instructions after the natbib package is loaded?


  • Are there any bibpunct instructions after the natbib package is loaded?


  • Is there more than one bibliographystyle instruction in the document?



A quick-and-dirty fix for re-instating authoryear-style citation call-outs would be to insert the instruction



setcitestyle{authoryear} 


immediately before begin{document}.







share|improve this answer












share|improve this answer



share|improve this answer










answered Aug 4 at 16:12









Mico

270k30367755




270k30367755












  • this is what i use in the preambule
    – Yauheni
    Aug 4 at 17:26










  • newfloat{algorithm}{H}{} sloppy addtolength{topmargin}{-2cm} addtolength{oddsidemargin}{-1.5cm} addtolength{evensidemargin}{-1.5cm} setlength{textwidth}{1.20textwidth} setlength{textheight}{1.25textheight} renewcommand{baselinestretch}{1.25} fi newtheorem{defin}{Definition} newtheorem{lem}{Lemma} newtheorem{prop}{Proposition}
    – Yauheni
    Aug 4 at 17:27










  • newtheorem{observ}{Observation} newtheorem{corollary}{Corollary} newcommand{proof}{ noindent {bf Proof: }} newcommand{qed}{ hspace*{fill} rule{1ex}{1ex}
    – Yauheni
    Aug 4 at 17:27










  • newcommand{qed}{ hspace*{fill} rule{1ex}{1ex} noindent} input{tcilatex} makeatletter makeatother geometry{left=2cm,right=2cm,top=2cm}
    – Yauheni
    Aug 4 at 17:28










  • In fact insted of Borthen et al. (2017) it produces Borthen et al. (2)
    – Yauheni
    Aug 4 at 17:35


















  • this is what i use in the preambule
    – Yauheni
    Aug 4 at 17:26










  • newfloat{algorithm}{H}{} sloppy addtolength{topmargin}{-2cm} addtolength{oddsidemargin}{-1.5cm} addtolength{evensidemargin}{-1.5cm} setlength{textwidth}{1.20textwidth} setlength{textheight}{1.25textheight} renewcommand{baselinestretch}{1.25} fi newtheorem{defin}{Definition} newtheorem{lem}{Lemma} newtheorem{prop}{Proposition}
    – Yauheni
    Aug 4 at 17:27










  • newtheorem{observ}{Observation} newtheorem{corollary}{Corollary} newcommand{proof}{ noindent {bf Proof: }} newcommand{qed}{ hspace*{fill} rule{1ex}{1ex}
    – Yauheni
    Aug 4 at 17:27










  • newcommand{qed}{ hspace*{fill} rule{1ex}{1ex} noindent} input{tcilatex} makeatletter makeatother geometry{left=2cm,right=2cm,top=2cm}
    – Yauheni
    Aug 4 at 17:28










  • In fact insted of Borthen et al. (2017) it produces Borthen et al. (2)
    – Yauheni
    Aug 4 at 17:35
















this is what i use in the preambule
– Yauheni
Aug 4 at 17:26




this is what i use in the preambule
– Yauheni
Aug 4 at 17:26












newfloat{algorithm}{H}{} sloppy addtolength{topmargin}{-2cm} addtolength{oddsidemargin}{-1.5cm} addtolength{evensidemargin}{-1.5cm} setlength{textwidth}{1.20textwidth} setlength{textheight}{1.25textheight} renewcommand{baselinestretch}{1.25} fi newtheorem{defin}{Definition} newtheorem{lem}{Lemma} newtheorem{prop}{Proposition}
– Yauheni
Aug 4 at 17:27




newfloat{algorithm}{H}{} sloppy addtolength{topmargin}{-2cm} addtolength{oddsidemargin}{-1.5cm} addtolength{evensidemargin}{-1.5cm} setlength{textwidth}{1.20textwidth} setlength{textheight}{1.25textheight} renewcommand{baselinestretch}{1.25} fi newtheorem{defin}{Definition} newtheorem{lem}{Lemma} newtheorem{prop}{Proposition}
– Yauheni
Aug 4 at 17:27












newtheorem{observ}{Observation} newtheorem{corollary}{Corollary} newcommand{proof}{ noindent {bf Proof: }} newcommand{qed}{ hspace*{fill} rule{1ex}{1ex}
– Yauheni
Aug 4 at 17:27




newtheorem{observ}{Observation} newtheorem{corollary}{Corollary} newcommand{proof}{ noindent {bf Proof: }} newcommand{qed}{ hspace*{fill} rule{1ex}{1ex}
– Yauheni
Aug 4 at 17:27












newcommand{qed}{ hspace*{fill} rule{1ex}{1ex} noindent} input{tcilatex} makeatletter makeatother geometry{left=2cm,right=2cm,top=2cm}
– Yauheni
Aug 4 at 17:28




newcommand{qed}{ hspace*{fill} rule{1ex}{1ex} noindent} input{tcilatex} makeatletter makeatother geometry{left=2cm,right=2cm,top=2cm}
– Yauheni
Aug 4 at 17:28












In fact insted of Borthen et al. (2017) it produces Borthen et al. (2)
– Yauheni
Aug 4 at 17:35




In fact insted of Borthen et al. (2017) it produces Borthen et al. (2)
– Yauheni
Aug 4 at 17:35


















draft saved

draft discarded




















































Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f444594%2fcannot-obtain-authoryear-style-citation-call-outs-with-the-natbib-package%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Lallio

Unable to find Lightning Node

Futebolista