A custom authoryear citation in numeric a bibliography is not working Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)Switching between numeric and authoryear in NatbibDisplaying only the starting page of a page range in bibliographiesBibliography details (volume, page numbers) not printedHow can i change the position of the year in the bibliographycustomize Bibtex citation and bibliographyBibliography styleChanging natbib style from authoryear to numbered for a small sectionauthoryear not working when using elsarticle template or own original tex fileBibTeX doesn't workGetting the citation style rightManaging customized citation style in biblatex numeric-comp

What is the chair depicted in Cesare Maccari's 1889 painting "Cicerone denuncia Catilina"?

Is it dangerous to install hacking tools on my private linux machine?

Why is it faster to reheat something than it is to cook it?

White walkers, cemeteries and wights

Nose gear failure in single prop aircraft: belly landing or nose-gear up landing?

Should a wizard buy fine inks every time he want to copy spells into his spellbook?

Why complex landing gears are used instead of simple,reliability and light weight muscle wire or shape memory alloys?

Why do early math courses focus on the cross sections of a cone and not on other 3D objects?

Co-worker has annoying ringtone

Why is a lens darker than other ones when applying the same settings?

Project Euler #1 in C++

How can I save and copy a screenhot at the same time?

Why weren't discrete x86 CPUs ever used in game hardware?

NERDTreeMenu Remapping

Can two people see the same photon?

As a dual citizen, my US passport will expire one day after traveling to the US. Will this work?

Is openssl rand command cryptographically secure?

How can I prevent/balance waiting and turtling as a response to cooldown mechanics

Why is the change of basis formula counter-intuitive? [See details]

Mounting TV on a weird wall that has some material between the drywall and stud

Can you force honesty by using the Speak with Dead and Zone of Truth spells together?

"klopfte jemand" or "jemand klopfte"?

Does the Mueller report show a conspiracy between Russia and the Trump Campaign?

What would you call this weird metallic apparatus that allows you to lift people?



A custom authoryear citation in numeric a bibliography is not working



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)Switching between numeric and authoryear in NatbibDisplaying only the starting page of a page range in bibliographiesBibliography details (volume, page numbers) not printedHow can i change the position of the year in the bibliographycustomize Bibtex citation and bibliographyBibliography styleChanging natbib style from authoryear to numbered for a small sectionauthoryear not working when using elsarticle template or own original tex fileBibTeX doesn't workGetting the citation style rightManaging customized citation style in biblatex numeric-comp










0















I am using natbib package with IEEE citation style. The citation is mainly numeric but I would also like to mention author, year, and reference number (because the style is actually numeric with only one bibliography). For this, I use the following command



newcommandciteauyear[1]%
citeauthor#1~[citeyear#1] [Ref. citenum#1]


Which is a modified version of the answer in Switching between numeric and authoryear in Natbib. The command above works well with plainnat bibliography style but provides unidentified author and year when used with IEEEtran



E



beginfilecontents*sample.bib
@articlealdaoudeyeh2016,
title=Photovoltaic-battery scheme to enhance PV array characteristics in partial shading conditions,
author=Aldaoudeyeh, Al-Motasem I,
journal=IET Renewable Power Generation,
volume=10,
number=1,
pages=108--115,
year=2016,
publisher=IET

@ARTICLEwu2017,
title=Assessing Impact of Renewable Energy Integration on System Strength Using Site-Dependent Short Circuit Ratio,
author=Wu, Di and Li, Gangan and Javadi, Milad and Malyscheff, Alexander M and Hong, Mingguo and Jiang, John Ning,
journal=IEEE Transactions on Sustainable Energy,
year=2017,
publisher=IEEE

@articlewu2019,
title=A method to identify weak points of interconnection of renewable energy resources,
author=Wu, Di and Aldaoudeyeh, Al Motasem and Javadi, Milad and Ma, Feng and Tan, Jin and Jiang, John N and others,
journal=International Journal of Electrical Power & Energy Systems,
volume=110,
pages=72--82,
year=2019,
publisher=Elsevier

endfilecontents*

documentclass[]book

usepackage[x11names, svgnames]xcolor


usepackage[square, nonamebreak, sort&compress, comma, numbers]natbib % For IEEE

newcommandciteauyear[1]%
citeauthor#1~[citeyear#1] [Ref. citenum#1]

usepackagehyperref
hypersetupcitecolor=SlateBlue2, citebordercolor=SlateBlue2,
linkbordercolor=DodgerBlue3, linkcolor=DodgerBlue3, urlcolor=Blue1, colorlinks=true


begindocument

citeauyearwu2017, citealdaoudeyeh2016,wu2019,wu2017

bibliographystyleIEEEtran
bibliographysample

enddocument








share


























    0















    I am using natbib package with IEEE citation style. The citation is mainly numeric but I would also like to mention author, year, and reference number (because the style is actually numeric with only one bibliography). For this, I use the following command



    newcommandciteauyear[1]%
    citeauthor#1~[citeyear#1] [Ref. citenum#1]


    Which is a modified version of the answer in Switching between numeric and authoryear in Natbib. The command above works well with plainnat bibliography style but provides unidentified author and year when used with IEEEtran



    E



    beginfilecontents*sample.bib
    @articlealdaoudeyeh2016,
    title=Photovoltaic-battery scheme to enhance PV array characteristics in partial shading conditions,
    author=Aldaoudeyeh, Al-Motasem I,
    journal=IET Renewable Power Generation,
    volume=10,
    number=1,
    pages=108--115,
    year=2016,
    publisher=IET

    @ARTICLEwu2017,
    title=Assessing Impact of Renewable Energy Integration on System Strength Using Site-Dependent Short Circuit Ratio,
    author=Wu, Di and Li, Gangan and Javadi, Milad and Malyscheff, Alexander M and Hong, Mingguo and Jiang, John Ning,
    journal=IEEE Transactions on Sustainable Energy,
    year=2017,
    publisher=IEEE

    @articlewu2019,
    title=A method to identify weak points of interconnection of renewable energy resources,
    author=Wu, Di and Aldaoudeyeh, Al Motasem and Javadi, Milad and Ma, Feng and Tan, Jin and Jiang, John N and others,
    journal=International Journal of Electrical Power & Energy Systems,
    volume=110,
    pages=72--82,
    year=2019,
    publisher=Elsevier

    endfilecontents*

    documentclass[]book

    usepackage[x11names, svgnames]xcolor


    usepackage[square, nonamebreak, sort&compress, comma, numbers]natbib % For IEEE

    newcommandciteauyear[1]%
    citeauthor#1~[citeyear#1] [Ref. citenum#1]

    usepackagehyperref
    hypersetupcitecolor=SlateBlue2, citebordercolor=SlateBlue2,
    linkbordercolor=DodgerBlue3, linkcolor=DodgerBlue3, urlcolor=Blue1, colorlinks=true


    begindocument

    citeauyearwu2017, citealdaoudeyeh2016,wu2019,wu2017

    bibliographystyleIEEEtran
    bibliographysample

    enddocument








    share
























      0












      0








      0








      I am using natbib package with IEEE citation style. The citation is mainly numeric but I would also like to mention author, year, and reference number (because the style is actually numeric with only one bibliography). For this, I use the following command



      newcommandciteauyear[1]%
      citeauthor#1~[citeyear#1] [Ref. citenum#1]


      Which is a modified version of the answer in Switching between numeric and authoryear in Natbib. The command above works well with plainnat bibliography style but provides unidentified author and year when used with IEEEtran



      E



      beginfilecontents*sample.bib
      @articlealdaoudeyeh2016,
      title=Photovoltaic-battery scheme to enhance PV array characteristics in partial shading conditions,
      author=Aldaoudeyeh, Al-Motasem I,
      journal=IET Renewable Power Generation,
      volume=10,
      number=1,
      pages=108--115,
      year=2016,
      publisher=IET

      @ARTICLEwu2017,
      title=Assessing Impact of Renewable Energy Integration on System Strength Using Site-Dependent Short Circuit Ratio,
      author=Wu, Di and Li, Gangan and Javadi, Milad and Malyscheff, Alexander M and Hong, Mingguo and Jiang, John Ning,
      journal=IEEE Transactions on Sustainable Energy,
      year=2017,
      publisher=IEEE

      @articlewu2019,
      title=A method to identify weak points of interconnection of renewable energy resources,
      author=Wu, Di and Aldaoudeyeh, Al Motasem and Javadi, Milad and Ma, Feng and Tan, Jin and Jiang, John N and others,
      journal=International Journal of Electrical Power & Energy Systems,
      volume=110,
      pages=72--82,
      year=2019,
      publisher=Elsevier

      endfilecontents*

      documentclass[]book

      usepackage[x11names, svgnames]xcolor


      usepackage[square, nonamebreak, sort&compress, comma, numbers]natbib % For IEEE

      newcommandciteauyear[1]%
      citeauthor#1~[citeyear#1] [Ref. citenum#1]

      usepackagehyperref
      hypersetupcitecolor=SlateBlue2, citebordercolor=SlateBlue2,
      linkbordercolor=DodgerBlue3, linkcolor=DodgerBlue3, urlcolor=Blue1, colorlinks=true


      begindocument

      citeauyearwu2017, citealdaoudeyeh2016,wu2019,wu2017

      bibliographystyleIEEEtran
      bibliographysample

      enddocument








      share














      I am using natbib package with IEEE citation style. The citation is mainly numeric but I would also like to mention author, year, and reference number (because the style is actually numeric with only one bibliography). For this, I use the following command



      newcommandciteauyear[1]%
      citeauthor#1~[citeyear#1] [Ref. citenum#1]


      Which is a modified version of the answer in Switching between numeric and authoryear in Natbib. The command above works well with plainnat bibliography style but provides unidentified author and year when used with IEEEtran



      E



      beginfilecontents*sample.bib
      @articlealdaoudeyeh2016,
      title=Photovoltaic-battery scheme to enhance PV array characteristics in partial shading conditions,
      author=Aldaoudeyeh, Al-Motasem I,
      journal=IET Renewable Power Generation,
      volume=10,
      number=1,
      pages=108--115,
      year=2016,
      publisher=IET

      @ARTICLEwu2017,
      title=Assessing Impact of Renewable Energy Integration on System Strength Using Site-Dependent Short Circuit Ratio,
      author=Wu, Di and Li, Gangan and Javadi, Milad and Malyscheff, Alexander M and Hong, Mingguo and Jiang, John Ning,
      journal=IEEE Transactions on Sustainable Energy,
      year=2017,
      publisher=IEEE

      @articlewu2019,
      title=A method to identify weak points of interconnection of renewable energy resources,
      author=Wu, Di and Aldaoudeyeh, Al Motasem and Javadi, Milad and Ma, Feng and Tan, Jin and Jiang, John N and others,
      journal=International Journal of Electrical Power & Energy Systems,
      volume=110,
      pages=72--82,
      year=2019,
      publisher=Elsevier

      endfilecontents*

      documentclass[]book

      usepackage[x11names, svgnames]xcolor


      usepackage[square, nonamebreak, sort&compress, comma, numbers]natbib % For IEEE

      newcommandciteauyear[1]%
      citeauthor#1~[citeyear#1] [Ref. citenum#1]

      usepackagehyperref
      hypersetupcitecolor=SlateBlue2, citebordercolor=SlateBlue2,
      linkbordercolor=DodgerBlue3, linkcolor=DodgerBlue3, urlcolor=Blue1, colorlinks=true


      begindocument

      citeauyearwu2017, citealdaoudeyeh2016,wu2019,wu2017

      bibliographystyleIEEEtran
      bibliographysample

      enddocument






      bibliographies natbib ieeetran





      share












      share










      share



      share










      asked 3 mins ago









      Al-Motasem AldaoudeyehAl-Motasem Aldaoudeyeh

      1,884414




      1,884414




















          0






          active

          oldest

          votes












          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',
          autoActivateHeartbeat: false,
          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%2f485837%2fa-custom-authoryear-citation-in-numeric-a-bibliography-is-not-working%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















          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.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f485837%2fa-custom-authoryear-citation-in-numeric-a-bibliography-is-not-working%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

          Isabella Eugénie Boyer Biographie | Références | Menu de navigationmodifiermodifier le codeComparator to Compute the Relative Value of a U.S. Dollar Amount – 1774 to Present.

          Lioubotyn Sommaire Géographie | Histoire | Population | Notes et références | Liens externes | Menu de navigationlubotin.kharkov.uamodifier« Recensements et estimations de la population depuis 1897 »« Office des statistiques d'Ukraine : population au 1er janvier 2010, 2011 et 2012 »« Office des statistiques d'Ukraine : population au 1er janvier 2011, 2012 et 2013 »Informations officiellesCartes topographiquesCarte routièrem

          Mpande kaSenzangakhona Biographie | Références | Menu de navigationmodifierMpande kaSenzangakhonavoir la liste des auteursm