TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'd like to include the section name in the header WITHOUT the section number.

The only instructions I could find on how to do this said to add this:


...but when I added that, the section name never changed at all -- the header just displayed "Contents" for the whole document.


I'm using Emacs org-mode to generate LaTeX. Here's what the template looks like.

  \setromanfont{Adobe Garamond Pro}
\hypersetup{ colorlinks, citecolor=SteelBlue4,filecolor=SteelBlue4,linkcolor=SteelBlue4,urlcolor=SteelBlue4}
    {\fontsize{50}{60}\selectfont \textbf{\@title}\par}
    {\Huge {\textit{\@author}\par}}
    {\Large \@date\par}

    \lhead{\href{mailto:cycleofsong@gmail.com}{Peter Salazar}}
    \rhead{{\@title}: {\nouppercase{\leftmark}}}
    \setlength{\parskip}{12pt plus 2pt minus 1pt}

         ("\\section{%s}" . "\\section*{%s}")
         ("\\subsection{%s}" . "\\subsection*{%s}")
         ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
         ("\\paragraph{%s}" . "\\paragraph*{%s}")
         ("\\subparagraph{%s}" . "\\subparagraph*{%s}")))
share|improve this question
Make a small but complete example that demonstrates your problem so that we don't have to guess what packages and commands you are using. You can add pages with \newpage abc \newpage .... – Ulrike Fischer Mar 2 '12 at 9:28

Your file is neither minimal nor complete. Cutting it down, this seems to work:


\title{Fake Title}



% \renewcommand{\chaptermark}[1]{\markboth{#1}{}}
\lhead{\href{mailto:cycleofsong@gmail.com}{Peter Salazar}}
\rhead{{\mytitle}: {\nouppercase{\leftmark}}}



a \newpage b \newpage c \newpage
a \newpage b \newpage c \newpage
a \newpage b \newpage c \newpage


One of the problems is that you are using a lot of \@<something> commands, which need to dealt with more carefully than normal macros (unless you externalize the set-up by putting it all in a .sty file of your own).

Anyway, here we have a section name in the header without a number.

Note, also, that hyperref should be one the last packages you load in any .tex file.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.