TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Hi I'm building from scratch a new beamer theme. I would like to define an option in the theme where I can define the conference name which can be used afterwards for the footline. Up to now I've done the following. In the main theme I've defined


and in the beameroutermytheme.sty I've defined the following


In the footline I've done the following

\usebeamerfont{section in head/foot}%
\insertshortauthor~-~\@date~-~\beamer@mytheme@conference \hfill 

Unfortunately it does not work although I can't understand why.

Any suggestion?

As asked I try to provide a working example. Actually I hope it works as I've done definition for all inner,outer,color and main theme. In any case the file theme beamerthemeMytheme.sty sounds like


The file beameroutermytheme.sty sounds like


% efda colors
% horizontal shading for footer

% define the heigth of the footer
%for date definition
% for page counting
    {0.3\beamer@mytheme@headheight}} \pgfusepath{clip}
  \pgftext [ left , base ]{\pgfuseshading{beamer@topshade}}
\begin{beamercolorbox}    [ht=0.3\beamer@mytheme@headheight,leftskip=.3cm,rightskip=.3cm,sep=0.1cm]{footlinecolor}
\usebeamerfont{section in head/foot}%
\insertshortauthor~-~\@date~-~\beamer@mytheme@conference \hfill 

Finally the example is the following

\begin{frame}{Prerequisites \& Goals}
\item Obviously some basic LaTeX knowledge is necessary
\item Some more features will be provided here
share|improve this question
Probably because you defined \beamer@jet@conference and later you tried to use it as \beamer@mytheme@conference – Claudio Fiandrino Apr 12 '12 at 13:01
Sorry the definition is consistent. Only in the question I prefer to avoid the real name of the theme. I've edited the question consistently. By the way in this way I think that the -1 vote can be avoided – Nicola Vianello Apr 12 '12 at 13:12
@NicolaVianello Please, try and show a real MWE. As it stands the question is not answerable. – egreg Apr 12 '12 at 13:13
I noticed you edit your question. I think the problem arises when you defined \beamer@mytheme@conference{} and the consequent option after \ProcessOptionsBeamer in your outer theme. – Claudio Fiandrino Apr 12 '12 at 13:40
up vote 2 down vote accepted

Let us suppose you named your main file beamerthemeX.sty. There you place your option as:


Then in your beamerouterthemeX.sty:


initially to define the option, while for the footline:

\defbeamertemplate*{footline}{X theme}[1]{
\begin{beamercolorbox}[ht=0.15\paperwidth,leftskip=.3cm,rightskip=.3cm,sep=0.1cm]{Location bar}
\usebeamerfont{section in head/foot}%
\insertshortauthor~-~\@date~-~\beamer@X@conference \hfill 

Now your presentation.tex will call:

share|improve this answer
Thanks a lot now it works. As far as I can understand I've forgotten the command \ProcessOptionsBeamer in the outer theme – Nicola Vianello Apr 13 '12 at 8:37
Exactly: you placed \ProcessOptionsBeamer before another option declaration. – Claudio Fiandrino Apr 13 '12 at 8:47

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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