aboutsummaryrefslogtreecommitdiff
path: root/doc/ref/text/flow.texi
blob: 0613d78f8fc8773015bbcb5fa6d4069fd5a81558 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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