beamer add tag
Laurenso
I tried this code
```
\documentclass[14pt]{beamer}
%\usetheme{Warsaw}
\usetheme{CambridgeUS}
\usepackage{amsmath}
\begin{document}
\begin{frame}
	\verb|Expand[(2 x + 1)^4]|
\end{frame}
\end{document}
```
I can not get the result. How can I use verb in beamer? 
Top Answer
samcarter
If you have problematic content, like verbatim material, in your frame, use the `fragile` frame option:

```
\documentclass[14pt]{beamer}
%\usetheme{Warsaw}
\usetheme{CambridgeUS}
%\usepackage{amsmath}
\begin{document}
\begin{frame}[fragile]
	\verb|Expand[(2 x + 1)^4]|
\end{frame}
\end{document}
```


![document-1.png](/image?hash=5e5d4a56c3678e5468b50aae1853a2d39b2cbe123a60e29caa1d2305916bf3f8)

(beamer loads `amsmath` by default, no need to load it a second time)

Enter question or answer id or url (and optionally further answer ids/urls from the same question) from

Separate each id/url with a space. No need to list your own answers; they will be imported automatically.