Sometimes it is necessary to add the LaTeX [fragile]
option to a frame in beamer (for example, when using the
minted environment). This can be forced by adding the
fragile class to the heading introducing the slide:
# Fragile slide {.fragile}
All of the other frame attributes described in Section 8.1 of the Beamer
User’s Guide may also be used: allowdisplaybreaks,
allowframebreaks, b, c,
s, t, environment,
label, plain, shrink,
standout, noframenumbering,
squeeze. allowframebreaks is recommended
especially for bibliographies, as it allows multiple slides to be
created if the content overfills the frame:
# References {.allowframebreaks}
In addition, the frameoptions attribute may be used to
pass arbitrary frame options to a beamer slide:
# Heading {frameoptions="squeeze,shrink,customoption=foobar"}