[texhax] TeXbook p.29

Rodolfo Medina rodolfo.medina at gmail.com
Mon Jul 2 13:46:01 CEST 2018


David Carlisle <d.p.carlisle at gmail.com> writes:

> On 1 July 2018 at 23:38, Rodolfo Medina <rodolfo.medina at gmail.com> wrote:
>
>> Thanks...  What I was looking for, is to get the same result without using
>> \hboxes
>
> That wasn't at all clear from your question as you said you wanted to
> reproduce the texbook example, which  uses
>
> \begindisplay \hbadness10000
> \hbox spread-.666667em{The badness of this line is 100.}&
>   \quad(very tight)\cr
> \hbox spread-.333333em{The badness of this line is 12.}&
>   \quad(somewhat tight)\cr
> \hbox{The badness of this line is 0.}&
>   \quad(perfect)\cr
> \hbox spread.5em{The badness of this line is 12.}&
>   \quad(somewhat loose)\cr
> %\hbox spread 1em{The badness of this line is 100.}&
> % \quad(loose)\cr % then "looser"
> \hbox spread 1.259921em{The badness of this line is 200.}&
>   \quad(loose)\cr
> %\hbox spread 1.713em{The badness of this line is 500.}&
> % \quad(bad)\cr % then "worse"
> \hbox spread 2.155em{The badness of this line is 1000.}&
>   \quad(bad)\cr
> \hbox spread 3.684em{The badness of this line is 5000.}& % actually 4995!
>   \quad(awful)\cr
> \enddisplay


Ok, I'll try to better focus what I want and will write back again...  Thanks.

Rodolfo



More information about the texhax mailing list