# \definedfont

## Syntax (autogenerated)

 \definedfont[...] [...] font

## Syntax

 \definefont[...] [...] identifier

## Description

This macro loads the font given in the identifier and immediately switches to that font. The identifier works in the same way as the second argument to \definefontsynonym: you can use either a font synonym or a real font.

## Example

```\definedfont[file:texgyrepagella-regular.otf at 72pt] Hello World!
```