Added medium syndication metadata

This commit is contained in:
Brandon Rozek 2023-02-18 13:12:02 -05:00
parent 79329aae66
commit 387dd491b1
No known key found for this signature in database
GPG key ID: 26E457DA82C9F480
30 changed files with 175 additions and 134 deletions

View file

@ -1,10 +1,12 @@
---
title: "Code in LaTex Beamer"
date: 2022-01-26T23:11:37-05:00
date: 2022-01-26 23:11:37-05:00
draft: false
tags: ["LaTex"]
math: false
medium_enabled: true
medium_post_id: d91f704bb53a
tags:
- LaTex
title: Code in LaTex Beamer
---
I commonly use the [`listings` package](/blog/latexcode/) to showcase code in my LaTex documents. I tried doing the same in my Beamer slidedecks and I ran into an issue where the LaTex source code failed to compile. After digging around, I figured out its because every slide or frame that includes code (or any verbatim environment) needs to be marked as `fragile`. A minimal example is presented below:
@ -32,5 +34,4 @@ I commonly use the [`listings` package](/blog/latexcode/) to showcase code in my
\end{lstlisting}
\end{frame}
\end{document}
```
```