# [texhax] could someone give me an explanation as to why fontsize fails with an overfull box

Carlos linguafalsa at gmail.com
Fri Jan 11 02:07:03 CET 2019

>On Thu, Jan 10, 2019 at 09:33:06PM +0000, David Carlisle wrote:
>It just happens that there are no good line breaking possibilities in
>that paragraph, it is only slightly related to the font size. (that
>is, you could just as well keep the default 10pt font and change the
>text width and see the same).
>
>Putting  \sloppy before the text gives latex a bit more freedom to
>stretch white space and avoid an overfull box.

\sloppy seems to work. I would have expected to see an underfull
box, but I didn't.

but tweaking around with it so would a \tolerance=204 in that case

and going by your explanation back in 2015 when the question about
\sloppy and \fussy came around, you said that quote  but left it
[tolerance] at 9999, which is probably good for compatibility with
LaTeX2.09, but bad for everything else. endquote

https://tex.stackexchange.com/a/241355

why would

\def\sloppy{%
\tolerance 9999%
\emergencystretch 3em%
\hfuzz .5\p@
\vfuzz\hfuzz}

on the preamble returns undefined control sequence but yet fussy
doesn't,  is just beyond me.

Thanks David.
>
>On Thu, 10 Jan 2019 at 17:44, Carlos <linguafalsa at gmail.com> wrote:
>>
>>
>> I was just having the following:
>>
>>
>> \documentclass{article}
>> %\documentclass[14pt]{extarticle}
>>
>> %\usepackage{MinionPro}
>> \usepackage{mathptmx}
>> %\usepackage{libertine}
>> %\usepackage{fontspec}
>>
>> %\setmainfont{MinionPro}
>>
>> \setlength{\parindent}{9.94pt}
>>
>> \showoutput
>> \begin{document}
>>
>> %\fontsize{14.09}{14}\selectfont
>> \fontsize{14.0908}{17}\selectfont
>> %\fontsize{16.09}{17}\selectfont
>>
>> The reason is that upon restarting the computer, there are also other programs
>> that start running on the background, among them Antivirus programs and
>> whatever other programs Windows deems necessary for the functionality of
>> the system.
>>
>> \end{document}
>>
>>
>>
>>
>> Unfortunately I couldn't get past the 14.0908 for
>> the font size when having a math font for example
>> or a 16.09 when having anything else, before the
>> textwidth for the document got thrown off.
>>
>> Going by the TeXbook it says that \rightkip glue
>> is taken into consideration when badness and
>> demerits are computed, but I don't see any
>>
>> By looking at the output no penalty comes after
>> the first rightskip either, so I'm at a loss here.
>>
>> If anyone can clarify it for me, I'll appreciate
>> it.
>>
>> Thanks
>> Carlos
>> _______________________________________________
>> TeX FAQ: http://www.tex.ac.uk/faq
>> Mailing list archives: http://tug.org/pipermail/texhax/