[texhax] Configure page and header in style book (resolved)

Darío darioslc at gmail.com
Thu Mar 17 03:39:55 CET 2011


Well, finally solved the problem as follows:
originally had

\begin{document}
\maketitle
\tableofcontents

\chapter{Electrost\'atica}
\section{Definici\'on fenomen\'ologica de carga y campo el\'ectrico}
\underline{Distribuci\'on de cargas en el vac\'io}\\

and to compile:
in the header odd, for example "Definici\'on fenomen\'ologica de carga y 
campo el\'ectrico9"

now used the comand \markboth:
\chapter{Electrost\'atica}
\section{Definici\'on fenomen\'ologica de carga y campo el\'ectrico}
\subsection{text}
\markboth{HeaderPairs}{HeaderOdds}
when the number pages odds appears in the left, and the number pages 
pairs appears in the right.
I think it was good that way


In the page pairs
On 17/03/11 09:57, jfbu at free.fr wrote:
> Hi,
> try without amsmath to see if the problem goes away:
> I recall I had the same problem some years ago involving an interaction
> between babel and amsmath. This was reported as a bug, and I think it
> was fixed later (sorry for not being more precise I would have to dig
> into my mail archives).
>
> then update amsmath and babel (and the spanish.ldf or whatever it is called
> file for spanish with babel) to see if the problem does not go away
>
> good luck
>
> Jean-Francois
>
> ----- Mail Original -----
> De: "Alan T Litchfield"<alan at alphabyte.co.nz>
> À: "Dario"<darioslc at gmail.com>
> Cc: "texhax"<texhax at tug.org>
> Envoyé: Jeudi 17 Mars 2011 01h22:30 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne
> Objet: Re: [texhax] Configure page and header in style book
>
> Dario,
>
> I which case I would suggest you have a look at the fancyhdr package.
> It gives very good control over headers and footers.
>
> Info here: http://elena.aut.ac.nz/ctan/help/Catalogue/entries/fancyhdr.html
>
> Just one thing. What happens when you use the default page layout
> values? You have specified various page parameters which may be
> causing the alignment of header elements to shift.
>
> HIH
> Alan
>
> On 17/03/2011, at 12:48 PM, Dario wrote:
>
>    
>> Hi Alan, I show the declarations for the document:
>> \documentclass[12pt,spanish]{book}
>>
>> \usepackage[spanish,activeacute]{babel}
>> \usepackage[latin1]{inputenc}
>> \oddsidemargin 0in
>> %\textwidth 6.75in
>> %\topmargin 0in
>> %\textheight 8.5in
>> %\parindent 0em
>> %\parskip 2ex
>> \usepackage{upgreek} %para letras griegas en modo matemático
>> \usepackage{times}
>> %\usepackage{tipa}
>> \usepackage{textcomp}
>> %\usepackage[pdftex]{graphicx}
>> %\usepackage[pdftex]{color}
>> \usepackage[all]{xy}
>> \usepackage{pb-diagram} %para diagramas conmutativos
>> \usepackage{graphicx}
>> %\usepackage{esint} % para la integral doble
>> \usepackage{amsmath}
>> \usepackage{amssymb} %para usar el \therefore
>>
>> and in my header and number page are, for example:
>> 1.1 (some spaces) Definici\'on fenomen\'ologica de carga y campo el
>> \'ectrico7
>> when "Definici\'on fenomen\'ologica de carga y campo el\'ectrico" is a
>> section and "7" is the number of page, and well as you can see the
>> header is glued to the page number, that is my problem. In number
>> pairs does not happen.
>> Thanks
>> 2011/3/16, Alan T Litchfield<alan at alphabyte.co.nz>:
>>      
>>> Dario,
>>>
>>> I think you will need to provide more detail.
>>>
>>> What class, packages, etc. are you using?
>>>
>>> Are you asking how to move the page number to the bottom of the page,
>>> or somewhere else, or to remove it completely?
>>>
>>> Alan
>>>
>>> On 17/03/2011, at 4:40 AM, Dario wrote:
>>>
>>>        
>>>> Hi i have a problem with header and number of page, because in many
>>>> times
>>>> are glued the header with the number page, how resolve this
>>>> problem?.
>>>> Thank you
>>>>          
>>> --
>>> Alan T Litchfield
>>> AlphaByte
>>> PO Box 1941, Auckland, 1140
>>> New Zealand
>>> http://www.alphabyte.co.nz
>>> http://www.alphabyte.co.nz/beatrice
>>>
>>>
>>>        
> --
> Alan T Litchfield
> AlphaByte
> PO Box 1941, Auckland, 1140
> New Zealand
> http://www.alphabyte.co.nz
> http://www.alphabyte.co.nz/beatrice
>
>
> _______________________________________________
> TeX FAQ: http://www.tex.ac.uk/faq
> Mailing list archives: http://tug.org/pipermail/texhax/
> More links: http://tug.org/begin.html
>
> Automated subscription management: http://tug.org/mailman/listinfo/texhax
> Human mailing list managers: postmaster at tug.org
>    



More information about the texhax mailing list