FontFamily

FontFamily

is an option for Style and Cell that specifies the font family in which text should be rendered.

Details

  • Possible settings for FontFamily are given in the list $FontFamilies.
  • A common default is FontFamily->"Courier". Other common choices are "Times" and "Helvetica".
  • The Wolfram Language will combine settings for FontFamily, FontWeight, FontSlant, FontTracking, and sometimes FontSize to construct a complete name for the font you want. It will then use this name, together with any settings you have specified for FontPostScriptName and FontNativeName, to try to locate an appropriate font on your particular computer system.
  • When generating PostScript output on a printer or otherwise, settings you give for FontPostScriptName are typically used in preference to other font specifications.
  • The Wolfram Language will try making replacements for the font family name that you specify with the option FontSubstitutions.
  • The Wolfram Language by default uses heuristics such as translating "Helvetica" to "Geneva" for appropriate computer systems.

Examples

Basic Examples  (2)

Use "Courier" font family:

Use "Times" font family:

Use "Helvetica" font family:

Font family can be specified in style-related options:

Wolfram Research (1996), FontFamily, Wolfram Language function, https://reference.wolfram.com/language/ref/FontFamily.html (updated 2014).

Text

Wolfram Research (1996), FontFamily, Wolfram Language function, https://reference.wolfram.com/language/ref/FontFamily.html (updated 2014).

CMS

Wolfram Language. 1996. "FontFamily." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2014. https://reference.wolfram.com/language/ref/FontFamily.html.

APA

Wolfram Language. (1996). FontFamily. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/FontFamily.html

BibTeX

@misc{reference.wolfram_2024_fontfamily, author="Wolfram Research", title="{FontFamily}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/FontFamily.html}", note=[Accessed: 12-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_fontfamily, organization={Wolfram Research}, title={FontFamily}, year={2014}, url={https://reference.wolfram.com/language/ref/FontFamily.html}, note=[Accessed: 12-December-2024 ]}