I'm using the following script in beamer to locate our logo at the right-most corner of all pages in the presentation,
\begin{textblock}{5}(10.0, \dimexpr 0.5\headheight - 7.5pt )
\includegraphics[width=40pt]{logo.png}
\end{textblock}
The placement of the textblock in the page is fine, however there is an undesired equal sign (see added image) in the page. It's the first time I use \dimexpr, do I make a mistake?

I think this undesired equal sign comes from \dimexpr 0.5\headheight - 7.5pt this part of script. Because when I replace it with, for example, 1, the equal sign goes.
I just tried to do something \dimexpr 15pt - 7.5pt it still gives an undesired equal sign.

warnings. I really wish I had time to create a perfect template. – zagy Nov 20 '12 at 9:21