LyX ⇒ Fancy Header in Lyx
Fancy Header in Lyx
When I view the master as a pdf it displays OK.
I decided to add the fancy header package by doing in my master document "Document Settings->Page Layout->fancy.
In the preamble I wrote the single line \lhead{Joe}.
The master document would not display as a pdf, I got the error:Class scrbook Error: undefined old font command \se.
I would appreciate your help.
Thank you,
Joe
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Fancy Header in Lyx
To avoid the message, you have to update package fancyhdr or give the global option
enabledeprecatedfontcommands
.Fancy Header in Lyx
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Fancy Header in Lyx
I don't know how to do this with LyX.
-
- Posts: 162
- Joined: Wed Jun 17, 2009 10:18 pm
Fancy Header in Lyx
enabledeprecatedfontcommands
in the text field marked Custom.- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Fancy Header in Lyx
\renewcommand\sf{\normalfont\sffamily}
or \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
should work too.Fancy Header in Lyx
It should have been mention in section 3.4 of the additional features doc.
-
- Site Moderator
- Posts: 542
- Joined: Sat Sep 01, 2012 6:38 am
Fancy Header in Lyx
If you have any suggestions for improving the documentation, please write to lyx-docs@lists.lyx.org. If you are interested in volunteering to implement the changes yourself, we would appreciate the help! Please get in touch (at that email address) before spending time though.Joe2718 wrote:Thanks, it worked.
It should have been mention in section 3.4 of the additional features doc.
Note that we've made several improvements related to these font commands for the future LyX 2.3.0 release. If you post a minimal .lyx example file, I can let you know whether this particular issue has been fixed.