[Tugindia] How to make the required heading using fancyhdr.sty

Abhishek Agrawal Abhishek_Agrawal at lntenc.com
Mon Mar 14 10:26:29 CET 2005


hi!
you may try the following:

\addtolength{\headheight}{some_dimension} %This will increase the head 
height

to change the font in the header/footer you may use \small or \tiny etc.
eg. \rhead{\small{A}\\\small{B}} etc.

If you wish to change the page settings (footer height, head height, 
margins etc.) take a look at the geometry package.

abhishek


"Saakshara becomes Raakshsasa if saaksharatha doesn't make him good".
____________________





Prakash Mukre <prakash.mukre at gmail.com> 
03/14/2005 02:39 PM
Please respond to
Prakash Mukre <prakash.mukre at gmail.com>


To
Abhishek Agrawal <Abhishek_Agrawal at lntenc.com>
cc
TUGIndia Mailing List <tugindia at tug.org>
Subject
Re: [Tugindia] How to make the required heading using fancyhdr.sty






Hi Abhishek,
Thanks for that solution.. It works fine if the font size is 10pt.. If
I increase the font size used in document to 12pt and image scale to
0.20 then the header and document body is getting jumbeled. It would
be help if you could tell me how to make header and footer font size
to be 10pt and reduce the margins for top and side, which are by
default 1inch+

Thanks and regards,
Prakash

On Mon, 14 Mar 2005 13:44:03 +0530, Abhishek Agrawal
<Abhishek_Agrawal at lntenc.com> wrote:
> 
> well you can have a cunstruction similar to the following: 
> 
> 
> \usepackage{calc} 
> \usepackage{fancyhdr} 
> 
> % Save the image in a box 
> \newsavebox{\whatever} 
> \savebox{\mylogo}{\includegraphics[width=0.05\textwidth]{whatever.eps}} 
> 
> \pagestyle{fancy} 
> 
>  \renewcommand{\headrulewidth}{0pt} 
>  \lhead{\usebox{\whatever}\\spec2\\spec4} 
>  \chead{spec1\\\today\\ spec6} 
>  \rhead{spec3 \\ spec5} 
> 
> 
> hope this helps, 
> Abhishek 
> 
> "Saakshara becomes Raakshsasa if saaksharatha doesn't make him good".
>  ____________________
> 
> 
> 
> 
> 
> 
>  Prakash Mukre <prakash.mukre at gmail.com> 
> Sent by: tugindia-bounces at tug.org 
> 
> 03/14/2005 12:53 PM 
> 
> Please respond to
>  Prakash Mukre <prakash.mukre at gmail.com>; Please respond to
>  TUGIndia Mailing List <tugindia at tug.org> 
> 
> 
> To tugindia at tug.org 
> 
> cc 
> 
> Subject [Tugindia] How to make the required heading using fancyhdr.sty 
> 
> 
> 
> 
> 
> Hi all,
> 
>  How to make a customized headers using fancyhdr.sty..
> 
>  I want to create a header of the following format which includes a 
image
> also..
> 
> 
> 
------------------------------------------------------------------------------------------------------------------------------------
>  <IMAGE> 
>                            <specification1>
>  <specification2>                                   <specification3> 
>                       Date
>  <specification4>                                   <specification5> 
>                    <specification6>
> 
------------------------------------------------------------------------------------------------------------------------------------
> 
>  Please help
> 
>  Regards,
>  Prakash
> 
>  _______________________________________________
>  Home:        http://www.tug.org.in/
>  unsubscribe: http://tug.org/mailman/listinfo/tugindia
> 
> 


-- 
"Success is a journey, not a destination."



More information about the tugindia mailing list