Re: Memoir's overfull vboxes



On Tue, 21 Sep 2010 10:10:58 +0200, Lars Madsen wrote:

Mateus Araújo Santos wrote:
On Mon, 20 Sep 2010 10:24:31 +0200, Lars Madsen wrote:

Mateus Araújo Santos wrote:
On Sun, 19 Sep 2010 10:42:56 +0200, Lars Madsen wrote:

Mateus Araújo Santos wrote:
On Sun, 19 Sep 2010 09:51:51 +0200, Lars Madsen wrote:

Mateus Araújo Santos wrote:
Hi all,

I'm having a little trouble with a document I'm typesetting with
memoir: every other page throws the error "Overfull \vbox
(0.63503pt too high)". The pages appear to be random, there's no
visible defect in the output, and it's always exactly the same
amount.

Is it a known bug? Or is it actually a problem with my document?

I'm using the font Palatino; if I change the font the amount
changes (e.g., 0.80502pt for Latin Modern), but there is still no
noticeable effect.

My best regards,

Mateus Araújo




minimal example please (and information about which versions you
are using)

have you checked the headers?
You mean the page headers? Yes, they seem to be fine.


it IS the header, try adding

\pagestyle{plain}

also it does not happen if you remove the mathpazo

Here is a more minimal example

\documentclass[a4paper]{memoir}
\usepackage[T1]{fontenc}
\usepackage[sc,osf]{mathpazo}
%\addtolength\headheight{1pt}
\checkandfixthelayout
\begin{document}
%\section{Ana} % no problem

\section{An\'a} % gives problem
\end{document}

basically the font (with accents) is higher than the current setting
for the header (you will get the same problem with book or article
combined with the fancyhdr package

solution increase the headheight
I see. The thing is that the editor I was using (gedit-latex-plugin,
by Mr. Zeising) gobbles up the error messages, so the page numbers I
was seeing was in fact random, despite the error occurring in every
page.

\addtolength\headheight{1pt} fixes the problem.

But it is not particular of mathpazo. It seems that the only font
that does not give the problem is standard CM; Latin Modern does not
work. Also I've tested Times, which gives overfull vboxes as well

\documentclass[a4paper]{memoir}
%\usepackage{times}
\usepackage{mathpazo}
%\usepackage{lmodern}
%\addtolength\headheight{1pt}
%\checkandfixthelayout
\begin{document}
%\section{Ana} % no problem

\section{An\'a} % gives problem
\end{document}

But isn't this a bug with memoir? After all it should be able to
calculate the adequate headheight for a given font.




not it does not measure the head height, as I mentioned you get the
same problem with the fancyhdr package and the standard classes

at the point where the user set the layout, including the head height
the font may not the chosen yet

I'll add it to my todo list


I understand it's not an easy problem.

Thank you very much!



Yes, and I consider not fixing it (users can put everything inside the
headers, and usually it looks better if one use \small instead, so I'll
rather add a comment about this)


Well, if one is putting weird things into the headers one expects to have
to typeset it manually.

But it is unpleasant to make a pretty standard document that does not
Just Work.

It mustn't be that hard. After all, the standard classes can calculate
the headheight automatically.


--
entropy happens
.



Relevant Pages

  • Re: Memoirs overfull vboxes
    ... I'm using the font Palatino; if I change the font the amount ... You mean the page headers? ... which gives overfull vboxes as well ... But isn't this a bug with memoir? ...
    (comp.text.tex)
  • Re: Memoirs overfull vboxes
    ... I'm using the font Palatino; if I change the font the amount changes ... You mean the page headers? ... which gives overfull vboxes as well ... But isn't this a bug with memoir? ...
    (comp.text.tex)
  • Re: Memoirs overfull vboxes
    ... I'm using the font Palatino; if I change the font the amount changes ... You mean the page headers? ... which gives overfull vboxes as well ... But isn't this a bug with memoir? ...
    (comp.text.tex)
  • Re: Memoirs overfull vboxes
    ... I'm using the font Palatino; if I change the font the amount ... You mean the page headers? ... which gives overfull vboxes as well ... But isn't this a bug with memoir? ...
    (comp.text.tex)
  • Re: [OT] Anyone here a MS Word Expert?
    ... headers and footers. ... this makes it impossible to run the macro just once - I ... Select the new font you want the style to use, ...
    (rec.pets.cats.anecdotes)