-----------8<------------
\documentclass{beamer}
\usetheme{Warsaw}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{libertine}
\author{An Author}
\title{A Presentation}
\begin{document}
\begin{frame}
\maketitle
\end{frame}
\section{Intro}
\begin{frame}
\begin{enumerate}
\item Hey
\end{enumerate}
\end{frame}
\end{document}
-----------8<------------
The problem is only with the Biolinum font, i.e. the sans serif font
supplied by the libertine package. If you add
\usefonttheme{serif}
or even use a different sans serif font altogether, such as
\usepackage{helvet}
then the headline and footline boxes, as well as the enumerate list
marker, will have the correct heights. This happens with both TeXLive
and MikTeX.
While I know xelatex is one possible solution, does anyone know how to
solve this problem if one absolutely has to use pdflatex?
Many thanks in advance,
- Lian Tze -
> I'm using the Biolinum font (part of the libertine package) in a Beamer
> presentation. This used to work fine, until a recent slew of updates.
> Notice how, in the following, the heights of the headline and footline
> boxes are very small, almost as if they can't detect a font size.
That's obviously a bug in the font. It doesn't set the "ex" value
correctly. You should make a bug report.
You can reset the value, but I don't know how you can add this to
the beamer font command.
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{libertine}
\begin{document}
\sffamily x \rule{1ex}{1ex}
\rmfamily x \rule{1ex}{1ex}
\sffamily x \fontdimen5\font=\fontcharht\font`\x \rule{1ex}{1ex}
\end{document}
--
Ulrike Fischer
Thank you Ulrike. I've just discovered that a bug about this has indeed
been filed (and is still open). Funny how I didn't see it in the bug
list earlier this evening... *shamefaced*
Thanks again and best regards,
- Lian Tze -
put it in the last (6th) arg to the \DeclareFontShape command (that arg
is normally empty in .fd files) -- it'll then get executed every time
the font is selected.
--
Robin Fairbairns, Cambridge
my address is @cl.cam.ac.uk, regardless of the header. sorry about that.
Thank you, Robin, modifying the .fd files did the trick!
Can I also say a personal "thanks" for your hard and excellent work at
maintaining the FAQs? It remains my first reference whenever I'm
wondering how to do something.
Best regards,
- Lian Tze -