# Fonts in R TclTk

The following example illustrates how to specify the font to be used in Tk windows/widgets. If you explicitly add the option font = myFont to every widget you create (where possible), then you only have to change myFont in one place, if for example you wish to use a bigger font for a presentation with a projector. You may wish to define a few different fonts - one fixed width font, one font for headings, etc.

### Font selector

The tcltk2 package proposes a font-selector dialog box:

Select a different font, then…

… click OK.