Skip to content

Instantly share code, notes, and snippets.

@kinnala
Created November 1, 2021 09:21
Show Gist options
  • Save kinnala/08966a7d96c5787129d91c574d77a935 to your computer and use it in GitHub Desktop.
Save kinnala/08966a7d96c5787129d91c574d77a935 to your computer and use it in GitHub Desktop.
Single tex source for article and beamer slides
% Ever wanted to turn your latex article source into a quick beamer presentation?
% Add something like the following four lines to the beginning of your document:
%\documentclass{amsart}
%\renewenvironment{frame}{{}}
\documentclass[ignorenonframetext,red]{beamer}
\geometry{paperwidth=480pt,paperheight=300pt}
% Then those parts you want turned into slides wrap with \begin{frame} ... \end{frame}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment