Changing the format of citation fields
I a beamer
presentation I want to print citations in the footnotes of the respective slides where they are mentioned + a full bibliography at the end. After some research on tex.stackexchange I am currently using the authortitle
style with some modifications.
Unfortunately, the modifications are not completely behaving the way I would like them to behave. This is my MWE
:
documentclass[10pt]{beamer}
begin{filecontents*}{tmp_bib.bib}
@book{Peter1,
author={Peter Muller},
title={My life as Peter Mueller},
address={Peterstown},
publisher={Petersen family},
year={2017}
}
@article{Klaus1,
author = {Peter, Klaus and Petersen, Peter},
title = {A research article about Peter Mueller},
journal = {Intern. Journal on Science},
year = {2018},
volume = {33},
pages = {000007},
doi = {10.10}
}
end{filecontents*}
usepackage[
style=authortitle,
autocite=footnote,
backend=biber,
]
{biblatex}
addbibresource{tmp_bib.bib}
renewbibmacro*{cite:title}{%
ifentrytype{article}{
printtext[bibhyperref]{%
printfield{journaltitle}%
setunit{space}%
printtext[parens]{printdate}%
}
}{}%
ifentrytype{book}{
printtext[bibhyperref]{%
printfield[citetitle]{labeltitle}%
setunit{space}%
printtext[parens]{printdate}%
}%
}{}
}
begin{document}
begin{frame}[t]{One column on this page}
begin{itemize}
item Even more textfootnotemark
footcitetext{Peter1}
item Note: an articlefootnotemark
footcitetext{Klaus1}
end{itemize}
end{frame}
begin{frame}{Bibliography}
printbibliography
end{frame}
end{document}
It results in the following slide:
It looks fine, except for one thing: I want the journal title to not be italic. How do I change this?
In addition, how do I add the journal volume in bold text to the article?
biblatex biber
add a comment |
I a beamer
presentation I want to print citations in the footnotes of the respective slides where they are mentioned + a full bibliography at the end. After some research on tex.stackexchange I am currently using the authortitle
style with some modifications.
Unfortunately, the modifications are not completely behaving the way I would like them to behave. This is my MWE
:
documentclass[10pt]{beamer}
begin{filecontents*}{tmp_bib.bib}
@book{Peter1,
author={Peter Muller},
title={My life as Peter Mueller},
address={Peterstown},
publisher={Petersen family},
year={2017}
}
@article{Klaus1,
author = {Peter, Klaus and Petersen, Peter},
title = {A research article about Peter Mueller},
journal = {Intern. Journal on Science},
year = {2018},
volume = {33},
pages = {000007},
doi = {10.10}
}
end{filecontents*}
usepackage[
style=authortitle,
autocite=footnote,
backend=biber,
]
{biblatex}
addbibresource{tmp_bib.bib}
renewbibmacro*{cite:title}{%
ifentrytype{article}{
printtext[bibhyperref]{%
printfield{journaltitle}%
setunit{space}%
printtext[parens]{printdate}%
}
}{}%
ifentrytype{book}{
printtext[bibhyperref]{%
printfield[citetitle]{labeltitle}%
setunit{space}%
printtext[parens]{printdate}%
}%
}{}
}
begin{document}
begin{frame}[t]{One column on this page}
begin{itemize}
item Even more textfootnotemark
footcitetext{Peter1}
item Note: an articlefootnotemark
footcitetext{Klaus1}
end{itemize}
end{frame}
begin{frame}{Bibliography}
printbibliography
end{frame}
end{document}
It results in the following slide:
It looks fine, except for one thing: I want the journal title to not be italic. How do I change this?
In addition, how do I add the journal volume in bold text to the article?
biblatex biber
2
For a general-purpose introduction intobiblatex
modifications, see tex.stackexchange.com/q/12806/35864. Though in this case one would have to know which field formats control which output, sobiblatex.def
andstandard.bbx
are an essential source of information here.
– moewe
Jan 21 at 21:43
add a comment |
I a beamer
presentation I want to print citations in the footnotes of the respective slides where they are mentioned + a full bibliography at the end. After some research on tex.stackexchange I am currently using the authortitle
style with some modifications.
Unfortunately, the modifications are not completely behaving the way I would like them to behave. This is my MWE
:
documentclass[10pt]{beamer}
begin{filecontents*}{tmp_bib.bib}
@book{Peter1,
author={Peter Muller},
title={My life as Peter Mueller},
address={Peterstown},
publisher={Petersen family},
year={2017}
}
@article{Klaus1,
author = {Peter, Klaus and Petersen, Peter},
title = {A research article about Peter Mueller},
journal = {Intern. Journal on Science},
year = {2018},
volume = {33},
pages = {000007},
doi = {10.10}
}
end{filecontents*}
usepackage[
style=authortitle,
autocite=footnote,
backend=biber,
]
{biblatex}
addbibresource{tmp_bib.bib}
renewbibmacro*{cite:title}{%
ifentrytype{article}{
printtext[bibhyperref]{%
printfield{journaltitle}%
setunit{space}%
printtext[parens]{printdate}%
}
}{}%
ifentrytype{book}{
printtext[bibhyperref]{%
printfield[citetitle]{labeltitle}%
setunit{space}%
printtext[parens]{printdate}%
}%
}{}
}
begin{document}
begin{frame}[t]{One column on this page}
begin{itemize}
item Even more textfootnotemark
footcitetext{Peter1}
item Note: an articlefootnotemark
footcitetext{Klaus1}
end{itemize}
end{frame}
begin{frame}{Bibliography}
printbibliography
end{frame}
end{document}
It results in the following slide:
It looks fine, except for one thing: I want the journal title to not be italic. How do I change this?
In addition, how do I add the journal volume in bold text to the article?
biblatex biber
I a beamer
presentation I want to print citations in the footnotes of the respective slides where they are mentioned + a full bibliography at the end. After some research on tex.stackexchange I am currently using the authortitle
style with some modifications.
Unfortunately, the modifications are not completely behaving the way I would like them to behave. This is my MWE
:
documentclass[10pt]{beamer}
begin{filecontents*}{tmp_bib.bib}
@book{Peter1,
author={Peter Muller},
title={My life as Peter Mueller},
address={Peterstown},
publisher={Petersen family},
year={2017}
}
@article{Klaus1,
author = {Peter, Klaus and Petersen, Peter},
title = {A research article about Peter Mueller},
journal = {Intern. Journal on Science},
year = {2018},
volume = {33},
pages = {000007},
doi = {10.10}
}
end{filecontents*}
usepackage[
style=authortitle,
autocite=footnote,
backend=biber,
]
{biblatex}
addbibresource{tmp_bib.bib}
renewbibmacro*{cite:title}{%
ifentrytype{article}{
printtext[bibhyperref]{%
printfield{journaltitle}%
setunit{space}%
printtext[parens]{printdate}%
}
}{}%
ifentrytype{book}{
printtext[bibhyperref]{%
printfield[citetitle]{labeltitle}%
setunit{space}%
printtext[parens]{printdate}%
}%
}{}
}
begin{document}
begin{frame}[t]{One column on this page}
begin{itemize}
item Even more textfootnotemark
footcitetext{Peter1}
item Note: an articlefootnotemark
footcitetext{Klaus1}
end{itemize}
end{frame}
begin{frame}{Bibliography}
printbibliography
end{frame}
end{document}
It results in the following slide:
It looks fine, except for one thing: I want the journal title to not be italic. How do I change this?
In addition, how do I add the journal volume in bold text to the article?
biblatex biber
biblatex biber
edited Jan 21 at 21:45
gusbrs
7,4992840
7,4992840
asked Jan 21 at 21:24
AlfAlf
1776
1776
2
For a general-purpose introduction intobiblatex
modifications, see tex.stackexchange.com/q/12806/35864. Though in this case one would have to know which field formats control which output, sobiblatex.def
andstandard.bbx
are an essential source of information here.
– moewe
Jan 21 at 21:43
add a comment |
2
For a general-purpose introduction intobiblatex
modifications, see tex.stackexchange.com/q/12806/35864. Though in this case one would have to know which field formats control which output, sobiblatex.def
andstandard.bbx
are an essential source of information here.
– moewe
Jan 21 at 21:43
2
2
For a general-purpose introduction into
biblatex
modifications, see tex.stackexchange.com/q/12806/35864. Though in this case one would have to know which field formats control which output, so biblatex.def
and standard.bbx
are an essential source of information here.– moewe
Jan 21 at 21:43
For a general-purpose introduction into
biblatex
modifications, see tex.stackexchange.com/q/12806/35864. Though in this case one would have to know which field formats control which output, so biblatex.def
and standard.bbx
are an essential source of information here.– moewe
Jan 21 at 21:43
add a comment |
1 Answer
1
active
oldest
votes
You can change it for journaltitle
with:
DeclareFieldFormat{journaltitle}{#1}
As for the journal volume, something a little ad hoc, but in line with it appearing in the citation in a authortitle
style, would be to include it in your modified cite:title
bibmacro:
printfield[citevolume]{volume}
for which you should also declare the corresponding formatting directive.
In full:
documentclass[10pt]{beamer}
begin{filecontents*}{tmp_bib.bib}
@book{Peter1,
author={Peter Muller},
title={My life as Peter Mueller},
address={Peterstown},
publisher={Petersen family},
year={2017}
}
@article{Klaus1,
author = {Peter, Klaus and Petersen, Peter},
title = {A research article about Peter Mueller},
journal = {Intern. Journal on Science},
year = {2018},
volume = {33},
pages = {000007},
doi = {10.10}
}
end{filecontents*}
usepackage[
style=authortitle,
autocite=footnote,
backend=biber,
]
{biblatex}
addbibresource{tmp_bib.bib}
renewbibmacro*{cite:title}{%
ifentrytype{article}{%
printtext[bibhyperref]{%
printfield{journaltitle}%
setunit{addspace}%
printfield[citevolume]{volume}%
setunit{addspace}%
printtext[parens]{printdate}%
}%
}{}%
ifentrytype{book}{%
printtext[bibhyperref]{%
printfield[citetitle]{labeltitle}%
setunit{space}%
printtext[parens]{printdate}%
}%
}{}%
}
DeclareFieldFormat{journaltitle}{#1}
DeclareFieldFormat{citevolume}{mkbibbold{#1}}
begin{document}
begin{frame}[t]{One column on this page}
begin{itemize}
item Even more textfootnotemark
footcitetext{Peter1}
item Note: an articlefootnotemark
footcitetext{Klaus1}
end{itemize}
end{frame}
begin{frame}{Bibliography}
printbibliography
end{frame}
end{document}
thanks a lot for the clear answer!
– Alf
Jan 21 at 22:16
add a comment |
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%2f471205%2fchanging-the-format-of-citation-fields%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
You can change it for journaltitle
with:
DeclareFieldFormat{journaltitle}{#1}
As for the journal volume, something a little ad hoc, but in line with it appearing in the citation in a authortitle
style, would be to include it in your modified cite:title
bibmacro:
printfield[citevolume]{volume}
for which you should also declare the corresponding formatting directive.
In full:
documentclass[10pt]{beamer}
begin{filecontents*}{tmp_bib.bib}
@book{Peter1,
author={Peter Muller},
title={My life as Peter Mueller},
address={Peterstown},
publisher={Petersen family},
year={2017}
}
@article{Klaus1,
author = {Peter, Klaus and Petersen, Peter},
title = {A research article about Peter Mueller},
journal = {Intern. Journal on Science},
year = {2018},
volume = {33},
pages = {000007},
doi = {10.10}
}
end{filecontents*}
usepackage[
style=authortitle,
autocite=footnote,
backend=biber,
]
{biblatex}
addbibresource{tmp_bib.bib}
renewbibmacro*{cite:title}{%
ifentrytype{article}{%
printtext[bibhyperref]{%
printfield{journaltitle}%
setunit{addspace}%
printfield[citevolume]{volume}%
setunit{addspace}%
printtext[parens]{printdate}%
}%
}{}%
ifentrytype{book}{%
printtext[bibhyperref]{%
printfield[citetitle]{labeltitle}%
setunit{space}%
printtext[parens]{printdate}%
}%
}{}%
}
DeclareFieldFormat{journaltitle}{#1}
DeclareFieldFormat{citevolume}{mkbibbold{#1}}
begin{document}
begin{frame}[t]{One column on this page}
begin{itemize}
item Even more textfootnotemark
footcitetext{Peter1}
item Note: an articlefootnotemark
footcitetext{Klaus1}
end{itemize}
end{frame}
begin{frame}{Bibliography}
printbibliography
end{frame}
end{document}
thanks a lot for the clear answer!
– Alf
Jan 21 at 22:16
add a comment |
You can change it for journaltitle
with:
DeclareFieldFormat{journaltitle}{#1}
As for the journal volume, something a little ad hoc, but in line with it appearing in the citation in a authortitle
style, would be to include it in your modified cite:title
bibmacro:
printfield[citevolume]{volume}
for which you should also declare the corresponding formatting directive.
In full:
documentclass[10pt]{beamer}
begin{filecontents*}{tmp_bib.bib}
@book{Peter1,
author={Peter Muller},
title={My life as Peter Mueller},
address={Peterstown},
publisher={Petersen family},
year={2017}
}
@article{Klaus1,
author = {Peter, Klaus and Petersen, Peter},
title = {A research article about Peter Mueller},
journal = {Intern. Journal on Science},
year = {2018},
volume = {33},
pages = {000007},
doi = {10.10}
}
end{filecontents*}
usepackage[
style=authortitle,
autocite=footnote,
backend=biber,
]
{biblatex}
addbibresource{tmp_bib.bib}
renewbibmacro*{cite:title}{%
ifentrytype{article}{%
printtext[bibhyperref]{%
printfield{journaltitle}%
setunit{addspace}%
printfield[citevolume]{volume}%
setunit{addspace}%
printtext[parens]{printdate}%
}%
}{}%
ifentrytype{book}{%
printtext[bibhyperref]{%
printfield[citetitle]{labeltitle}%
setunit{space}%
printtext[parens]{printdate}%
}%
}{}%
}
DeclareFieldFormat{journaltitle}{#1}
DeclareFieldFormat{citevolume}{mkbibbold{#1}}
begin{document}
begin{frame}[t]{One column on this page}
begin{itemize}
item Even more textfootnotemark
footcitetext{Peter1}
item Note: an articlefootnotemark
footcitetext{Klaus1}
end{itemize}
end{frame}
begin{frame}{Bibliography}
printbibliography
end{frame}
end{document}
thanks a lot for the clear answer!
– Alf
Jan 21 at 22:16
add a comment |
You can change it for journaltitle
with:
DeclareFieldFormat{journaltitle}{#1}
As for the journal volume, something a little ad hoc, but in line with it appearing in the citation in a authortitle
style, would be to include it in your modified cite:title
bibmacro:
printfield[citevolume]{volume}
for which you should also declare the corresponding formatting directive.
In full:
documentclass[10pt]{beamer}
begin{filecontents*}{tmp_bib.bib}
@book{Peter1,
author={Peter Muller},
title={My life as Peter Mueller},
address={Peterstown},
publisher={Petersen family},
year={2017}
}
@article{Klaus1,
author = {Peter, Klaus and Petersen, Peter},
title = {A research article about Peter Mueller},
journal = {Intern. Journal on Science},
year = {2018},
volume = {33},
pages = {000007},
doi = {10.10}
}
end{filecontents*}
usepackage[
style=authortitle,
autocite=footnote,
backend=biber,
]
{biblatex}
addbibresource{tmp_bib.bib}
renewbibmacro*{cite:title}{%
ifentrytype{article}{%
printtext[bibhyperref]{%
printfield{journaltitle}%
setunit{addspace}%
printfield[citevolume]{volume}%
setunit{addspace}%
printtext[parens]{printdate}%
}%
}{}%
ifentrytype{book}{%
printtext[bibhyperref]{%
printfield[citetitle]{labeltitle}%
setunit{space}%
printtext[parens]{printdate}%
}%
}{}%
}
DeclareFieldFormat{journaltitle}{#1}
DeclareFieldFormat{citevolume}{mkbibbold{#1}}
begin{document}
begin{frame}[t]{One column on this page}
begin{itemize}
item Even more textfootnotemark
footcitetext{Peter1}
item Note: an articlefootnotemark
footcitetext{Klaus1}
end{itemize}
end{frame}
begin{frame}{Bibliography}
printbibliography
end{frame}
end{document}
You can change it for journaltitle
with:
DeclareFieldFormat{journaltitle}{#1}
As for the journal volume, something a little ad hoc, but in line with it appearing in the citation in a authortitle
style, would be to include it in your modified cite:title
bibmacro:
printfield[citevolume]{volume}
for which you should also declare the corresponding formatting directive.
In full:
documentclass[10pt]{beamer}
begin{filecontents*}{tmp_bib.bib}
@book{Peter1,
author={Peter Muller},
title={My life as Peter Mueller},
address={Peterstown},
publisher={Petersen family},
year={2017}
}
@article{Klaus1,
author = {Peter, Klaus and Petersen, Peter},
title = {A research article about Peter Mueller},
journal = {Intern. Journal on Science},
year = {2018},
volume = {33},
pages = {000007},
doi = {10.10}
}
end{filecontents*}
usepackage[
style=authortitle,
autocite=footnote,
backend=biber,
]
{biblatex}
addbibresource{tmp_bib.bib}
renewbibmacro*{cite:title}{%
ifentrytype{article}{%
printtext[bibhyperref]{%
printfield{journaltitle}%
setunit{addspace}%
printfield[citevolume]{volume}%
setunit{addspace}%
printtext[parens]{printdate}%
}%
}{}%
ifentrytype{book}{%
printtext[bibhyperref]{%
printfield[citetitle]{labeltitle}%
setunit{space}%
printtext[parens]{printdate}%
}%
}{}%
}
DeclareFieldFormat{journaltitle}{#1}
DeclareFieldFormat{citevolume}{mkbibbold{#1}}
begin{document}
begin{frame}[t]{One column on this page}
begin{itemize}
item Even more textfootnotemark
footcitetext{Peter1}
item Note: an articlefootnotemark
footcitetext{Klaus1}
end{itemize}
end{frame}
begin{frame}{Bibliography}
printbibliography
end{frame}
end{document}
edited Jan 21 at 21:59
answered Jan 21 at 21:41
gusbrsgusbrs
7,4992840
7,4992840
thanks a lot for the clear answer!
– Alf
Jan 21 at 22:16
add a comment |
thanks a lot for the clear answer!
– Alf
Jan 21 at 22:16
thanks a lot for the clear answer!
– Alf
Jan 21 at 22:16
thanks a lot for the clear answer!
– Alf
Jan 21 at 22:16
add a comment |
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%2f471205%2fchanging-the-format-of-citation-fields%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
2
For a general-purpose introduction into
biblatex
modifications, see tex.stackexchange.com/q/12806/35864. Though in this case one would have to know which field formats control which output, sobiblatex.def
andstandard.bbx
are an essential source of information here.– moewe
Jan 21 at 21:43