Is there a problem with using the cite package within a beamerposter? I'm trying to use it so that my references are ordered when I call \cite{ref1,ref2,ref3}, but I get the error:

./main.tex:333: Undefined control sequence.
\@cite@n ...mpcnta \m@ne \mathchardef \@cite@incr 
                                                  \z@ \let \@h@ld \@empty \l...

This is a sample source file which will generate the error. To test this, you will need to input your own .bib file with the appropriate references.


\usepackage[scale=1.24]{beamerposter} % Use the beamerposter package for laying out the poster

\usetheme{confposter} % Use the confposter theme supplied with this template

\setlength{\paperwidth}{48in} % A0 width: 46.8in
\setlength{\paperheight}{36in} % A0 height: 33.1in
\setlength{\sepwid}{0.024\paperwidth} % Separation width (white space) between columns
\setlength{\onecolwid}{0.22\paperwidth} % Width of one column
\setlength{\twocolwid}{0.464\paperwidth} % Width of two columns
\setlength{\threecolwid}{0.708\paperwidth} % Width of three columns
\setlength{\topmargin}{-0.5in} % Reduce the top margin size

\usepackage{graphicx}  % Required for including images

\usepackage{booktabs} % Top and bottom rules for tables


\title{TEST} % Poster title




\setlength{\belowcaptionskip}{2ex} % White space under figures
\setlength\belowdisplayshortskip{2ex} % White space under equations



    \begin{column}{\onecolwid} % The first column


        CITATIONS \cite{ref1,ref2}.  







Is it simply not possible to use the cite package with the beamerposter? Is there an alternative?

  • 1
    Please post not only the error message but a minimal example that gives rise to the error. – Mico Aug 23 '17 at 20:50
  • Use \cite{article-full,book-full} and \bibliography{xampl}, then everyone will be able to run your example directly (xampl.bib is included with BibTeX, I believe). – Torbjørn T. Aug 24 '17 at 14:13
  • Works fine if I insert some dummy citations from my .bib file. Please make a minimal working example with bibliography (MWEB) – samcarter_is_at_topanswers.xyz Aug 24 '17 at 14:14
  • Does it work with \usepackage[sort&compress,numbers]{natbib} instead of \usepackage{cite}? (@samcarter Hm, I could reproduce the error.) – Torbjørn T. Aug 24 '17 at 14:16
  • @TorbjørnT. Interesting! I used the following code pastebin.com/gqBeqrcU with pdflatex without problems. – samcarter_is_at_topanswers.xyz Aug 24 '17 at 14:19

The error does not occur with an up-to-date TeX Live 2017, so some of your packages appear to be outdated. If updating is not an option, an alternative to \usepackage{cite} is

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.