Last active
November 25, 2018 15:05
-
-
Save guimondmm/debfe275638cfdcbe8f6acf0abca8e8a to your computer and use it in GitHub Desktop.
Segmented bibliography with BibLaTeX and untitled sections (no heading)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% Untitled section (no heading, e.g., Introduction): | |
\makeatletter\def\@currentlabelname{Introduction}\makeatother\newrefsection% | |
% Result: the label "Introduction" is not printed in the text but appears in the segmented bibliography | |
% Regular section with a heading: | |
\section*{Heading}\newrefsection% | |
% Result: the label "Heading" is printed above the paragraph as usual and also appears in the bibliography. | |
% Towards the end of the document, to print the segmented bibliography: | |
\defbibheading{subbibliography}{% | |
\subsection*{\nameref{refsection:\therefsection}}}% | |
\printbibheading% | |
\bibbysection[heading=subbibliography] | |
% Refer to BibLaTeX documentation for more details <http://mirrors.ctan.org/macros/latex/contrib/biblatex/doc/biblatex.pdf> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment