A custom authoryear citation in a numeric 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

Why not send Voyager 3 and 4 following up the paths taken by Voyager 1 and 2 to re-transmit signals of later as they fly away from Earth?

Tips to organize LaTeX presentations for a semester

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

After Sam didn't return home in the end, were he and Al still friends?

How many time has Arya actually used Needle?

Simple Http Server

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

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

How can a team of shapeshifters communicate?

Resize vertical bars (absolute-value symbols)

A `coordinate` command ignored

How to change the tick of the color bar legend to black

"klopfte jemand" or "jemand klopfte"?

I can't produce songs

Found this skink in my tomato plant bucket. Is he trapped? Or could he leave if he wanted?

AppleTVs create a chatty alternate WiFi network

Does the Black Tentacles spell do damage twice at the start of turn to an already restrained creature?

Delete free apps from library

Is openssl rand command cryptographically secure?

Google .dev domain strangely redirects to https

In musical terms, what properties are varied by the human voice to produce different words / syllables?

Tannaka duality for semisimple groups

Why datecode is SO IMPORTANT to chip manufacturers?

What does it mean that physics no longer uses mechanical models to describe phenomena?



A custom authoryear citation in a numeric 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|improve this question




























    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|improve this question


























      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|improve this question
















      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|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 7 mins ago







      Al-Motasem Aldaoudeyeh

















      asked 16 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-a-numeric-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-a-numeric-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