({{, (RefLink[FontSize, paclet:ref/FontSize])
is an option for (RefLink[Style, paclet:ref/Style]) and (RefLink[Cell, paclet:ref/Cell]) that specifies the default size in printer's points of the font in which to render text. }})

OpenersNotesSection(Spacer1)Details

The size of a font is typically taken to be the distance from the top of the highest character to the bottom of the lowest character.

A printer's point is approximately (1/72) of an inch.

Fonts with the same nominal point size may not look the same size to the eye.

In graphics, (RefLink[FontSize, paclet:ref/FontSize])->(RefLink[Scaled, paclet:ref/Scaled])[s] gives a font whose point size is a fraction s of the horizontal plot range.

OpenersPrimaryExamplesSection(Spacer1)Examples  (5)

OpenersExampleSection0(Spacer1)Basic Examples  (1)

Specify the font size in printer's points:

Table[Text[Style["ABC",FontSize->p]],{p,{12,24,36}}]

Specify the absolute font size using predefined symbolic values:

Table[Text[Style["ABC",FontSize->p]],{p,{Tiny,Small,Medium,Large}}]

OpenersExampleSection1(Spacer1)Scope  (4)

Specify the font size without using an option:

Table[Text[Style["ABC",s]],{s,{12,24,36}}]

Use relative font sizes:

Text[Style[{"ABC",Style["ABC",Smaller],Style["ABC",Larger]},24]]

Specify a font size that is 0.3 times the width of the graphic:

Graphics[Text[Style["ABC",FontSize->Scaled[.3]]]]

Making the graphic smaller makes the font get correspondingly smaller:

Show[%,ImageSize->{50,50}]

Font size can be specified in style-related options:

Plot[Sin[x],{x,0,10},LabelStyle->(FontSize->14)]

ContourPlot[Sin[x y],{x,0,1},{y,0,1},FrameStyle->Tiny]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[FontWeight, paclet:ref/FontWeight])  ▪  (RefLink[FontTracking, paclet:ref/FontTracking])  ▪  (RefLink[ScriptMinSize, paclet:ref/ScriptMinSize])  ▪  (RefLink[ScriptSizeMultipliers, paclet:ref/ScriptSizeMultipliers])  ▪  (RefLink[Style, paclet:ref/Style])  ▪  (RefLink[ImageSizeAction, paclet:ref/ImageSizeAction])}})}})

({{DocumentationFooterIconsRelatedTutorial.png, ({{Tutorials}, {▪(RefLinkPlain[Styles and Fonts in Output, paclet:tutorial/StylesAndFontsInOutput])}, {▪(RefLinkPlain[Text and Font Options, paclet:tutorial/TextAndFontOptions])}, {▪(RefLinkPlain[Formatted Output, paclet:tutorial/FormattedOutput])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[Font Options, paclet:guide/FontOptions])}, {▪(RefLinkPlain[Graphics Directives, paclet:guide/GraphicsDirectives])}, {▪(RefLinkPlain[Stylesheets, paclet:guide/Stylesheets])}})}})