-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Miguel Daniel Rodríguez Magarzo ha scritto:
> Hi again,
> 
> Honestly, I hope to get to explain good enough. The issue is very
> simple. 
> 
> What I've done until now in order to sorting this out has been just
> taping in the preamble, inside "\rhead{}", the string I wanted to be
> appeared there (using the fancyhdr). But how to do if I want the same
> result using code? 
> 
> I've tried several combinations, but without results. Actually, I never
> knew much what I  was really doing, since I know nothing about LaTeX,
> but the "try and error" method didn't gave me a only chance either.
> 
> In a pdf document ("Page layout in LaTeX", Piet van Oostrum, Utrecht
> University, 2004), page 10, it shows several examples of this, more...
> what I wanted was there... !!!, __just__ the third from the end, very
> simple:
> 
> \renewcommand{\chaptermark}[1]{%
>  \markboth{#1}{}}

Hi Miguel,

Try using the syntax below, maybe you are not using \leftmark?

\usepackage{fancyhdr}
\pagestyle{fancy}
\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
\fancyhead[ER,OR,EL,OL]{}
\fancyhead[EC,OC]{Your Name\hfill \leftmark}

As a note, if you find that header font is too small, you can always
do: \begin{large} <your header here> \end{large} .

Greetings.


- --
Filippo Zangheri

GPG key ID: 0xE1D879FA
Key fingerprint: 816B CE57 D43C 0A47 EF35 3378 EA5F A72A E1D8 79FA
Key server: pgp.mit.edu

- -----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GE d- s+:- a-- C++ UL+++ P+ L+++ E-- W+ N* o-- K- w--- O-- M--
V- PS++ PE+ Y+ PGP++ t 5-- X++ R* tv b+ DI-- D---- G-- e++ h--
r++ z*
- ------END GEEK CODE BLOCK------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFH+zI96l+nKuHYefoRAq1XAJ9Yr4XWI3q/BNVPMiyc9ETmxcUKngCgndZV
OEtHHiN5Ev8pulVWNSTgBIo=
=mUKP
-----END PGP SIGNATURE-----

Reply via email to