Set text font globally

17 views
Skip to first unread message

Noah Lovins

unread,
Jan 18, 2025, 12:33:51 PMJan 18
to Gregorio Users
Greeting everyone, what command is used to globally change the font for the text? 

Thank you!
-Noah

Matthias Bry

unread,
Jan 18, 2025, 1:56:58 PMJan 18
to gregori...@googlegroups.com
There are many options, for instance using fontspec :

\usepackage{fontspec}
\setmainfont[Ligatures=TeX, Scale=1]{Arial}

In Christo,
Matthias

--
Gregorio homepage: http://gregorio-project.github.io
Archives for the old mailing list: http://www.mail-archive.com/gregori...@gna.org/
To report a bug, please post to: https://github.com/gregorio-project/gregorio/issues
---
You received this message because you are subscribed to the Google Groups "Gregorio Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gregorio-user...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/gregorio-users/78296ef9-cb6f-460c-91fa-55ea0f8ba2can%40googlegroups.com.

Noah Lovins

unread,
Jan 18, 2025, 2:16:17 PMJan 18
to Gregorio Users
Got an error when I tried. Perhaps I don't have fontspec included in my installation. I'm using Gregorio in Scribus.

Matthias Bry

unread,
Jan 18, 2025, 3:14:48 PMJan 18
to gregori...@googlegroups.com
You should have led with "I'm using Gregorio in Scribus". I'm not sure then, I don't know how it works.

Noah Lovins

unread,
Jan 29, 2025, 5:51:07 PMJan 29
to Gregorio Users
Finally got around to installing Gregorio the correct way with a LaTeX editor. I had been putting it off since I don't like working with programming languages. Tried your suggestion and it worked just fine. How can I add historical ligatures?

-Noah

Matthias Bry

unread,
Jan 29, 2025, 8:43:18 PMJan 29
to gregori...@googlegroups.com
This is not my area of expertise at all. My understanding is that the correct way to activate ligatures depends on the type of font used (OpenType vs TrueType) and whether the target ligatures are actually supported by the particular font.

If you google something like "activate hlig in opentype font in lualatex with fontspec" you get relevant results.

Matthew Roth

unread,
Jan 30, 2025, 4:02:23 PMJan 30
to Gregorio Users

I have it set up to print st and ct (both done by Dom Pothier in his earlier typesetting adventures)

%%% FONT %%%
\usepackage{fontspec}
\setmainfont{EB Garamond}[UprightFont=EB Garamond Regular,
ItalicFont= EB Garamond Italic,
BoldFont= EB Garamond Bold,
Ligatures=Rare,
Numbers=Proportional,
Numbers=OldStyle]

The syntax is a little odd because the EB Garamond font has some issues, and because I also have it installed on my machine. LaTeX finds it there, not in the package ebgaramond. (Which means that I struggle to find the medium weight of the typeface which is a bit annoying). Anyway, I hope that this is a good start. Do check the fontspec documentation, and if you get stuck, TeXSE is a good landing spot for questions.
Reply all
Reply to author
Forward
0 new messages