Page geometry, font size in Beamer build

17 views
Skip to first unread message

Charles M

unread,
Sep 1, 2026, 11:20:44 AM (10 days ago) Sep 1
to PreTeXt support
I am writing a PreTeXt slideshow to be displayed by my iPad (HDMI output), and I am unable to adjust the page geometry and font size as I am able to do in LaTeX Beamer.

I am seeking a 16:9 ratio PDF file with a font a bit smaller than the default.

I have tried adding

<latex> 
 <page> 
 <geometry>a4paper,total={16cm,9cm}</geometry> 
 </page> 
</latex>

to @docinfo, but it makes no changes to the PDF output.  I put it in the publication.ptx file, and still no changes to the PDF output.

Also, the default font size in Beamer is quite large and leaves little room for writing on the slide.

I have obtained some success by adding the line

<geometry>a4paper,total={16cm,9cm}</geometry> 

to @docinfo in the latex-image-preamble section, but that makes the font size too small for the students joining lecture on Zoom, and it's marginally too small for the students in the lecture hall.

Is there a way to adjust both page geometry and font size in the Beamer PDF output?  

Thank you in advance.

Charles M

Rob Beezer

unread,
Sep 1, 2026, 4:34:05 PM (9 days ago) Sep 1
to pretext...@googlegroups.com
I was pretty sure we were making a 16:9 aspect ratio already?

But a place for using the geometry package, and font options might be good
things to get right. I'll investigate in a bit.

Rob
> --
> You received this message because you are subscribed to the Google Groups
> "PreTeXt support" group.
> To unsubscribe from this group and stop receiving emails from it, send an email
> to pretext-suppo...@googlegroups.com <mailto:pretext-
> support+u...@googlegroups.com>.
> To view this discussion visit https://groups.google.com/d/msgid/pretext-support/
> c967ecc3-c66d-415a-8c3f-4b4b6ef72f7an%40googlegroups.com <https://
> groups.google.com/d/msgid/pretext-support/c967ecc3-
> c66d-415a-8c3f-4b4b6ef72f7an%40googlegroups.com?utm_medium=email&utm_source=footer>.

Rob Beezer

unread,
Sep 1, 2026, 6:25:18 PM (9 days ago) Sep 1
to pretext...@googlegroups.com
Dear Charles,

Thanks for the suggestions! See the pretext-announce post to get started.

Beamer controls aspect-ratio naturally and prefers you not set a page size. So
I have deliberately not enabled any general use of the geometry package. It
might be useful for margins, but we can cross that bridge when we come to it.

See how these changes shake out for your current setup.

Rob

On 9/1/26 08:20, Charles M wrote:
Reply all
Reply to author
Forward
0 new messages