How to force the scaling of the slide contents? #11318
Replies: 1 comment 1 reply
-
This behavior is the one from Revealjs itself: https://revealjs.com/presentation-size/ We don't change it and Quarto Presentation inherit it. The scaling they do is presented as the following
It can be totally disable if needed, but I don't know the side effect. My understanding is that this scaling will adapt to the display keeping aspect ratio, but it won't change font size or else to fit more content in a bigger screen. So the width and height define the size, and it Quarto it defaults to 1050 x 700 Revealjs doc claims in can be made percent... maybe this would help in your case. I did not check if Quarto does have issue if those are passed in %. It shouldn't as this is all Revealjs doing. The other parameter Did you try several combination of those ? Honestly, if you don't manage to do what you want, I check Revealjs repo and ask there regarding which configuration they would recommand for this: https://github.com/hakimel/reveal.js |
Beta Was this translation helpful? Give feedback.
-
Description
I prepare my presentations on my laptop, and then present them using a 'random' beamer projector. This means that I don't know the aspect ratio in advance. Sometimes it is similar to my laptop, sometimes it is almost a square.
Therefore I would like my presentations to scale accordingly, and I don't mind if the contents become somewhat smaller, but I absolutely want to be sure that all the content I see in my laptop will be shown at the moment of the presentation.
For this, I guess two conditions should be met:
It seems none of these are fully working in my case. How can I configure this? I did some tests with the Presentation Size options, but didn't get too far.
(Sorry if I'm misusing terms, I am not an expert in CSS, HTML, etc.)
Below is the Quarto code to reproduce, and here's a screencast of how I see it on my laptop (I test this by changing the preview window in VSC, but the same happens when changing Firefox or Chrome windows size to make it similar to the beamer projectors).
Any suggestions on how to design an 'aspect-ratio safe' layout/code?
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions