texmf-dist/doc/latex/ltx-talk/verbatim-alt-env.tex
raw| 1 | \DocumentMetadata{tagging = on} |
| 2 | \documentclass{ltx-talk} |
| 3 | \NewEnvironmentCopy{Frame}{frame*} |
| 4 | \usepackage{fancyvrb} |
| 5 | \begin{document} |
| 6 | \begin{Frame} |
| 7 | \frametitle{Demonstrating the class} |
| 8 | \begin{Verbatim}[gobble = 4] |
| 9 | \begin{frame*} |
| 10 | Some content here |
| 11 | \end{frame*} |
| 12 | \end{Verbatim} |
| 13 | \end{Frame} |
| 14 | \end{document} |