From 6f1310a8766c6ad491a4b7be714657f503d656e2 Mon Sep 17 00:00:00 2001 From: GloamXun Date: Fri, 23 Oct 2026 14:45:04 +0800 Subject: [PATCH] Document the narrow-measure tolerance approximation --- docs/TEX_CORE.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/TEX_CORE.md b/docs/TEX_CORE.md index c8b98c6..6223820 100755 --- a/docs/TEX_CORE.md +++ b/docs/TEX_CORE.md @@ -93,7 +93,10 @@ horizontally. The narrowest measures exercise hyphenated and overfull breaks (in final line held at its declared shrink limit), 130-160pt the final-pass overfull box, and 180-240pt ordinary tolerance solutions. Two further fixtures pin register behaviour at 120pt: `\pretolerance=10000` stops before hyphenation and `\hyphenpenalty=10000` -inhibits it, leaving the overfull first-fit lines TeX produces. Hyphenated paragraphs are compared at 80, 100 and 120pt, and a +inhibits it, leaving the overfull first-fit lines TeX produces. A +`\tolerance=10000` fixture matches pdfLaTeX at 100-240pt; at very narrow +measures (70/85pt) the demerits optimum still picks different hyphenated +breaks, which stays documented as a known approximation. Hyphenated paragraphs are compared at 80, 100 and 120pt, and a 70/85pt fixture runs with `\doublehyphendemerits` and `\finalhyphendemerits` at 0 and 10000 so the reference breaks change with the demerits. A 120pt fixture with `\hangindent=20pt \hangafter=1` checks every line origin