I am using this answer to define a DeclareCiteCommand which prints a bibkey as a footnote of a frame. I would like to add the keyentry so that the number is displayed as well.


    %minimum bib file
            author  = {Doe, Jhon and Doe2, Jhon2},
            title   = {Some journal article},
            journal = {Fancy Journal},
            year    = {2019},
            volume  = {56},
            number  = {3},
            pages   = {1-99},

    %cite command to get abbreviated citation in frame

    %tikz command to get footnote with source (could be defined in a general cite command if a newline could be define between each citations when multiple citation per frame)
        \begin{tikzpicture}[remember picture,overlay]
        \node[xshift=-0.5cm,yshift=0.3cm,above left] at (current page.south east) {\footnotesize %

        this relies on this article \cite{Doe2019}


output: MWE output

desired output (here I added the number manually but I want it automatic): desired output

I have tried adding \thefield{entrykey} after the prenote, as seen for articles, but I get undefined control sequence error in beamer... I am more used to TikZ or article class, but I am not a superuser, so please give explicit explanations for any advanced function so that I might be able to do more than copy/paste! :)

NB: I defined a \citeframe command to add keynumber in text and a \rightsource to add abbreviated citation as a footnote, but if you know how to get both with only one function (by changing cite for example) that would be all the better. Just beware that there could be multiple citations in one frame, then each citation should be displayed per line in the footnote.


You must log in to answer this question.

Browse other questions tagged .