Any hints/tips, anyone?

TIA,
nvx
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
Code: Select all
% Initial fancyhdr declarations here...
\fancyhead[LE]{\small{\textbf{\thepage}}\quad\small{\textsc{\nouppercase{\leftmark}}}}
\fancyhead[RO]{\small{\nouppercase{\rightmark}}\quad\small{\textbf{\thepage}}}
% The rest of fancyhdr declarations here...
Code: Select all
\fancyhead[LE]{\small{\textbf{\thepage}}\quad\small{\caps{\nouppercase{\leftmark}}}}
Code: Select all
\fancyhead[LE]{\caps{\leftmark}}
Code: Select all
! Package babel Error: You haven't defined the language ENGLISH yet.
Nevertheless, the first proposed workaround, i.e,... it [also] happens with other classes that need to set the header text to uppercase. This causes babel to think that the language settings the header text requires is "ENGLISH", which is not the same thing as "english", only the latter of which is properly recognized. There are two ways to get around this problem.
Code: Select all
\makeatletter
\def\markboth#1#2{\def\leftmark{\@IEEEcompsoconly{\sffamily}\MakeUppercase{\protect#1}}%
\def\rightmark{\@IEEEcompsoconly{\sffamily}\MakeUppercase{\protect#2}}}
\makeatother
Code: Select all
\makeatletter
\def\markboth#1#2{\def\leftmark{\protect#1}%
\def\rightmark{\protect#2}}
\makeatother
Code: Select all
\newcommand{\changerunningheads}[2]{
\renewcommand{\leftmark}{#1}
\renewcommand{\rightmark}{#2}
}
Code: Select all
\fancyhead[LE]{\small{\textbf{\thepage}}\quad%
\textls*[50]{\MakeUppercase{\small{\leftmark}}}}
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