Squiggled
Squiggled[expr]
displays expr with text underlined with a squiggly red underline.
Squiggled[expr,color]
displays squiggly using the specified color.
Details and Options
- Squiggled displays text with a wavy line in the underline position, such as is commonly used in spell checking.
- Squiggled can use any option that is documented to apply at the style level. This includes font options such as FontSize, FontWeight, FontSlant, FontFamily, FontColor and Background.
- By default, the typeset form of Squiggled[expr] evaluates to itself, including the Squiggled head. With the option StripOnInputTrue, the typeset form evaluates to expr without the Squiggled head. »
- Squiggled[expr,color] is effectively equivalent to Style[expr,FontVariations{"Underlight"color}].
Examples
open allclose allBasic Examples (3)
Scope (4)
Squiggle text in any expression:
By default, the typeset form of Squiggled[expr] evaluates to itself:
This can be changed using the option StripOnInput:
Squiggle text within graphics:
Squiggle text within Graphics3D:
Options (9)
FontColor (2)
StripOnInput (2)
Create a squiggled output that evaluates to the first argument of Squiggled:
When the output is used as input, the Squiggled wrapper disappears:
When the hold is released, evaluation proceeds normally:
An explicit setting StripOnInput False is preserved when the output is used as input:
Applications (3)
Properties & Relations (1)
Highlighted provides an alternative highlighting idiom:
Text
Wolfram Research (2023), Squiggled, Wolfram Language function, https://reference.wolfram.com/language/ref/Squiggled.html.
CMS
Wolfram Language. 2023. "Squiggled." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/Squiggled.html.
APA
Wolfram Language. (2023). Squiggled. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Squiggled.html