Sign up ×
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.

I would like to use the "dictionary" style of page header, using \rightmark--\leftmark as suggested in fancyhdr package.

However, in twocolumn mode, \rightmark containts the first mark in the latter column, which is wrong: it should contain the first mark in the former column.

I know that using multicol package instead of [twocolumn] option or \twocolumn command would help, but I would like to avoid multicol.

Here is a MWE:


\fancyhead[L]{\rightmark{} -- \leftmark}


% to provide dummy text and lots of sections
  \mysection{Section \Alph{xs}}



share|improve this question

1 Answer 1

up vote 6 down vote accepted


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.