Software Practice and Experience · 1981 · 192 citations · 5 references
ComputingComputer ScienceAlgorithmsComputational LinguisticsTypographyText GenerationText PreprocessingText RepresentationText StructureLine Breaking RulesPenalties
The paper introduces a new method for breaking paragraphs into lines of roughly equal length. The approach treats the paragraph as a whole, employing a dynamic‑programming algorithm based on boxes, glue, and penalties to determine optimal breakpoints without backtracking. Experiments confirm the method is efficient and produces high‑quality line breaks, and the paper also offers a brief history of line‑breaking techniques and a simplified algorithm.
Abstract This paper discusses a new approach to the problem of dividing the text of a paragraph into lines of approximately equal length. Instead of simply making decisions one line at a time, the method considers the paragraph as a whole, so that the final appearance of a given line might be influenced by the text on succeeding lines. A system based on three simple primitive concepts called ‘boxes’, ‘glue’, and ‘penalties’ provides the ability to deal satisfactorily with a wide variety of typesetting problems in a unified framework, using a single algorithm that determines optimum breakpoints. The algorithm avoids backtracking by a judicious use of the techniques of dynamic programming. Extensive computational experience confirms that the approach is both efficient and effective in producing high‐quality output. The paper concludes with a brief history of line‐breaking methods, and an appendix presents a simplified algorithm that requires comparatively few resources.
5
Edward H. Madden, Philip P. Wiener, Aaron Noland · Philosophy and Phenomenological Research · 1959 · 58 citations
Education, Philosophy, Epistemology +11
A Programming and Problem-Solving Seminar
Donald E. Knuth, Allan A. Miller · 1981 · 49 citations
J. F. Ossanna · 2008 · 22 citations