[texhax] \fontsize & minipage

Kaja P. Christiansen kaja at daimi.au.dk
Thu May 6 14:17:54 CEST 2004


I encountered a weird problem. Consider:

  \documentclass[a4paper]{article}
  \begin{document}
  \fontsize{12}{14pt}\selectfont % Works fine
  %\fontsize{14}{17pt}\selectfont% Does not work, i.e. does not stretch
  \noindent\begin{minipage}[c][100mm][s]{\textwidth}
  XXX
  \vfill
  YYY
  \vfill
  ZZZ
  \end{minipage}
  \end{document}

If I choose \fontsize{12}{14pt}\selectfont, the minipage works as expected
(stretched vertically to 100mm). However, if I choose \fontsize{14}{17pt},
there is no stretch: minipage collapses and gives an overfull box:

 Overfull \vbox (34.04004pt too high) detected at line 11

Is it a bug or a feature? 

Cheers
Kaja



More information about the texhax mailing list