Changing fonts

12 views
Skip to first unread message

Matthew Leingang

unread,
Aug 12, 2025, 11:10:28 AMAug 12
to pretext...@googlegroups.com
Hi folks,

I'm working on a course (built from Mitch Keller's template), and I'm interested in using fonts in HTML and PDF that are aligned with my university's branding. In the various publication*.ptx files, I can see how to change colors in HTML targets, and font sizes in PDF targets. But what about the font families? Do I need to create entirely new CSS files or XSL stylesheets?

Best,
Matthew

--

Matthew Leingang (he/his)
Clinical Professor of Mathematics
Assistant Director of Undergraduate Studies

Department of Mathematics
Courant Institute of Mathematical Sciences
New York University

Schedule an appointment with me at https://calendly.com/leingang

Andrew Scholer

unread,
Aug 12, 2025, 12:15:01 PMAug 12
to PreTeXt support
That is correct. There is no variable/parameter in the publisher file for changing fonts. So doing so requires custom XSL and or CSS.
Reply all
Reply to author
Forward
0 new messages