A custom authoryear citation in numeric a bibliography is not working Announcing the arrival...
Printing attributes of selection in ArcPy?
How much damage would a cupful of neutron star matter do to the Earth?
Trying to understand entropy as a novice in thermodynamics
what is the log of the PDF for a Normal Distribution?
How many time has Arya actually used Needle?
Getting out of while loop on console
Moving a wrapfig vertically to encroach partially on a subsection title
What initially awakened the Balrog?
What is the chair depicted in Cesare Maccari's 1889 painting "Cicerone denuncia Catilina"?
Weaponising the Grasp-at-a-Distance spell
Nose gear failure in single prop aircraft: belly landing or nose-gear up landing?
Delete free apps from library
Special flights
Central Vacuuming: Is it worth it, and how does it compare to normal vacuuming?
Where is the Next Backup Size entry on iOS 12?
Are the endpoints of the domain of a function counted as critical points?
Mounting TV on a weird wall that has some material between the drywall and stud
What are the main differences between Stargate SG-1 cuts?
Google .dev domain strangely redirects to https
A term for a woman complaining about things/begging in a cute/childish way
If Windows 7 doesn't support WSL, then what is "Subsystem for UNIX-based Applications"?
As a dual citizen, my US passport will expire one day after traveling to the US. Will this work?
AppleTVs create a chatty alternate WiFi network
What is the "studentd" process?
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
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
asked 5 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-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
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-numeric-a-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