mirror of
https://github.com/Brandon-Rozek/website.git
synced 2025-10-09 22:41:13 +00:00
Added medium syndication metadata
This commit is contained in:
parent
79329aae66
commit
387dd491b1
30 changed files with 175 additions and 134 deletions
|
@ -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}
|
||||
```
|
||||
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue