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

Peter Flynn peter at silmaril.ie
Fri Jan 11 11:23:03 CET 2019


On 11/01/2019 00:06, Carlos wrote:
>> On Thu, Jan 10, 2019 at 07:48:43PM +0000, Peter Flynn wrote:
>> On 10/01/2019 15:15, Carlos wrote:
>>>
>>> I was just having the following:
>> [...]
>>> 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.
>>
>> I'm not clear what this means. All you have in the example is a
>> justification problem. As you cannot hyphenate 'among', you either need
>> to re-space the line  manually, or make the word-spacing more flexible,
>> perhaps just for that paragraph, eg \spaceskip=3pt plus2pt minus1pt
>>
>> ///Peter
> 
> 
> But the word 'among' is irrelevant here. If you were to have for
> example the following:
[snip]
> then there are clear problems with the whole paragraph. 

My point exactly. The spacing is too tight. Loosen it as I and others
have described.

> Perhaps I should have thought of a better word than textwidth, but
> the result is almost as bad as if I had specified a rightskip glue to
> attain it. So further changes with the values \spaceskip=3pt plus2pt
> minus1pt would be required.

Exactly. If you are setting type in a large size in a narrow measure,
you WILL get spacing and hyphenation/justification (H&J) problems.

///Peter



More information about the texhax mailing list