Skip to Content.
Sympa Menu

texmacs-users - Re: Headers and footers

Subject: mailing-list for TeXmacs Users

List archive

Re: Headers and footers


Chronological Thread 
  • From: Joris van der Hoeven <address@hidden>
  • To: address@hidden
  • Subject: Re: Headers and footers
  • Date: Tue, 17 Dec 2002 17:49:59 +0100 (MET)


Hi,

> i've been trying to change the hearders and footer of a document for about
> one
> hour, and i don't understand anything. I've read the doc, downloaded the
> lastest version of TexMacs, nothing change :(
> I just want to be able to write something like this LaTex code:
>
> \fancyhead[LE]{\emph{Terminale S}}\fancyfoot[LE]{}
> \fancyhead[CE]{}\fancyfoot[CE]{\thepage}
> \fancyhead[RE]{\emph{Lycée J.B Corot}}\fancyfoot[RE]{}
>
> \fancyhead[LO]{\emph{Terminale S}}\fancyfoot[LO]{}
> \fancyhead[CO]{}\fancyfoot[CO]{\thepage}
> \fancyhead[RO]{\emph{Lycée J.B Corot}}\fancyfoot[RO]{}
>
> Could anyone help me ?

Yes: you can do this by specifying your own odd/even page headers and
footers using "Insert -> Header and footer -> Permanent -> ...".
For instance, select "Even page header", type "Terminale S"
in emphasis, twice M-tab, and "Lycée..." in emphasis.
Next press return to activate your header.
You will see them when previewing your document.
If you want to see them in TeXmacs, then select
"Document -> Page -> Type -> Paper" and
"Document -> Page -> Screen layout -> Show header and footer".

For correctly displaying page numbers, you should use a function
as the argument of your header/footer, like

<func|<quote|<apply|thepage>>>

I hope that this helps...
Admittedly, this is not really simple.

Best wishes, Joris




Archive powered by MHonArc 2.6.19.

Top of Page