Citation at the bottom for subfigures in beamer frame












3















I'm trying to include a citation in a beamer frame following the instruction here. However, I couldn't figure out how to place them inside a subfigure environment. Namely, my code:



begin{frame}
frametitle{Reactive-transport systems}
begin{figure}
centering
begin{subfigure}{0.45textwidth}
includegraphics[width=0.45textwidth]{Chabanon2017.jpg}
caption{Here is text footfullcite{Chabanon2017}}
end{subfigure}
begin{subfigure}{0.45textwidth}
includegraphics[width=0.45textwidth]{Steefel2005.jpg}
caption{Here is text footfullcite{Steefel2005}}
end{subfigure}
end{figure}
end{frame}


And this is what I'm seeing: enter image description here



Any suggestions on how to go around it?



EDIT: Add minimal working example:



documentclass{beamer}

usepackage{pgf}
usepackage{xcolor}
usepackage[utf8]{inputenc}
% Citation
usepackage[backend=bibtex, style=science]{biblatex}

usepackage{subcaption}
usepackage{filecontents}

begin{filecontents}{vorlage.bib}

@article{test1,
author = {Shen Lin and Brian W. Kernighan},
title = {An Effective Heuristic Algorithm for the Travelling-Salesman Problem},
journal = {Operations Research},
volume = {21},
year = {1973},
pages = {498--516},
}

@BOOK{test,
title = {The Infamous Test},
publisher = {Testington Test},
year = {2007},
author = {John Doe},
address = {Testville},
}

@ARTICLE{test2,
author = {Testi, T.},
year = {2003},
title = {Testartikel},
journal = {Testjournal}
}
end{filecontents}



% Hacky fix to citation
makeatletter
defblx@maxline{77}
makeatother

% Add bibliography file
bibliography{vorlage.bib}

begin{document}

begin{frame}
frametitle{Introduction and motivation - the title}
section[Motivation]{Introduction and motivation}
begin{figure}
centering
begin{subfigure}{.45textwidth}
centering
includegraphics[width=linewidth]{example-image}
caption{A subfigure footfullcite{test}}
label{fig:sub1}
end{subfigure}%
begin{subfigure}{.45textwidth}
centering
includegraphics[width=linewidth]{example-image}
caption{A subfigure footfullcite{test1}}
label{fig:sub2}
end{subfigure}
caption{A figure with two subfigures footfullcite{test2}}
label{fig:test}
end{figure}
end{frame}

end{document}



This will produce the following result:



enter image description here



and you can see that the citation is stuck underneath each subfigure instead of gathering all at the bottom of the page.










share|improve this question




















  • 3





    Can you make a minimal working example (MWE)?

    – samcarter
    Mar 14 at 16:53











  • @samcarter I just did with the edit

    – Quang Thinh Ha
    Mar 14 at 17:09






  • 1





    Thanks for the edit

    – samcarter
    Mar 14 at 17:09
















3















I'm trying to include a citation in a beamer frame following the instruction here. However, I couldn't figure out how to place them inside a subfigure environment. Namely, my code:



begin{frame}
frametitle{Reactive-transport systems}
begin{figure}
centering
begin{subfigure}{0.45textwidth}
includegraphics[width=0.45textwidth]{Chabanon2017.jpg}
caption{Here is text footfullcite{Chabanon2017}}
end{subfigure}
begin{subfigure}{0.45textwidth}
includegraphics[width=0.45textwidth]{Steefel2005.jpg}
caption{Here is text footfullcite{Steefel2005}}
end{subfigure}
end{figure}
end{frame}


And this is what I'm seeing: enter image description here



Any suggestions on how to go around it?



EDIT: Add minimal working example:



documentclass{beamer}

usepackage{pgf}
usepackage{xcolor}
usepackage[utf8]{inputenc}
% Citation
usepackage[backend=bibtex, style=science]{biblatex}

usepackage{subcaption}
usepackage{filecontents}

begin{filecontents}{vorlage.bib}

@article{test1,
author = {Shen Lin and Brian W. Kernighan},
title = {An Effective Heuristic Algorithm for the Travelling-Salesman Problem},
journal = {Operations Research},
volume = {21},
year = {1973},
pages = {498--516},
}

@BOOK{test,
title = {The Infamous Test},
publisher = {Testington Test},
year = {2007},
author = {John Doe},
address = {Testville},
}

@ARTICLE{test2,
author = {Testi, T.},
year = {2003},
title = {Testartikel},
journal = {Testjournal}
}
end{filecontents}



% Hacky fix to citation
makeatletter
defblx@maxline{77}
makeatother

% Add bibliography file
bibliography{vorlage.bib}

begin{document}

begin{frame}
frametitle{Introduction and motivation - the title}
section[Motivation]{Introduction and motivation}
begin{figure}
centering
begin{subfigure}{.45textwidth}
centering
includegraphics[width=linewidth]{example-image}
caption{A subfigure footfullcite{test}}
label{fig:sub1}
end{subfigure}%
begin{subfigure}{.45textwidth}
centering
includegraphics[width=linewidth]{example-image}
caption{A subfigure footfullcite{test1}}
label{fig:sub2}
end{subfigure}
caption{A figure with two subfigures footfullcite{test2}}
label{fig:test}
end{figure}
end{frame}

end{document}



This will produce the following result:



enter image description here



and you can see that the citation is stuck underneath each subfigure instead of gathering all at the bottom of the page.










share|improve this question




















  • 3





    Can you make a minimal working example (MWE)?

    – samcarter
    Mar 14 at 16:53











  • @samcarter I just did with the edit

    – Quang Thinh Ha
    Mar 14 at 17:09






  • 1





    Thanks for the edit

    – samcarter
    Mar 14 at 17:09














3












3








3








I'm trying to include a citation in a beamer frame following the instruction here. However, I couldn't figure out how to place them inside a subfigure environment. Namely, my code:



begin{frame}
frametitle{Reactive-transport systems}
begin{figure}
centering
begin{subfigure}{0.45textwidth}
includegraphics[width=0.45textwidth]{Chabanon2017.jpg}
caption{Here is text footfullcite{Chabanon2017}}
end{subfigure}
begin{subfigure}{0.45textwidth}
includegraphics[width=0.45textwidth]{Steefel2005.jpg}
caption{Here is text footfullcite{Steefel2005}}
end{subfigure}
end{figure}
end{frame}


And this is what I'm seeing: enter image description here



Any suggestions on how to go around it?



EDIT: Add minimal working example:



documentclass{beamer}

usepackage{pgf}
usepackage{xcolor}
usepackage[utf8]{inputenc}
% Citation
usepackage[backend=bibtex, style=science]{biblatex}

usepackage{subcaption}
usepackage{filecontents}

begin{filecontents}{vorlage.bib}

@article{test1,
author = {Shen Lin and Brian W. Kernighan},
title = {An Effective Heuristic Algorithm for the Travelling-Salesman Problem},
journal = {Operations Research},
volume = {21},
year = {1973},
pages = {498--516},
}

@BOOK{test,
title = {The Infamous Test},
publisher = {Testington Test},
year = {2007},
author = {John Doe},
address = {Testville},
}

@ARTICLE{test2,
author = {Testi, T.},
year = {2003},
title = {Testartikel},
journal = {Testjournal}
}
end{filecontents}



% Hacky fix to citation
makeatletter
defblx@maxline{77}
makeatother

% Add bibliography file
bibliography{vorlage.bib}

begin{document}

begin{frame}
frametitle{Introduction and motivation - the title}
section[Motivation]{Introduction and motivation}
begin{figure}
centering
begin{subfigure}{.45textwidth}
centering
includegraphics[width=linewidth]{example-image}
caption{A subfigure footfullcite{test}}
label{fig:sub1}
end{subfigure}%
begin{subfigure}{.45textwidth}
centering
includegraphics[width=linewidth]{example-image}
caption{A subfigure footfullcite{test1}}
label{fig:sub2}
end{subfigure}
caption{A figure with two subfigures footfullcite{test2}}
label{fig:test}
end{figure}
end{frame}

end{document}



This will produce the following result:



enter image description here



and you can see that the citation is stuck underneath each subfigure instead of gathering all at the bottom of the page.










share|improve this question
















I'm trying to include a citation in a beamer frame following the instruction here. However, I couldn't figure out how to place them inside a subfigure environment. Namely, my code:



begin{frame}
frametitle{Reactive-transport systems}
begin{figure}
centering
begin{subfigure}{0.45textwidth}
includegraphics[width=0.45textwidth]{Chabanon2017.jpg}
caption{Here is text footfullcite{Chabanon2017}}
end{subfigure}
begin{subfigure}{0.45textwidth}
includegraphics[width=0.45textwidth]{Steefel2005.jpg}
caption{Here is text footfullcite{Steefel2005}}
end{subfigure}
end{figure}
end{frame}


And this is what I'm seeing: enter image description here



Any suggestions on how to go around it?



EDIT: Add minimal working example:



documentclass{beamer}

usepackage{pgf}
usepackage{xcolor}
usepackage[utf8]{inputenc}
% Citation
usepackage[backend=bibtex, style=science]{biblatex}

usepackage{subcaption}
usepackage{filecontents}

begin{filecontents}{vorlage.bib}

@article{test1,
author = {Shen Lin and Brian W. Kernighan},
title = {An Effective Heuristic Algorithm for the Travelling-Salesman Problem},
journal = {Operations Research},
volume = {21},
year = {1973},
pages = {498--516},
}

@BOOK{test,
title = {The Infamous Test},
publisher = {Testington Test},
year = {2007},
author = {John Doe},
address = {Testville},
}

@ARTICLE{test2,
author = {Testi, T.},
year = {2003},
title = {Testartikel},
journal = {Testjournal}
}
end{filecontents}



% Hacky fix to citation
makeatletter
defblx@maxline{77}
makeatother

% Add bibliography file
bibliography{vorlage.bib}

begin{document}

begin{frame}
frametitle{Introduction and motivation - the title}
section[Motivation]{Introduction and motivation}
begin{figure}
centering
begin{subfigure}{.45textwidth}
centering
includegraphics[width=linewidth]{example-image}
caption{A subfigure footfullcite{test}}
label{fig:sub1}
end{subfigure}%
begin{subfigure}{.45textwidth}
centering
includegraphics[width=linewidth]{example-image}
caption{A subfigure footfullcite{test1}}
label{fig:sub2}
end{subfigure}
caption{A figure with two subfigures footfullcite{test2}}
label{fig:test}
end{figure}
end{frame}

end{document}



This will produce the following result:



enter image description here



and you can see that the citation is stuck underneath each subfigure instead of gathering all at the bottom of the page.







beamer biblatex multiple-citations






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 14 at 17:11







Quang Thinh Ha

















asked Mar 14 at 16:47









Quang Thinh HaQuang Thinh Ha

1917




1917








  • 3





    Can you make a minimal working example (MWE)?

    – samcarter
    Mar 14 at 16:53











  • @samcarter I just did with the edit

    – Quang Thinh Ha
    Mar 14 at 17:09






  • 1





    Thanks for the edit

    – samcarter
    Mar 14 at 17:09














  • 3





    Can you make a minimal working example (MWE)?

    – samcarter
    Mar 14 at 16:53











  • @samcarter I just did with the edit

    – Quang Thinh Ha
    Mar 14 at 17:09






  • 1





    Thanks for the edit

    – samcarter
    Mar 14 at 17:09








3




3





Can you make a minimal working example (MWE)?

– samcarter
Mar 14 at 16:53





Can you make a minimal working example (MWE)?

– samcarter
Mar 14 at 16:53













@samcarter I just did with the edit

– Quang Thinh Ha
Mar 14 at 17:09





@samcarter I just did with the edit

– Quang Thinh Ha
Mar 14 at 17:09




1




1





Thanks for the edit

– samcarter
Mar 14 at 17:09





Thanks for the edit

– samcarter
Mar 14 at 17:09










2 Answers
2






active

oldest

votes


















4














Based on Footfullcitetext and beamer: incremental numbering you could work around the problem like this:



documentclass{beamer}

%usepackage{pgf}
%usepackage{xcolor}
usepackage[utf8]{inputenc}
% Citation
usepackage[style=science]{biblatex}

usepackage{subcaption}
usepackage{filecontents}

begin{filecontents}{vorlage.bib}

@article{test1,
author = {Shen Lin and Brian W. Kernighan},
title = {An Effective Heuristic Algorithm for the Travelling-Salesman Problem},
journal = {Operations Research},
volume = {21},
year = {1973},
pages = {498--516},
}

@BOOK{test,
title = {The Infamous Test},
publisher = {Testington Test},
year = {2007},
author = {John Doe},
address = {Testville},
}

@ARTICLE{test2,
author = {Testi, T.},
year = {2003},
title = {Testartikel},
journal = {Testjournal}
}
end{filecontents}



% Hacky fix to citation
makeatletter
defblx@maxline{77}
makeatother

% Add bibliography file
bibliography{vorlage.bib}


DeclareCiteCommand{footfullcitetext}[mkbibfootnotetext]
{usebibmacro{prenote}}
{usedriver
{DeclareNameAlias{sortname}{default}}
{thefield{entrytype}}}
{multicitedelim}
{usebibmacro{postnote}}


begin{document}

begin{frame}
frametitle{Introduction and motivation - the title}
section[Motivation]{Introduction and motivation}
begin{figure}
centering
begin{subfigure}{.45textwidth}
centering
includegraphics[width=linewidth]{example-image}
caption{A subfigurefootnotemark[1]}
label{fig:sub1}
end{subfigure}%
begin{subfigure}{.45textwidth}
centering
includegraphics[width=linewidth]{example-image}
caption{A subfigurefootnotemark[2]}
label{fig:sub2}
end{subfigure}
caption{A figure with two subfiguresfootnotemark[3]}
label{fig:test}
end{figure}

addtocounter{footnote}{1}
footfullcitetext{test}
addtocounter{footnote}{1}
footfullcitetext{test1}
addtocounter{footnote}{1}
footfullcitetext{test2}
end{frame}

end{document}


enter image description here






share|improve this answer
























  • Thank you very much for your prompt response!

    – Quang Thinh Ha
    Mar 14 at 17:30











  • @QuangThinhHa You're welcome!

    – samcarter
    Mar 14 at 17:35



















2














An alternative to @samcarter's since I done it before see the answer:



documentclass{beamer}

usepackage{pgf}
usepackage{xcolor}
usepackage[utf8]{inputenc}
% Citation
usepackage[backend=bibtex, style=science]{biblatex}

usepackage{subcaption}
usepackage{filecontents}
newsavebox{mybox}

begin{filecontents}{vorlage.bib}

@article{test1,
author = {Shen Lin and Brian W. Kernighan},
title = {An Effective Heuristic Algorithm for the Travelling-Salesman Problem},
journal = {Operations Research},
volume = {21},
year = {1973},
pages = {498--516},
}

@BOOK{test,
title = {The Infamous Test},
publisher = {Testington Test},
year = {2007},
author = {John Doe},
address = {Testville},
}

@ARTICLE{test2,
author = {Testi, T.},
year = {2003},
title = {Testartikel},
journal = {Testjournal}
}
end{filecontents}



% Hacky fix to citation
makeatletter
defblx@maxline{77}
makeatother

% Add bibliography file
bibliography{vorlage.bib}

begin{document}

begin{frame}
frametitle{Introduction and motivation - the title}
section[Motivation]{Introduction and motivation}
begin{figure}
centering
begin{subfigure}{.45textwidth}
centering
includegraphics[width=linewidth]{example-image}
caption{A subfigurefootnotemark[1]}% footfullcite{test}}
label{fig:sub1}
end{subfigure}%
begin{subfigure}{.45textwidth}
centering
includegraphics[width=linewidth]{example-image}
caption{A subfigure footnotemark[2]}
label{fig:sub2}
end{subfigure}
caption{A figure with two subfiguresfootnotemark[3]}% footfullcite{test2}}
label{fig:test}
end{figure}
sbox1{hbox{footfullcite[1]{test}
footfullcite[2]{test1}
footfullcite[3]{test2}}}
end{frame}

end{document}


PS: The output is the same but I just used the footnotemark trick and let the footfullcite commands to be expanded inside an sbox (but actually outside of it). The good part is that no need of advanced bib(La)TeX knowledge is needed...






share|improve this answer





















  • 2





    Nice trick with the sbox!

    – samcarter
    Mar 14 at 17:47











  • Thanks @samcarter

    – koleygr
    Mar 14 at 21:17











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%2f479510%2fcitation-at-the-bottom-for-subfigures-in-beamer-frame%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes









4














Based on Footfullcitetext and beamer: incremental numbering you could work around the problem like this:



documentclass{beamer}

%usepackage{pgf}
%usepackage{xcolor}
usepackage[utf8]{inputenc}
% Citation
usepackage[style=science]{biblatex}

usepackage{subcaption}
usepackage{filecontents}

begin{filecontents}{vorlage.bib}

@article{test1,
author = {Shen Lin and Brian W. Kernighan},
title = {An Effective Heuristic Algorithm for the Travelling-Salesman Problem},
journal = {Operations Research},
volume = {21},
year = {1973},
pages = {498--516},
}

@BOOK{test,
title = {The Infamous Test},
publisher = {Testington Test},
year = {2007},
author = {John Doe},
address = {Testville},
}

@ARTICLE{test2,
author = {Testi, T.},
year = {2003},
title = {Testartikel},
journal = {Testjournal}
}
end{filecontents}



% Hacky fix to citation
makeatletter
defblx@maxline{77}
makeatother

% Add bibliography file
bibliography{vorlage.bib}


DeclareCiteCommand{footfullcitetext}[mkbibfootnotetext]
{usebibmacro{prenote}}
{usedriver
{DeclareNameAlias{sortname}{default}}
{thefield{entrytype}}}
{multicitedelim}
{usebibmacro{postnote}}


begin{document}

begin{frame}
frametitle{Introduction and motivation - the title}
section[Motivation]{Introduction and motivation}
begin{figure}
centering
begin{subfigure}{.45textwidth}
centering
includegraphics[width=linewidth]{example-image}
caption{A subfigurefootnotemark[1]}
label{fig:sub1}
end{subfigure}%
begin{subfigure}{.45textwidth}
centering
includegraphics[width=linewidth]{example-image}
caption{A subfigurefootnotemark[2]}
label{fig:sub2}
end{subfigure}
caption{A figure with two subfiguresfootnotemark[3]}
label{fig:test}
end{figure}

addtocounter{footnote}{1}
footfullcitetext{test}
addtocounter{footnote}{1}
footfullcitetext{test1}
addtocounter{footnote}{1}
footfullcitetext{test2}
end{frame}

end{document}


enter image description here






share|improve this answer
























  • Thank you very much for your prompt response!

    – Quang Thinh Ha
    Mar 14 at 17:30











  • @QuangThinhHa You're welcome!

    – samcarter
    Mar 14 at 17:35
















4














Based on Footfullcitetext and beamer: incremental numbering you could work around the problem like this:



documentclass{beamer}

%usepackage{pgf}
%usepackage{xcolor}
usepackage[utf8]{inputenc}
% Citation
usepackage[style=science]{biblatex}

usepackage{subcaption}
usepackage{filecontents}

begin{filecontents}{vorlage.bib}

@article{test1,
author = {Shen Lin and Brian W. Kernighan},
title = {An Effective Heuristic Algorithm for the Travelling-Salesman Problem},
journal = {Operations Research},
volume = {21},
year = {1973},
pages = {498--516},
}

@BOOK{test,
title = {The Infamous Test},
publisher = {Testington Test},
year = {2007},
author = {John Doe},
address = {Testville},
}

@ARTICLE{test2,
author = {Testi, T.},
year = {2003},
title = {Testartikel},
journal = {Testjournal}
}
end{filecontents}



% Hacky fix to citation
makeatletter
defblx@maxline{77}
makeatother

% Add bibliography file
bibliography{vorlage.bib}


DeclareCiteCommand{footfullcitetext}[mkbibfootnotetext]
{usebibmacro{prenote}}
{usedriver
{DeclareNameAlias{sortname}{default}}
{thefield{entrytype}}}
{multicitedelim}
{usebibmacro{postnote}}


begin{document}

begin{frame}
frametitle{Introduction and motivation - the title}
section[Motivation]{Introduction and motivation}
begin{figure}
centering
begin{subfigure}{.45textwidth}
centering
includegraphics[width=linewidth]{example-image}
caption{A subfigurefootnotemark[1]}
label{fig:sub1}
end{subfigure}%
begin{subfigure}{.45textwidth}
centering
includegraphics[width=linewidth]{example-image}
caption{A subfigurefootnotemark[2]}
label{fig:sub2}
end{subfigure}
caption{A figure with two subfiguresfootnotemark[3]}
label{fig:test}
end{figure}

addtocounter{footnote}{1}
footfullcitetext{test}
addtocounter{footnote}{1}
footfullcitetext{test1}
addtocounter{footnote}{1}
footfullcitetext{test2}
end{frame}

end{document}


enter image description here






share|improve this answer
























  • Thank you very much for your prompt response!

    – Quang Thinh Ha
    Mar 14 at 17:30











  • @QuangThinhHa You're welcome!

    – samcarter
    Mar 14 at 17:35














4












4








4







Based on Footfullcitetext and beamer: incremental numbering you could work around the problem like this:



documentclass{beamer}

%usepackage{pgf}
%usepackage{xcolor}
usepackage[utf8]{inputenc}
% Citation
usepackage[style=science]{biblatex}

usepackage{subcaption}
usepackage{filecontents}

begin{filecontents}{vorlage.bib}

@article{test1,
author = {Shen Lin and Brian W. Kernighan},
title = {An Effective Heuristic Algorithm for the Travelling-Salesman Problem},
journal = {Operations Research},
volume = {21},
year = {1973},
pages = {498--516},
}

@BOOK{test,
title = {The Infamous Test},
publisher = {Testington Test},
year = {2007},
author = {John Doe},
address = {Testville},
}

@ARTICLE{test2,
author = {Testi, T.},
year = {2003},
title = {Testartikel},
journal = {Testjournal}
}
end{filecontents}



% Hacky fix to citation
makeatletter
defblx@maxline{77}
makeatother

% Add bibliography file
bibliography{vorlage.bib}


DeclareCiteCommand{footfullcitetext}[mkbibfootnotetext]
{usebibmacro{prenote}}
{usedriver
{DeclareNameAlias{sortname}{default}}
{thefield{entrytype}}}
{multicitedelim}
{usebibmacro{postnote}}


begin{document}

begin{frame}
frametitle{Introduction and motivation - the title}
section[Motivation]{Introduction and motivation}
begin{figure}
centering
begin{subfigure}{.45textwidth}
centering
includegraphics[width=linewidth]{example-image}
caption{A subfigurefootnotemark[1]}
label{fig:sub1}
end{subfigure}%
begin{subfigure}{.45textwidth}
centering
includegraphics[width=linewidth]{example-image}
caption{A subfigurefootnotemark[2]}
label{fig:sub2}
end{subfigure}
caption{A figure with two subfiguresfootnotemark[3]}
label{fig:test}
end{figure}

addtocounter{footnote}{1}
footfullcitetext{test}
addtocounter{footnote}{1}
footfullcitetext{test1}
addtocounter{footnote}{1}
footfullcitetext{test2}
end{frame}

end{document}


enter image description here






share|improve this answer













Based on Footfullcitetext and beamer: incremental numbering you could work around the problem like this:



documentclass{beamer}

%usepackage{pgf}
%usepackage{xcolor}
usepackage[utf8]{inputenc}
% Citation
usepackage[style=science]{biblatex}

usepackage{subcaption}
usepackage{filecontents}

begin{filecontents}{vorlage.bib}

@article{test1,
author = {Shen Lin and Brian W. Kernighan},
title = {An Effective Heuristic Algorithm for the Travelling-Salesman Problem},
journal = {Operations Research},
volume = {21},
year = {1973},
pages = {498--516},
}

@BOOK{test,
title = {The Infamous Test},
publisher = {Testington Test},
year = {2007},
author = {John Doe},
address = {Testville},
}

@ARTICLE{test2,
author = {Testi, T.},
year = {2003},
title = {Testartikel},
journal = {Testjournal}
}
end{filecontents}



% Hacky fix to citation
makeatletter
defblx@maxline{77}
makeatother

% Add bibliography file
bibliography{vorlage.bib}


DeclareCiteCommand{footfullcitetext}[mkbibfootnotetext]
{usebibmacro{prenote}}
{usedriver
{DeclareNameAlias{sortname}{default}}
{thefield{entrytype}}}
{multicitedelim}
{usebibmacro{postnote}}


begin{document}

begin{frame}
frametitle{Introduction and motivation - the title}
section[Motivation]{Introduction and motivation}
begin{figure}
centering
begin{subfigure}{.45textwidth}
centering
includegraphics[width=linewidth]{example-image}
caption{A subfigurefootnotemark[1]}
label{fig:sub1}
end{subfigure}%
begin{subfigure}{.45textwidth}
centering
includegraphics[width=linewidth]{example-image}
caption{A subfigurefootnotemark[2]}
label{fig:sub2}
end{subfigure}
caption{A figure with two subfiguresfootnotemark[3]}
label{fig:test}
end{figure}

addtocounter{footnote}{1}
footfullcitetext{test}
addtocounter{footnote}{1}
footfullcitetext{test1}
addtocounter{footnote}{1}
footfullcitetext{test2}
end{frame}

end{document}


enter image description here







share|improve this answer












share|improve this answer



share|improve this answer










answered Mar 14 at 17:16









samcartersamcarter

92.7k7105299




92.7k7105299













  • Thank you very much for your prompt response!

    – Quang Thinh Ha
    Mar 14 at 17:30











  • @QuangThinhHa You're welcome!

    – samcarter
    Mar 14 at 17:35



















  • Thank you very much for your prompt response!

    – Quang Thinh Ha
    Mar 14 at 17:30











  • @QuangThinhHa You're welcome!

    – samcarter
    Mar 14 at 17:35

















Thank you very much for your prompt response!

– Quang Thinh Ha
Mar 14 at 17:30





Thank you very much for your prompt response!

– Quang Thinh Ha
Mar 14 at 17:30













@QuangThinhHa You're welcome!

– samcarter
Mar 14 at 17:35





@QuangThinhHa You're welcome!

– samcarter
Mar 14 at 17:35











2














An alternative to @samcarter's since I done it before see the answer:



documentclass{beamer}

usepackage{pgf}
usepackage{xcolor}
usepackage[utf8]{inputenc}
% Citation
usepackage[backend=bibtex, style=science]{biblatex}

usepackage{subcaption}
usepackage{filecontents}
newsavebox{mybox}

begin{filecontents}{vorlage.bib}

@article{test1,
author = {Shen Lin and Brian W. Kernighan},
title = {An Effective Heuristic Algorithm for the Travelling-Salesman Problem},
journal = {Operations Research},
volume = {21},
year = {1973},
pages = {498--516},
}

@BOOK{test,
title = {The Infamous Test},
publisher = {Testington Test},
year = {2007},
author = {John Doe},
address = {Testville},
}

@ARTICLE{test2,
author = {Testi, T.},
year = {2003},
title = {Testartikel},
journal = {Testjournal}
}
end{filecontents}



% Hacky fix to citation
makeatletter
defblx@maxline{77}
makeatother

% Add bibliography file
bibliography{vorlage.bib}

begin{document}

begin{frame}
frametitle{Introduction and motivation - the title}
section[Motivation]{Introduction and motivation}
begin{figure}
centering
begin{subfigure}{.45textwidth}
centering
includegraphics[width=linewidth]{example-image}
caption{A subfigurefootnotemark[1]}% footfullcite{test}}
label{fig:sub1}
end{subfigure}%
begin{subfigure}{.45textwidth}
centering
includegraphics[width=linewidth]{example-image}
caption{A subfigure footnotemark[2]}
label{fig:sub2}
end{subfigure}
caption{A figure with two subfiguresfootnotemark[3]}% footfullcite{test2}}
label{fig:test}
end{figure}
sbox1{hbox{footfullcite[1]{test}
footfullcite[2]{test1}
footfullcite[3]{test2}}}
end{frame}

end{document}


PS: The output is the same but I just used the footnotemark trick and let the footfullcite commands to be expanded inside an sbox (but actually outside of it). The good part is that no need of advanced bib(La)TeX knowledge is needed...






share|improve this answer





















  • 2





    Nice trick with the sbox!

    – samcarter
    Mar 14 at 17:47











  • Thanks @samcarter

    – koleygr
    Mar 14 at 21:17
















2














An alternative to @samcarter's since I done it before see the answer:



documentclass{beamer}

usepackage{pgf}
usepackage{xcolor}
usepackage[utf8]{inputenc}
% Citation
usepackage[backend=bibtex, style=science]{biblatex}

usepackage{subcaption}
usepackage{filecontents}
newsavebox{mybox}

begin{filecontents}{vorlage.bib}

@article{test1,
author = {Shen Lin and Brian W. Kernighan},
title = {An Effective Heuristic Algorithm for the Travelling-Salesman Problem},
journal = {Operations Research},
volume = {21},
year = {1973},
pages = {498--516},
}

@BOOK{test,
title = {The Infamous Test},
publisher = {Testington Test},
year = {2007},
author = {John Doe},
address = {Testville},
}

@ARTICLE{test2,
author = {Testi, T.},
year = {2003},
title = {Testartikel},
journal = {Testjournal}
}
end{filecontents}



% Hacky fix to citation
makeatletter
defblx@maxline{77}
makeatother

% Add bibliography file
bibliography{vorlage.bib}

begin{document}

begin{frame}
frametitle{Introduction and motivation - the title}
section[Motivation]{Introduction and motivation}
begin{figure}
centering
begin{subfigure}{.45textwidth}
centering
includegraphics[width=linewidth]{example-image}
caption{A subfigurefootnotemark[1]}% footfullcite{test}}
label{fig:sub1}
end{subfigure}%
begin{subfigure}{.45textwidth}
centering
includegraphics[width=linewidth]{example-image}
caption{A subfigure footnotemark[2]}
label{fig:sub2}
end{subfigure}
caption{A figure with two subfiguresfootnotemark[3]}% footfullcite{test2}}
label{fig:test}
end{figure}
sbox1{hbox{footfullcite[1]{test}
footfullcite[2]{test1}
footfullcite[3]{test2}}}
end{frame}

end{document}


PS: The output is the same but I just used the footnotemark trick and let the footfullcite commands to be expanded inside an sbox (but actually outside of it). The good part is that no need of advanced bib(La)TeX knowledge is needed...






share|improve this answer





















  • 2





    Nice trick with the sbox!

    – samcarter
    Mar 14 at 17:47











  • Thanks @samcarter

    – koleygr
    Mar 14 at 21:17














2












2








2







An alternative to @samcarter's since I done it before see the answer:



documentclass{beamer}

usepackage{pgf}
usepackage{xcolor}
usepackage[utf8]{inputenc}
% Citation
usepackage[backend=bibtex, style=science]{biblatex}

usepackage{subcaption}
usepackage{filecontents}
newsavebox{mybox}

begin{filecontents}{vorlage.bib}

@article{test1,
author = {Shen Lin and Brian W. Kernighan},
title = {An Effective Heuristic Algorithm for the Travelling-Salesman Problem},
journal = {Operations Research},
volume = {21},
year = {1973},
pages = {498--516},
}

@BOOK{test,
title = {The Infamous Test},
publisher = {Testington Test},
year = {2007},
author = {John Doe},
address = {Testville},
}

@ARTICLE{test2,
author = {Testi, T.},
year = {2003},
title = {Testartikel},
journal = {Testjournal}
}
end{filecontents}



% Hacky fix to citation
makeatletter
defblx@maxline{77}
makeatother

% Add bibliography file
bibliography{vorlage.bib}

begin{document}

begin{frame}
frametitle{Introduction and motivation - the title}
section[Motivation]{Introduction and motivation}
begin{figure}
centering
begin{subfigure}{.45textwidth}
centering
includegraphics[width=linewidth]{example-image}
caption{A subfigurefootnotemark[1]}% footfullcite{test}}
label{fig:sub1}
end{subfigure}%
begin{subfigure}{.45textwidth}
centering
includegraphics[width=linewidth]{example-image}
caption{A subfigure footnotemark[2]}
label{fig:sub2}
end{subfigure}
caption{A figure with two subfiguresfootnotemark[3]}% footfullcite{test2}}
label{fig:test}
end{figure}
sbox1{hbox{footfullcite[1]{test}
footfullcite[2]{test1}
footfullcite[3]{test2}}}
end{frame}

end{document}


PS: The output is the same but I just used the footnotemark trick and let the footfullcite commands to be expanded inside an sbox (but actually outside of it). The good part is that no need of advanced bib(La)TeX knowledge is needed...






share|improve this answer















An alternative to @samcarter's since I done it before see the answer:



documentclass{beamer}

usepackage{pgf}
usepackage{xcolor}
usepackage[utf8]{inputenc}
% Citation
usepackage[backend=bibtex, style=science]{biblatex}

usepackage{subcaption}
usepackage{filecontents}
newsavebox{mybox}

begin{filecontents}{vorlage.bib}

@article{test1,
author = {Shen Lin and Brian W. Kernighan},
title = {An Effective Heuristic Algorithm for the Travelling-Salesman Problem},
journal = {Operations Research},
volume = {21},
year = {1973},
pages = {498--516},
}

@BOOK{test,
title = {The Infamous Test},
publisher = {Testington Test},
year = {2007},
author = {John Doe},
address = {Testville},
}

@ARTICLE{test2,
author = {Testi, T.},
year = {2003},
title = {Testartikel},
journal = {Testjournal}
}
end{filecontents}



% Hacky fix to citation
makeatletter
defblx@maxline{77}
makeatother

% Add bibliography file
bibliography{vorlage.bib}

begin{document}

begin{frame}
frametitle{Introduction and motivation - the title}
section[Motivation]{Introduction and motivation}
begin{figure}
centering
begin{subfigure}{.45textwidth}
centering
includegraphics[width=linewidth]{example-image}
caption{A subfigurefootnotemark[1]}% footfullcite{test}}
label{fig:sub1}
end{subfigure}%
begin{subfigure}{.45textwidth}
centering
includegraphics[width=linewidth]{example-image}
caption{A subfigure footnotemark[2]}
label{fig:sub2}
end{subfigure}
caption{A figure with two subfiguresfootnotemark[3]}% footfullcite{test2}}
label{fig:test}
end{figure}
sbox1{hbox{footfullcite[1]{test}
footfullcite[2]{test1}
footfullcite[3]{test2}}}
end{frame}

end{document}


PS: The output is the same but I just used the footnotemark trick and let the footfullcite commands to be expanded inside an sbox (but actually outside of it). The good part is that no need of advanced bib(La)TeX knowledge is needed...







share|improve this answer














share|improve this answer



share|improve this answer








edited Mar 14 at 17:46









samcarter

92.7k7105299




92.7k7105299










answered Mar 14 at 17:36









koleygrkoleygr

13k11038




13k11038








  • 2





    Nice trick with the sbox!

    – samcarter
    Mar 14 at 17:47











  • Thanks @samcarter

    – koleygr
    Mar 14 at 21:17














  • 2





    Nice trick with the sbox!

    – samcarter
    Mar 14 at 17:47











  • Thanks @samcarter

    – koleygr
    Mar 14 at 21:17








2




2





Nice trick with the sbox!

– samcarter
Mar 14 at 17:47





Nice trick with the sbox!

– samcarter
Mar 14 at 17:47













Thanks @samcarter

– koleygr
Mar 14 at 21:17





Thanks @samcarter

– koleygr
Mar 14 at 21:17


















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%2f479510%2fcitation-at-the-bottom-for-subfigures-in-beamer-frame%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

Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

ComboBox Display Member on multiple fields

Is it possible to collect Nectar points via Trainline?