A custom authoryear citation in a numeric bibliography is not working Announcing the arrival...
Does the Black Tentacles spell do damage twice at the start of turn to an already restrained creature?
Mounting TV on a weird wall that has some material between the drywall and stud
Flight departed from the gate 5 min before scheduled departure time. Refund options
How to write capital alpha?
Are the endpoints of the domain of a function counted as critical points?
Resize vertical bars (absolute-value symbols)
Why do early math courses focus on the cross sections of a cone and not on other 3D objects?
What does it mean that physics no longer uses mechanical models to describe phenomena?
What are the main differences between Stargate SG-1 cuts?
Why is the change of basis formula counter-intuitive? [See details]
White walkers, cemeteries and wights
How can I save and copy a screenhot at the same time?
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?
NERDTreeMenu Remapping
Is there hard evidence that the grant peer review system performs significantly better than random?
Should a wizard buy fine inks every time he want to copy spells into his spellbook?
Why is std::move not [[nodiscard]] in C++20?
Where is the Next Backup Size entry on iOS 12?
Would color changing eyes affect vision?
Why are vacuum tubes still used in amateur radios?
A proverb that is used to imply that you have unexpectedly faced a big problem
How many time has Arya actually used Needle?
Putting class ranking in CV, but against dept guidelines
How much damage would a cupful of neutron star matter do to the Earth?
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
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
newcommand{citeauyear}[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
begin{filecontents*}{sample.bib}
@article{aldaoudeyeh2016,
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}
}
@ARTICLE{wu2017,
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}
}
@article{wu2019,
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}
}
end{filecontents*}
documentclass[]{book}
usepackage[x11names, svgnames]{xcolor}
usepackage[square, nonamebreak, sort&compress, comma, numbers]{natbib} % For IEEE
newcommand{citeauyear}[1]{%
citeauthor{#1}~[citeyear{#1}] [Ref. citenum{#1}]}
usepackage{hyperref}
hypersetup{citecolor=SlateBlue2, citebordercolor=SlateBlue2,
linkbordercolor=DodgerBlue3, linkcolor=DodgerBlue3, urlcolor=Blue1, colorlinks=true}
begin{document}
citeauyear{wu2017}, cite{aldaoudeyeh2016,wu2019,wu2017}
bibliographystyle{IEEEtran}
bibliography{sample}
end{document}
bibliographies natbib ieeetran
add a comment |
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
newcommand{citeauyear}[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
begin{filecontents*}{sample.bib}
@article{aldaoudeyeh2016,
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}
}
@ARTICLE{wu2017,
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}
}
@article{wu2019,
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}
}
end{filecontents*}
documentclass[]{book}
usepackage[x11names, svgnames]{xcolor}
usepackage[square, nonamebreak, sort&compress, comma, numbers]{natbib} % For IEEE
newcommand{citeauyear}[1]{%
citeauthor{#1}~[citeyear{#1}] [Ref. citenum{#1}]}
usepackage{hyperref}
hypersetup{citecolor=SlateBlue2, citebordercolor=SlateBlue2,
linkbordercolor=DodgerBlue3, linkcolor=DodgerBlue3, urlcolor=Blue1, colorlinks=true}
begin{document}
citeauyear{wu2017}, cite{aldaoudeyeh2016,wu2019,wu2017}
bibliographystyle{IEEEtran}
bibliography{sample}
end{document}
bibliographies natbib ieeetran
add a comment |
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
newcommand{citeauyear}[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
begin{filecontents*}{sample.bib}
@article{aldaoudeyeh2016,
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}
}
@ARTICLE{wu2017,
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}
}
@article{wu2019,
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}
}
end{filecontents*}
documentclass[]{book}
usepackage[x11names, svgnames]{xcolor}
usepackage[square, nonamebreak, sort&compress, comma, numbers]{natbib} % For IEEE
newcommand{citeauyear}[1]{%
citeauthor{#1}~[citeyear{#1}] [Ref. citenum{#1}]}
usepackage{hyperref}
hypersetup{citecolor=SlateBlue2, citebordercolor=SlateBlue2,
linkbordercolor=DodgerBlue3, linkcolor=DodgerBlue3, urlcolor=Blue1, colorlinks=true}
begin{document}
citeauyear{wu2017}, cite{aldaoudeyeh2016,wu2019,wu2017}
bibliographystyle{IEEEtran}
bibliography{sample}
end{document}
bibliographies natbib ieeetran
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
newcommand{citeauyear}[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
begin{filecontents*}{sample.bib}
@article{aldaoudeyeh2016,
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}
}
@ARTICLE{wu2017,
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}
}
@article{wu2019,
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}
}
end{filecontents*}
documentclass[]{book}
usepackage[x11names, svgnames]{xcolor}
usepackage[square, nonamebreak, sort&compress, comma, numbers]{natbib} % For IEEE
newcommand{citeauyear}[1]{%
citeauthor{#1}~[citeyear{#1}] [Ref. citenum{#1}]}
usepackage{hyperref}
hypersetup{citecolor=SlateBlue2, citebordercolor=SlateBlue2,
linkbordercolor=DodgerBlue3, linkcolor=DodgerBlue3, urlcolor=Blue1, colorlinks=true}
begin{document}
citeauyear{wu2017}, cite{aldaoudeyeh2016,wu2019,wu2017}
bibliographystyle{IEEEtran}
bibliography{sample}
end{document}
bibliographies natbib ieeetran
bibliographies natbib ieeetran
edited 2 mins ago
Al-Motasem Aldaoudeyeh
asked 11 mins ago
Al-Motasem AldaoudeyehAl-Motasem Aldaoudeyeh
1,884414
1,884414
add a comment |
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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