FontVariations

FontVariations
is an option for Style, Cell, and related constructs that specifies what font variations should be used.

DetailsDetails

  • The typical usage is FontVariations->{opt1->val1,opt2->val2,}.
  • The following options may be specified:
  • "CapsType""Normal"whether to use a caps font variation such as all caps or small caps
    "Outline"Falsewhether to draw characters as outlines
    "Shadow"Falsewhether to draw a shadow around characters
    "StrikeThrough"Falsewhether to draw strike-through line through characters
    "Underlight"Nonethe color used for highlighting characters with a wavy line in the underline position
    "Underline"Falsewhether to draw underlined characters

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

Underlined text:

In[1]:=
Click for copyable input
Out[1]=

Strike-through text:

In[2]:=
Click for copyable input
Out[2]=

Combine both:

In[3]:=
Click for copyable input
Out[3]=
Introduced in 1996
(3.0)
| Updated in 2016
(11.0)