Last active
April 21, 2018 05:04
-
-
Save wtsnjp/08539c7587d969f8eda0623354a6b7db to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| %#!lualatex | |
| \documentclass[12pt]{beamer} | |
| \usepackage{arev} | |
| \usepackage[T1]{fontenc} | |
| \usepackage{graphicx} | |
| % hack | |
| \IfFileExists{self.pdf}{% | |
| \directlua{os.rename("self.pdf", "self2.pdf")} | |
| }{% | |
| % nothing | |
| } | |
| \begin{document} | |
| \begin{frame}{Including myself} | |
| \IfFileExists{self2.pdf}{% | |
| \centering | |
| \fbox{\includegraphics[width=0.9\textwidth]{self2.pdf}} | |
| }{% | |
| % nothing | |
| } | |
| \end{frame} | |
| \end{document} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment