I am trying to create a command for citations within Beamer slides. For this, I am creating a citation count that is used to number the citations and to stack them.

I have two problems:

  1. As you can see below, the value of the counter is the same within both citations (for the stacking part only) which results in the citations being written over each other

  2. The little numbers I use to indicate citations in-text are a space away from the word. I could just use negative hspace to fix this but I think there is a right way to do this (that will work both when I do or do not leave a space before the command

    enter image description here




        \put(0.95\paperwidth,0.07\paperheight + 12pt * {\value{citecounter}})
{\tiny{\textsuperscript{\thecitecounter}\rmfamily{ #1 }}}}}}%}


    Mr. Smith \mycite{Mr. Smith, THEJOURNAL,{\bf 00}, 000000 (0000)} showed that Mrs. Smith \mycite{Mrs. Smith, THEJOURNAL,{\bf 00}, 000000 (0000)} showed that they were right.

  • I am currently trying to figure out what went wrong with the MWE formatting. If you already know, please let me know or feel free to fix it yourself if you can. For now I can just say that the code will work only when the red one is replaced by "[1]"
    – Bananach
    Aug 7, 2016 at 10:24
  • As usual the value is not expanded timely. And even if it did, if there was an overlay of some sort it would count multiple times anyways. The point is references like that are frowned upon on a slide by the author. Just put a superscript number and be done with it.
    – percusse
    Aug 7, 2016 at 11:00

1 Answer 1


Why so complicate? If you want to formate your references by hand, simply use footnotes.


\setbeamertemplate{navigation symbols}{}


\def\@makefnmark{\hbox{{{\usebeamercolor[fg]{footnote mark}\usebeamerfont*{footnote mark}$^\@thefnmark$}}}}

    \def\insertfootnotetext{ #1}%
\hfill \usebeamertemplate***{footnote}}    



    Mr. Smith\footnote{\tiny Mr. Smith, THEJOURNAL,{\bfseries 00}, 000000 (0000)} showed that Mrs. Smith\footnote{\tiny Mrs. Smith, THEJOURNAL,{\bfseries 00}, 000000 (0000)} showed that they were right.

enter image description here

To get automatic references, maybe look e.g. into the \footcite command with biblatex.

  • Trying to use footcite, I get "I found no \citation commands---while reading file test.aux" when I use BibTex backend, or a footnote that only gives a number as: "\textsuperscript{1}1" when using biber
    – Bananach
    Aug 7, 2016 at 11:16
  • @Bananach see e.g. tex.stackexchange.com/questions/308038/… for an example of footcite Aug 7, 2016 at 11:19
  • Thanks. For future reference: \usepackage[backend=bibtex, style=verbose]{biblatex}
    – Bananach
    Aug 7, 2016 at 11:25
  • @Bananach If you are using biblatex don't limit yourself and if possible use backend=biber. Aug 7, 2016 at 11:27
  • 1
    @Bananach BTW some of your old questions have answers, which seem to solve the problem. Maybe consider accepting them of if they don't solve your problem, comment on them. Aug 7, 2016 at 11:30

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .