Any hints/tips, anyone?

TIA,
nvx
NEW: TikZ book now 40% off at Amazon.com for a short time.
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.