-
Am I changing the font size the correct way? I ran this test file, and am seeing no change when I change the fontsize argument. I also tried it with and without the "pt".
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I believe this is working
Taking their example, try this doc: ---
title: "Beamer font test"
format:
beamer:
fontsize: "24pt"
keep-tex: true
---
## Font size in Beamer (default)
\tiny This is tiny font size
\scriptsize This is scriptsize font size
\footnotesize This is footnotesize font size
\small This is small font size
\normalsize This is normalsize font size
\large This is large font size
\Large This is Large font size
\LARGE This is LARGE font size
\huge This is huge font size
\Huge This is Huge font size This is default without I am not sure why some value like 24pt does not have effect 🤔 Documentclass in
so the fontsize setting get passed. Maybe this is because Beamer only support a default set of fontsize. I get that from https://tex.stackexchange.com/a/314507/209358 which points to the manual https://tug.ctan.org/macros/latex/contrib/beamer/doc/beameruserguide.pdf
Try with 20pt and it should work for the biggest you can get. Read the manual further about fonts size to understand the why behind this in Beamer. Hope it helps |
Beta Was this translation helpful? Give feedback.
I believe this is working
fontsize
variable will be put in\document[24pt]{beamer}
and this is the expected way. See this doc: https://latex-beamer.com/tutorials/beamer-font/#Font-sizeTaking their example, try this doc: