[texhax] Problems with command \markboth

Ulrike Fischer news3 at nililand.de
Fri Jun 14 18:52:29 CEST 2013

Am Fri, 14 Jun 2013 09:59:42 -0300 schrieb Darío:

> Hi everyone, I was writing and I need use the command \markboth for
> add a headings so at right and left, my code is:
> \begin{document}
> \pagestyle{headings}
> \markboth{Biography}{name}
> but when I compile appears "name" at the left and the page number on
> the right, I need which appears Biography,
> what's the problem?

You are not using \leftmark in the definition of your page style. 

You can use e.g. fancyhdr to setup a pagestyle which makes use of
\leftmark (=Bibliography) + \rightmark (=name) in the header.

Ulrike Fischer 

More information about the texhax mailing list