diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-09-11 20:45:45 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-09-11 20:45:45 +0200 |
commit | e9d6798e9cf79d54f64171eda6fa9102fffe1f30 (patch) | |
tree | 19945d7681d075a6ee070eeb70f141d7f9262f8d /doc/ref/text/flow.texi | |
parent | Introduce stream-split-by. (diff) | |
download | calp-e9d6798e9cf79d54f64171eda6fa9102fffe1f30.tar.gz calp-e9d6798e9cf79d54f64171eda6fa9102fffe1f30.tar.xz |
Document text modules.
Diffstat (limited to 'doc/ref/text/flow.texi')
-rw-r--r-- | doc/ref/text/flow.texi | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/ref/text/flow.texi b/doc/ref/text/flow.texi new file mode 100644 index 00000000..0613d78f --- /dev/null +++ b/doc/ref/text/flow.texi @@ -0,0 +1,23 @@ +@node Reflowing Text +@section Reflowing Text + +@code{(text flow)} + +@defun flow-text str [width=70] +Reflow and justify @var{str} to @var{width} columns. + +Each newline is as a newline, so each paragraph needs to be on its own +line. The output will look something like the following: + +@example +muck calendar's Hobart's Kendall's lighthouse wooziest knot's swanky +Ghats's witless heftiness's hailstorm's ladybugs abridgment's +whispered Willemstad's ludo stewardess photostatic potshot ninety +perfected Potsdam asinine swings Valiums Adrenalin's contralto +emigration's besmears finessing resorption's literariness's +verbalize maximums Bjork diverticulitis cascaras implacably +overeager deepen funeral's Edwardian Calvinistic seawards microlight +palatial Shaun fungus's unmounted armrests Culbertson's lineage +@end example + +@end defun |