I want to reproduce the following screenshot with minted (in beamer, though I don't think that matters).
How would I go about doing that?
Asked
Active
Viewed 296 times
1
weisbrja
- 197
-
Please show us what you try so far! – Zarko Dec 11 '22 at 15:54
1 Answers
0
You can combine the same technique as in https://tex.stackexchange.com/a/581865/36296 with transparent overlays:
% !TeX program = txs:///arara
% arara: pdflatex: {synctex: on, interaction: nonstopmode, shell: yes}
\documentclass{beamer}
\usepackage{minted}
\setbeamercovered{transparent}
\begin{document}
\begin{frame}[fragile]
\frametitle{Foo}
\begin{minted}[escapeinside=||]{lua}
print("foo")
|\pause|print("bar")
|\pause|print("baz")
\end{minted}
\end{frame}
\end{document}
samcarter_is_at_topanswers.xyz
- 158,329
