aboutsummaryrefslogtreecommitdiff
path: root/doc/ref/text/flow.texi
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2023-09-13 00:01:28 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2023-09-13 00:01:28 +0200
commita82b6c772089aa46e30c6c89ef48f514294df3cb (patch)
treee25d9b6fd1fefe8b6ac293a5c0b53293872a8f54 /doc/ref/text/flow.texi
parentAdd basic documentation for lens. (diff)
parentEven more documentation. (diff)
downloadcalp-a82b6c772089aa46e30c6c89ef48f514294df3cb.tar.gz
calp-a82b6c772089aa46e30c6c89ef48f514294df3cb.tar.xz
Merge branch 'next' into datarewrite-structures
Diffstat (limited to 'doc/ref/text/flow.texi')
-rw-r--r--doc/ref/text/flow.texi23
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