Changing the format of citation fields












0















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: references in footnote
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?










share|improve this question




















  • 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
















0















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: references in footnote
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?










share|improve this question




















  • 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














0












0








0








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: references in footnote
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?










share|improve this question
















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: references in footnote
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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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 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














  • 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








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










1 Answer
1






active

oldest

votes


















2














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}


enter image description here






share|improve this answer


























  • thanks a lot for the clear answer!

    – Alf
    Jan 21 at 22:16











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%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









2














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}


enter image description here






share|improve this answer


























  • thanks a lot for the clear answer!

    – Alf
    Jan 21 at 22:16
















2














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}


enter image description here






share|improve this answer


























  • thanks a lot for the clear answer!

    – Alf
    Jan 21 at 22:16














2












2








2







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}


enter image description here






share|improve this answer















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}


enter image description here







share|improve this answer














share|improve this answer



share|improve this answer








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



















  • 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


















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%2f471205%2fchanging-the-format-of-citation-fields%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

mysqli_query(): Empty query in /home/lucindabrummitt/public_html/blog/wp-includes/wp-db.php on line 1924

How to change which sound is reproduced for terminal bell?

Can I use Tabulator js library in my java Spring + Thymeleaf project?