[luatex] [reference] description of tex.badness(t,s)
Philipp Gesang
Philipp.Gesang at alumni.uni-heidelberg.de
Tue Nov 27 13:30:20 CET 2012
Hi all,
the description of tex.badness does not appear to be entirely
right: the first argument is repeatedly referred to as “f” as
well as “t” (as in arithmetic.w).
Regards
Philipp
-------------- next part --------------
--- luatexref-t.tex.orig 2012-11-27 13:23:42.529564539 +0100
+++ luatexref-t.tex 2012-11-27 13:25:11.898774431 +0100
@@ -6933,12 +6933,12 @@
\subsubsection{\luatex{tex.badness} (0.53)}
\startfunctioncall
-<number> b = tex.badness(<number> f, <number> s)
+<number> b = tex.badness(<number> t, <number> s)
\stopfunctioncall
This helper function is useful
-during linebreak calculations. \type{f} and \type{s} are scaled values; the function
-returns the badness for when total \type{f} is supposed to be made from amounts
+during linebreak calculations. \type{t} and \type{s} are scaled values; the function
+returns the badness for when total \type{t} is supposed to be made from amounts
that sum to \type{s}. The returned number is a reasonable approximation of $100(t/s)^3$;
\subsubsection{\luatex{tex.linebreak} (0.53)}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://tug.org/pipermail/luatex/attachments/20121127/afb1a2c8/attachment.bin>
More information about the luatex
mailing list