# fancyhdr - Re-define sectionmark

This is how I've re-defined `chaptermark`:

``````\renewcommand{\chaptermark}[1]{%
\markboth{\scshape{%
\chaptername\ \thechapter.%
\ #1}}{}}
``````

I want to re-define `sectionmark` in the same way, using `\scshape`.

Where do I have to put `\scshape` in `\renewcommand{\sectionmark}[1]{\markright{\thesection ~ \ #1}}`?

• I'd try/use `\renewcommand{\sectionmark}[1]{\markright{\scshape\thesection ~ \ #1}}`. Note that `\scshape` doesn't take an argument, so the two braces you used after it aren't necessary. You might wanted to use `\textsc` which would take an argument. – Skillmon likes topanswers.xyz Oct 10 '17 at 10:01
