lualatex makeindex : can I change the font ?
Zdenek Wagner
zdenek.wagner at gmail.com
Wed Apr 16 14:48:44 CEST 2025
st 16. 4. 2025 v 13:08 odesílatel Ken Moffat via tex-live
<tex-live at tug.org> napsal:
>
> I'm guessing this has been discussed somewhere in the past, but
> gurgle is giving me a lot of noise and links for macOS or the online
> way of writing LaTeX.
>
> Years ago (2016 orearlier), when I thought (from reading online) that
> pdflatex was a good way to go, I created an essay using pdflatex,
> bibtex and makeindex. I am now tring to update that (modern
> historical sources, including archaeology, suggest the myths
> promulgated by Anglo-Saxon clerics such as Bede for the years before
> he lived are "double plus unreliable", as is much of the later
> Anglo-Saxon Chronicle.
>
> So, a lot of editing needed.
>
> When I used pdflatex I could use \textsc{} for names, particularly
> personal names (to help distinguish them from placenames, which were
> my original subject). I much prefer the open 'g' of DejaVu Serif, but
> that lacks a small cap font. Is it
> practical for me to specify a different font for Small Caps, both in
> makeindex and in the main text ?
>
That's quite easy. You can change the style by redefining the ist file
for makeindex and redefine "theindex" environment. In lualatex and
xelatex the fonts can be defined using the fontspec package. You just
do it as described in the old makeindex and theindex documentation
with the only exception that you use the modern way of font
definitions.
> TIA
>
Zdeněk Wagner
https://www.zdenek-wagner.eu/
> ĸen
> --
> 'The universe is so big, sir, that it obeys all possible laws,'
> said Ponder, 'For a given value of "teapot".
> -- The Science of Discworld II, 'The Globe'
More information about the tex-live
mailing list.