HI Max,
Enviado desde mi iPad

> El 23 nov 2025, a las 4:27, Max Nikulin <[email protected]> escribió:
> 
> On 22/11/2025 23:20, Ihor Radchenko wrote:
>>>> ((nil
>>>>   :fonts
>>>>   ((nil :font "Noto Serif"))))
>>>> 
>>>> That will result in
>>>> \babelfont{rm}{Noto Serif}
>>>> \babelfont{sf}{Noto Serif}
>>>> \babelfont{tt}{Noto Serif}
>> In other words, for *any* latex document, you basically need to provide
>> at least 3 fonts. Do I understand it correctly?
> 
> Ihor, it seems you expect that TeX engine may choose font variants when you 
> specify a family. It is not so. Moreover, you specified namely serif variant, 
> not just family, so Pedro is upset.
I’m not upset, I’m tired of going in circles…
> (My usage of terms related to fonts may be incorrect.)
No, it is not. You are using the right terms. THANK YOU.
I’m adding a couple of lines to enhance your explanation.
> LaTeX uses at least
> - Roman (regular, serif)
> - Sans serif
> - Monospaced
> - Small caps
> fonts. Depending on specific document and LaTeX documentclass, some variants 
> are not used.
To add to this, you also can mark things as bold (=** in org) or as italic (=// 
in org). The bold and italics part can be left out of the equation, because the 
LaTeX engine will chose the right ‘individual’ from the font ‘family’. This is 
why you get 4 files when you download a font from some font forges.
> By default PdfLaTeX uses Computer Modern fonts (with LH for Cyrillic), 
> LuaLaTeX uses Latin Modern that covers just Latin and Greek. There are 
> similar Computer Modern Unicode fonts with wider coverage.
> 
> You may set sans font as the main document font and avoid serif completely.
You do that with a command that tells the LaTeX engine to use the font you 
specify as \sf or \sans should be your default font, not by coercing a Sans 
font into the \rm or \main font (this can also be confusing to the LaTeX 
outsider). 
> However monospaced fonts are different and incompatible with serif and sans 
> fonts since monospaced fonts have fixed width. Some documents may set a 
> monospaced font as the main one though.
Again with a command, not with the font configuration.
> For English texts you may leave CM or LM as defaults without providing any 
> other fonts. Some users may expect something looking more close to Times as 
> the main document font.
If you don’t configure anything in the fonts, the engine will use the font 
definitions provided by the document class (#+LATEX_CLASS): article has a 
choice of fonts that goes by the lines of the above, the koma-script family has 
a slightly different one.
> I recall discussions to allow users to switch between predefined font 
> families: Free fonts, Noto, CMU, etc.
> 
> Depending of document language, you may need to set e.g. specific Noto font 
> having necessary glyphs (Noto Sans CJK JP). A special explicitly configured 
> font is necessary for emoji.

Just my .2 cents on a wonderful explanation 

Thanks again, Max.

Best, /PA


Reply via email to