help labsplitgraphfunctions (GitHub)

labsplit

: A program for text and word wrapping.

Syntax

labsplit variable, [ wrap(int) word(int) strict generate(newvar) ]

labsplit variable The command requires a string variable.

wrap(int) Wrap after int characters. The program will repect word boundaries and will not cut them off
unless strict is specified.

strict This option will chop off words defined by wrap() to maintain a strict text length per line.

word(int) Wrap at the int-th word.

generate(newvar) Generate a new variable name with wrapped labels. If not specified, the program will
save a new variable called _labsplit.

Examples

See GitHub.

Package details

Version : labsplit v1.1 in graphfunctions
This release : 08 Oct 2024
First release: 28 Sep 2024
Repository : GitHub
Keywords : Stata, graph, label wrap, text wrap, word wrap
License : MIT

Author : Asjad Naqvi
E-mail : asjadnaqvi@gmail.com
Twitter/X : @AsjadNaqvi

Feedback

Please submit bugs, errors, feature requests on GitHub by opening a new issue.

Citation guidelines

See graphfunctions.

Other packages

arcplot, alluvial, bimap, bumparea, bumpline, circlebar, circlepack, clipgeo, delaunay, graphfunctions, joyplot,
marimekko, polarspike, sankey, schemepack, spider, splinefit, streamplot, sunburst, ternary, treecluster, treemap, trimap, waffle

or visit GitHub.