<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1253">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
(1) Please provide a full example others can test</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
(2) Which engine are you using (pdflatex, xelatex , ...)<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
(3) Are you 100% up to date, we know babel or similar at one point started to mess with the fonts in the headers by injecting their own code.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
But as long as we do not have an example that we can test, it is hard to tell.<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
For example, what is <font size="2"><span style="font-size:11pt">\</span></font><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">gingerspacedfont</span> ?<br>
</div>
<div id="Signature">
<div></div>
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px"><br>
<span style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; line-height:normal; color:rgb(0,0,0)">/Lars Madsen</span><br>
<span style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; line-height:normal; color:rgb(0,0,0)">Institut for Matematik / Department of Mathematics</span><br>
<span style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; line-height:normal; color:rgb(0,0,0)">Aarhus Universitet / Aarhus University</span><br>
<span style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; line-height:normal; color:rgb(0,0,0)">Mere info:
</span><a href="http://au.dk/daleif@imf" tabindex="0"><span style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; line-height:normal; color:rgb(0,0,0)">http://au.dk/daleif@math</span></a><span style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; line-height:normal; color:rgb(0,0,0)">
 / More information: </span><a target="_blank" href="http://au.dk/en/daleif@imf" tabindex="0"><span style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; line-height:normal; color:rgb(0,0,0)">http://au.dk/en/daleif@math</span></a><br>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> texhax <texhax-bounces+daleif=imf.au.dk@tug.org> on behalf of Joel C. Salomon <joelcsalomon@gmail.com><br>
<b>Sent:</b> 15 January 2020 04:47<br>
<b>To:</b> ÔeXhax <texhax@tug.org><br>
<b>Subject:</b> Memoir marks and fonts</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">After applying some content updates to a book for a client, I tried to<br>
recompile the book, but the page headers were being set in the wrong<br>
font.  The code that worked about two years ago looked something like this:<br>
<br>
    \makepagestyle{headings}<br>
    \makepsmarks{headings}<br>
      {<br>
        \def\chaptermark##1 { \markboth {\thetitle} {##1} }<br>
      }<br>
    \makeevenhead{headings}{\headingsize \gingerfont \thepage \quad<br>
\gingerspacedfont \leftmark}{}{}<br>
    \makeoddhead{headings}{}{}{\headingsize \gingerspacedfont \rightmark<br>
\quad \gingerfont\thepage}<br>
<br>
(I’m taking advantage of ExplSyntaxOn to indent and space my code.)<br>
<br>
Tonight, this left the `\leftmark` and `\rightmark` set in the default<br>
text font.  A bit of experimenting pointed me to this fix:<br>
<br>
    \makepagestyle{headings}<br>
    \makepsmarks{headings}<br>
      {<br>
        \def\chaptermark##1 { \markboth {\gingerspacedfont \thetitle}<br>
{\gingerspacedfont ##1} }<br>
      }<br>
    \makeevenhead{headings}{\headingsize \gingerfont \thepage \quad<br>
\leftmark}{}{}<br>
    \makeoddhead{headings}{}{}{\headingsize \rightmark \quad<br>
\gingerfont\thepage}<br>
<br>
Has there been a recent change to Memoir that broke my old code?<br>
<br>
—Joel C. Salomon<br>
</div>
</span></font></div>
</body>
</html>