Squiggled
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 all close allBasic Examples (3)
Scope (4)
Squiggle text in any expression:
Squiggled[Integrate[1 / (x ^ 3 + 1), {x, 0, 1}], Orange]By default, the typeset form of Squiggled[expr] evaluates to itself:
Squiggled["four"]"four"//InputFormThis can be changed using the option StripOnInput:
Squiggled["four", StripOnInput -> True]"four"//InputFormSquiggle text within graphics:
Graphics[{Disk[], Text[Squiggled["bob", Green], {1, 1}]}]Squiggle text within Graphics3D:
Graphics3D[{Sphere[], Text[Squiggled[x ^ 2 + y ^ 2 + z ^ 2 < 1, Black], {0, 0, 0}]}]Options (9)
Background (1)
FontColor (2)
FontFamily (1)
FontSlant (1)
FontWeight (1)
StripOnInput (2)
Create a squiggled output that evaluates to the first argument of Squiggled:
Squiggled[Defer[1 + 2], StripOnInput -> True]When the output is used as input, the Squiggled wrapper disappears:
Hold[1 + 2]When the hold is released, evaluation proceeds normally:
ReleaseHold[%]An explicit setting StripOnInput False is preserved when the output is used as input:
Squiggled[x + y, StripOnInput -> False]x + y//InputFormApplications (3)
Squiggle words that do not appear in the spelling dictionaries:
If[!DictionaryWordQ[#], Squiggled[#], #]& /@ TextWords[ExampleData[{"Text", "TheRaven"}]][[ ;; 150]]Squiggle snowfall totals from Buffalo that fall outside one standard deviation of the mean snowfall:
{mean, sd} = Through[{Mean, StandardDeviation}[ExampleData[{"Statistics", "BuffaloSnow"}]]]If[!Between[#, {mean - sd, mean + sd}], Squiggled[#, Orange], #]& /@ ExampleData[{"Statistics", "BuffaloSnow"}]Create an integral in which the integrand is squiggled:
Integrate[Squiggled[Cos[x], StripOnInput -> True], x]The output can be used as input to evaluate the integral:
∫Cos[x]ⅆxProperties & Relations (1)
Highlighted provides an alternative highlighting idiom:
{Squiggled[x], Highlighted[x]}Possible Issues (2)
Invalid color specifications will typeset without a squiggle:
Squiggled[foo, bar]Squiggled may not propagate to text nested within other typeset expressions, such as Graphics:
Squiggled[Graphics[Text["foo"]]]Wrap Squiggled tightly around the expression to format to avoid this:
Graphics[Text[Squiggled["foo"]]]See Also
Related Guides
History
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
BibTeX
@misc{reference.wolfram_2026_squiggled, author="Wolfram Research", title="{Squiggled}", year="2023", howpublished="\url{https://reference.wolfram.com/language/ref/Squiggled.html}", note=[Accessed: 12-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_squiggled, organization={Wolfram Research}, title={Squiggled}, year={2023}, url={https://reference.wolfram.com/language/ref/Squiggled.html}, note=[Accessed: 12-June-2026]}