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

Carlos linguafalsa at gmail.com
Fri Jan 11 01:06:04 CET 2019


>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:



\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
\spaceskip=3pt plus2pt minus1pt
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}


then there are clear problems with the whole paragraph. 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.

Carlos











>_______________________________________________
>TeX FAQ: http://www.tex.ac.uk/faq
>Mailing list archives: http://tug.org/pipermail/texhax/
>More links: http://tug.org/begin.html
>
>Automated subscription management: http://tug.org/mailman/listinfo/texhax
>Human mailing list managers: postmaster at tug.org


More information about the texhax mailing list