File: filling.rst

package info (click to toggle)
libgnatcoll 1.6gpl2014-6
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 22,760 kB
  • ctags: 10,162
  • sloc: ada: 132,013; ansic: 94,291; python: 3,762; sh: 2,781; cpp: 1,394; makefile: 342; xml: 31; sql: 6
file content (16 lines) | stat: -rw-r--r-- 628 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
**************************************
**Paragraph filling**: formatting text
**************************************

.. index:: paragraph filling
.. index:: filling
.. index:: Knuth

The package `GNATCOLL.Paragraph_Filling` provides several algorithms for
filling paragraphs---formatting them to take up the minimal number of lines and
to look better. `Knuth_Fill` is based on an algorithm invented by Donald
Knuth, and used in TeX. `Pretty_Fill` uses a different algorithm, which
was judged by some to produce more aesthetically pleasing output.

More detailed documentation may be found in the comments in the package spec.