How to hide/show Publication Title in per chapter bibliography











up vote
0
down vote

favorite












I am using biber and refsections to make my bibliography per chapter.



For one chapter, I would like my bibliography to show the title of the publication, whereas for rest of the chapters I do not want the title to show up in the bibliography list. How can I do that?



In my actual code, the preamble has following definition for biblatex package:



usepackage[
hyperref=auto,
backend=biber,
sorting = none, % to have references appear as they are cited
style=numeric-comp,
style=phys,%
articletitle=false,biblabel=brackets,%
chaptertitle=false,%
]{biblatex}


Below is a MWE.



documentclass[british]{report}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage{babel}
usepackage{csquotes}

usepackage[backend=biber,style=numeric-comp,style=phys,%
articletitle=false,biblabel=brackets,%
chaptertitle=false,pageranges=false,%
refsection=chapter,
]{biblatex}
addbibresource{biblatex-examples.bib}


begin{document}
chapter{Lorem}
Lorem ipsum autocite{sigfridsson} dolor autocite{geer,worman}

AtNextBibliography{footnotesize}
printbibliography[heading=subbibliography]

chapter{Dolor}
Lorem ipsum autocite{sigfridsson} dolor autocite{knuth:ct:a,pines}
AtNextBibliography{footnotesize}
printbibliography[heading=subbibliography]

chapter{Sit}
Lorem ipsum autocite{sigfridsson} dolor autocite{geer,cicero,companion}
AtNextBibliography{footnotesize}
printbibliography[heading=subbibliography]
end{document}









share|improve this question




















  • 2




    A tip: If you indent lines by 4 spaces or enclose words in backticks `, they'll be marked as code, as can be seen in my edit. You can also highlight the code and click the "code" button (with "{}" on it).
    – Kurt
    5 hours ago















up vote
0
down vote

favorite












I am using biber and refsections to make my bibliography per chapter.



For one chapter, I would like my bibliography to show the title of the publication, whereas for rest of the chapters I do not want the title to show up in the bibliography list. How can I do that?



In my actual code, the preamble has following definition for biblatex package:



usepackage[
hyperref=auto,
backend=biber,
sorting = none, % to have references appear as they are cited
style=numeric-comp,
style=phys,%
articletitle=false,biblabel=brackets,%
chaptertitle=false,%
]{biblatex}


Below is a MWE.



documentclass[british]{report}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage{babel}
usepackage{csquotes}

usepackage[backend=biber,style=numeric-comp,style=phys,%
articletitle=false,biblabel=brackets,%
chaptertitle=false,pageranges=false,%
refsection=chapter,
]{biblatex}
addbibresource{biblatex-examples.bib}


begin{document}
chapter{Lorem}
Lorem ipsum autocite{sigfridsson} dolor autocite{geer,worman}

AtNextBibliography{footnotesize}
printbibliography[heading=subbibliography]

chapter{Dolor}
Lorem ipsum autocite{sigfridsson} dolor autocite{knuth:ct:a,pines}
AtNextBibliography{footnotesize}
printbibliography[heading=subbibliography]

chapter{Sit}
Lorem ipsum autocite{sigfridsson} dolor autocite{geer,cicero,companion}
AtNextBibliography{footnotesize}
printbibliography[heading=subbibliography]
end{document}









share|improve this question




















  • 2




    A tip: If you indent lines by 4 spaces or enclose words in backticks `, they'll be marked as code, as can be seen in my edit. You can also highlight the code and click the "code" button (with "{}" on it).
    – Kurt
    5 hours ago













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I am using biber and refsections to make my bibliography per chapter.



For one chapter, I would like my bibliography to show the title of the publication, whereas for rest of the chapters I do not want the title to show up in the bibliography list. How can I do that?



In my actual code, the preamble has following definition for biblatex package:



usepackage[
hyperref=auto,
backend=biber,
sorting = none, % to have references appear as they are cited
style=numeric-comp,
style=phys,%
articletitle=false,biblabel=brackets,%
chaptertitle=false,%
]{biblatex}


Below is a MWE.



documentclass[british]{report}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage{babel}
usepackage{csquotes}

usepackage[backend=biber,style=numeric-comp,style=phys,%
articletitle=false,biblabel=brackets,%
chaptertitle=false,pageranges=false,%
refsection=chapter,
]{biblatex}
addbibresource{biblatex-examples.bib}


begin{document}
chapter{Lorem}
Lorem ipsum autocite{sigfridsson} dolor autocite{geer,worman}

AtNextBibliography{footnotesize}
printbibliography[heading=subbibliography]

chapter{Dolor}
Lorem ipsum autocite{sigfridsson} dolor autocite{knuth:ct:a,pines}
AtNextBibliography{footnotesize}
printbibliography[heading=subbibliography]

chapter{Sit}
Lorem ipsum autocite{sigfridsson} dolor autocite{geer,cicero,companion}
AtNextBibliography{footnotesize}
printbibliography[heading=subbibliography]
end{document}









share|improve this question















I am using biber and refsections to make my bibliography per chapter.



For one chapter, I would like my bibliography to show the title of the publication, whereas for rest of the chapters I do not want the title to show up in the bibliography list. How can I do that?



In my actual code, the preamble has following definition for biblatex package:



usepackage[
hyperref=auto,
backend=biber,
sorting = none, % to have references appear as they are cited
style=numeric-comp,
style=phys,%
articletitle=false,biblabel=brackets,%
chaptertitle=false,%
]{biblatex}


Below is a MWE.



documentclass[british]{report}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage{babel}
usepackage{csquotes}

usepackage[backend=biber,style=numeric-comp,style=phys,%
articletitle=false,biblabel=brackets,%
chaptertitle=false,pageranges=false,%
refsection=chapter,
]{biblatex}
addbibresource{biblatex-examples.bib}


begin{document}
chapter{Lorem}
Lorem ipsum autocite{sigfridsson} dolor autocite{geer,worman}

AtNextBibliography{footnotesize}
printbibliography[heading=subbibliography]

chapter{Dolor}
Lorem ipsum autocite{sigfridsson} dolor autocite{knuth:ct:a,pines}
AtNextBibliography{footnotesize}
printbibliography[heading=subbibliography]

chapter{Sit}
Lorem ipsum autocite{sigfridsson} dolor autocite{geer,cicero,companion}
AtNextBibliography{footnotesize}
printbibliography[heading=subbibliography]
end{document}






biblatex bibliographies






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 4 hours ago









gusbrs

6,3642838




6,3642838










asked 5 hours ago









Rouge

875




875








  • 2




    A tip: If you indent lines by 4 spaces or enclose words in backticks `, they'll be marked as code, as can be seen in my edit. You can also highlight the code and click the "code" button (with "{}" on it).
    – Kurt
    5 hours ago














  • 2




    A tip: If you indent lines by 4 spaces or enclose words in backticks `, they'll be marked as code, as can be seen in my edit. You can also highlight the code and click the "code" button (with "{}" on it).
    – Kurt
    5 hours ago








2




2




A tip: If you indent lines by 4 spaces or enclose words in backticks `, they'll be marked as code, as can be seen in my edit. You can also highlight the code and click the "code" button (with "{}" on it).
– Kurt
5 hours ago




A tip: If you indent lines by 4 spaces or enclose words in backticks `, they'll be marked as code, as can be seen in my edit. You can also highlight the code and click the "code" button (with "{}" on it).
– Kurt
5 hours ago










1 Answer
1






active

oldest

votes

















up vote
1
down vote













biblatex-phys' way of suppressing the titles of @article entries with articletitle is ultimately implemented with a simple toggle called bbx:articletitle. If the toggle is true, the title is printed; if it is false the title is suppressed.



We can simple switch the toggle to true in an AtNextBibliography hook before the bibliography that should have titles. All other bibliographies will stick with the global default false that you set in the loading options in the preamble.



documentclass[british]{report}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage{babel}
usepackage{csquotes}

usepackage[backend=biber, style=phys,
articletitle=false, biblabel=brackets,
chaptertitle=false, pageranges=false,
refsection=chapter,
]{biblatex}
addbibresource{biblatex-examples.bib}

renewcommand*{bibfont}{footnotesize}

begin{document}
chapter{Lorem}
Lorem ipsum autocite{sigfridsson} dolor autocite{geer,worman}
printbibliography[heading=subbibliography]

chapter{Dolor}
Lorem ipsum autocite{sigfridsson} dolor autocite{knuth:ct:a,pines}
AtNextBibliography{toggletrue{bbx:articletitle}}
printbibliography[heading=subbibliography]

chapter{Sit}
Lorem ipsum autocite{sigfridsson} dolor autocite{geer,cicero,companion}
printbibliography[heading=subbibliography]
end{document}


Chapter 1: Bibliography *without* article titlesChapter 2: Bibliography *with* article titles



As in your previous question, please note that I changed AtNextBibliography{footnotesize} before every invocation of printbibliography (which would be equivalent to AtBeginBibliography{footnotesize} once in the preamble) to the more idiomatic renewcommand*{bibfont}{footnotesize}. Furthermore style=numeric-comp,style=phys, is equivalent to the shorter and less confusing style=phys,, so I changed that as well.






share|improve this answer























  • you are awesome !!!! Thanks a ton !
    – Rouge
    52 mins ago











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',
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%2f463014%2fhow-to-hide-show-publication-title-in-per-chapter-bibliography%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








up vote
1
down vote













biblatex-phys' way of suppressing the titles of @article entries with articletitle is ultimately implemented with a simple toggle called bbx:articletitle. If the toggle is true, the title is printed; if it is false the title is suppressed.



We can simple switch the toggle to true in an AtNextBibliography hook before the bibliography that should have titles. All other bibliographies will stick with the global default false that you set in the loading options in the preamble.



documentclass[british]{report}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage{babel}
usepackage{csquotes}

usepackage[backend=biber, style=phys,
articletitle=false, biblabel=brackets,
chaptertitle=false, pageranges=false,
refsection=chapter,
]{biblatex}
addbibresource{biblatex-examples.bib}

renewcommand*{bibfont}{footnotesize}

begin{document}
chapter{Lorem}
Lorem ipsum autocite{sigfridsson} dolor autocite{geer,worman}
printbibliography[heading=subbibliography]

chapter{Dolor}
Lorem ipsum autocite{sigfridsson} dolor autocite{knuth:ct:a,pines}
AtNextBibliography{toggletrue{bbx:articletitle}}
printbibliography[heading=subbibliography]

chapter{Sit}
Lorem ipsum autocite{sigfridsson} dolor autocite{geer,cicero,companion}
printbibliography[heading=subbibliography]
end{document}


Chapter 1: Bibliography *without* article titlesChapter 2: Bibliography *with* article titles



As in your previous question, please note that I changed AtNextBibliography{footnotesize} before every invocation of printbibliography (which would be equivalent to AtBeginBibliography{footnotesize} once in the preamble) to the more idiomatic renewcommand*{bibfont}{footnotesize}. Furthermore style=numeric-comp,style=phys, is equivalent to the shorter and less confusing style=phys,, so I changed that as well.






share|improve this answer























  • you are awesome !!!! Thanks a ton !
    – Rouge
    52 mins ago















up vote
1
down vote













biblatex-phys' way of suppressing the titles of @article entries with articletitle is ultimately implemented with a simple toggle called bbx:articletitle. If the toggle is true, the title is printed; if it is false the title is suppressed.



We can simple switch the toggle to true in an AtNextBibliography hook before the bibliography that should have titles. All other bibliographies will stick with the global default false that you set in the loading options in the preamble.



documentclass[british]{report}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage{babel}
usepackage{csquotes}

usepackage[backend=biber, style=phys,
articletitle=false, biblabel=brackets,
chaptertitle=false, pageranges=false,
refsection=chapter,
]{biblatex}
addbibresource{biblatex-examples.bib}

renewcommand*{bibfont}{footnotesize}

begin{document}
chapter{Lorem}
Lorem ipsum autocite{sigfridsson} dolor autocite{geer,worman}
printbibliography[heading=subbibliography]

chapter{Dolor}
Lorem ipsum autocite{sigfridsson} dolor autocite{knuth:ct:a,pines}
AtNextBibliography{toggletrue{bbx:articletitle}}
printbibliography[heading=subbibliography]

chapter{Sit}
Lorem ipsum autocite{sigfridsson} dolor autocite{geer,cicero,companion}
printbibliography[heading=subbibliography]
end{document}


Chapter 1: Bibliography *without* article titlesChapter 2: Bibliography *with* article titles



As in your previous question, please note that I changed AtNextBibliography{footnotesize} before every invocation of printbibliography (which would be equivalent to AtBeginBibliography{footnotesize} once in the preamble) to the more idiomatic renewcommand*{bibfont}{footnotesize}. Furthermore style=numeric-comp,style=phys, is equivalent to the shorter and less confusing style=phys,, so I changed that as well.






share|improve this answer























  • you are awesome !!!! Thanks a ton !
    – Rouge
    52 mins ago













up vote
1
down vote










up vote
1
down vote









biblatex-phys' way of suppressing the titles of @article entries with articletitle is ultimately implemented with a simple toggle called bbx:articletitle. If the toggle is true, the title is printed; if it is false the title is suppressed.



We can simple switch the toggle to true in an AtNextBibliography hook before the bibliography that should have titles. All other bibliographies will stick with the global default false that you set in the loading options in the preamble.



documentclass[british]{report}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage{babel}
usepackage{csquotes}

usepackage[backend=biber, style=phys,
articletitle=false, biblabel=brackets,
chaptertitle=false, pageranges=false,
refsection=chapter,
]{biblatex}
addbibresource{biblatex-examples.bib}

renewcommand*{bibfont}{footnotesize}

begin{document}
chapter{Lorem}
Lorem ipsum autocite{sigfridsson} dolor autocite{geer,worman}
printbibliography[heading=subbibliography]

chapter{Dolor}
Lorem ipsum autocite{sigfridsson} dolor autocite{knuth:ct:a,pines}
AtNextBibliography{toggletrue{bbx:articletitle}}
printbibliography[heading=subbibliography]

chapter{Sit}
Lorem ipsum autocite{sigfridsson} dolor autocite{geer,cicero,companion}
printbibliography[heading=subbibliography]
end{document}


Chapter 1: Bibliography *without* article titlesChapter 2: Bibliography *with* article titles



As in your previous question, please note that I changed AtNextBibliography{footnotesize} before every invocation of printbibliography (which would be equivalent to AtBeginBibliography{footnotesize} once in the preamble) to the more idiomatic renewcommand*{bibfont}{footnotesize}. Furthermore style=numeric-comp,style=phys, is equivalent to the shorter and less confusing style=phys,, so I changed that as well.






share|improve this answer














biblatex-phys' way of suppressing the titles of @article entries with articletitle is ultimately implemented with a simple toggle called bbx:articletitle. If the toggle is true, the title is printed; if it is false the title is suppressed.



We can simple switch the toggle to true in an AtNextBibliography hook before the bibliography that should have titles. All other bibliographies will stick with the global default false that you set in the loading options in the preamble.



documentclass[british]{report}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage{babel}
usepackage{csquotes}

usepackage[backend=biber, style=phys,
articletitle=false, biblabel=brackets,
chaptertitle=false, pageranges=false,
refsection=chapter,
]{biblatex}
addbibresource{biblatex-examples.bib}

renewcommand*{bibfont}{footnotesize}

begin{document}
chapter{Lorem}
Lorem ipsum autocite{sigfridsson} dolor autocite{geer,worman}
printbibliography[heading=subbibliography]

chapter{Dolor}
Lorem ipsum autocite{sigfridsson} dolor autocite{knuth:ct:a,pines}
AtNextBibliography{toggletrue{bbx:articletitle}}
printbibliography[heading=subbibliography]

chapter{Sit}
Lorem ipsum autocite{sigfridsson} dolor autocite{geer,cicero,companion}
printbibliography[heading=subbibliography]
end{document}


Chapter 1: Bibliography *without* article titlesChapter 2: Bibliography *with* article titles



As in your previous question, please note that I changed AtNextBibliography{footnotesize} before every invocation of printbibliography (which would be equivalent to AtBeginBibliography{footnotesize} once in the preamble) to the more idiomatic renewcommand*{bibfont}{footnotesize}. Furthermore style=numeric-comp,style=phys, is equivalent to the shorter and less confusing style=phys,, so I changed that as well.







share|improve this answer














share|improve this answer



share|improve this answer








edited 2 hours ago

























answered 2 hours ago









moewe

83.7k8107321




83.7k8107321












  • you are awesome !!!! Thanks a ton !
    – Rouge
    52 mins ago


















  • you are awesome !!!! Thanks a ton !
    – Rouge
    52 mins ago
















you are awesome !!!! Thanks a ton !
– Rouge
52 mins ago




you are awesome !!!! Thanks a ton !
– Rouge
52 mins ago


















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.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • 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%2f463014%2fhow-to-hide-show-publication-title-in-per-chapter-bibliography%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

Lallio

Unable to find Lightning Node

Futebolista