Trouble changing font family for footnotes
Ricardo Berlasso
rgb.mldc at gmail.com
Mon Nov 8 15:26:00 UTC 2021
Hi, LyXiers!
Here's the situation. I'm using the standard Book documentclass with XeTeX
as engine. I'm also starting to use Octavio Pardo's version of EB Garamond
https://github.com/octaviopardo/EBGaramond12
Good thing about this version is that it offers bold, among other things.
Bad thing is that it do not offer optical sizes. But I noticed that the
medium weight is a good replacement for the old EB Garamond 08 so I tried
to change the font used by footnotes with
\newfontfamily{\ebgm}[RawFeature={+ss06}]{EBGaramond-Medium}
\usepackage{footmisc}
\renewcommand*{\footnotelayout}{\footnotesize\ebgm}
which works perfectly well in isolation. Problem is, I'm also trying to set
the footnote mark to not be displayed on superscript with
\makeatletter
\renewcommand\@makefntext[1]{%
\noindent\makebox[0pt][r]{\ebgm\@thefnmark.\space}#1}
\makeatother
which also works well in isolation, setting the mark within the margin,
with the desired font, and "at ground level" as I like. Problem is, I
cannot use both blocks of code within the same document at the same time:
no matter in which order I write them, the first one gets ignored.
Attached there is a minimal example file (it's in Article documentclass,
but the problem is the same). Notice that you need the right font installed!
Any idea? I'm on openSUSE Leap 15.3 with texlive 2017.
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20211108/5d71e6ad/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test-footnote-formatting.lyx
Type: application/x-lyx
Size: 2521 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20211108/5d71e6ad/attachment-0001.lyx>
More information about the lyx-users
mailing list