I found a solution for my problem. Anyway, thanks to everybody.
For all the people out there, who have the same problem, the solution looks
like this:

\fancyhead{} %clear defaults
\fancyfoot {} % ditto

\fancyhead[C] {%
 \begin{tabular}[b]{c}
  \bf Bla \\
  Blaaaaa
\end{tabular}}

\fancyhead[R] {%
  \begin{tabular}[b]{r}
   Bla \\
   Page \thepage
\end{tabular}}


Andi




Andreas D�ring

MAN Nutzfahrzeuge AG
Vorentwicklung-Abgasnachbehandlung
Abt. TVD-N
Vogelweiherstr. 33
90441 N�rnberg

Tel.: ++49 911 420-1845
Fax:  ++49 911 420-1950
----- Weitergeleitet von Andreas Doering/TVN/Nuernberg/MAN_Nutzfahrzeuge am
10.01.02 16:53 -----
                                                                                       
                
                    Andreas                                                            
                
                    Doering              An:     Herbert Voss 
<[EMAIL PROTECTED]>,      
                                         [EMAIL PROTECTED]                       
                
                    10.01.02 11:25       Kopie:                                        
                
                                         Thema:  Re: Re: More than one line in 
fancyhead(Document      
                                         link: Andreas Doering)                        
                
                                                                                       
                



I�m sorry. On your reply I�ve seen, that the format of my mail has changed
a little, though the thing I asked for, is not very clear.

What I try to do is a fancyheader with two lines on the left side, to lines
centered in the middle and the pagenumber on the right side:


Bla left..........Bla centered............
Bla 2 left........Bla2 centerd............\thepage
----------------------------------------------------


I only have the idea to do the one thing for the left header like:

  \usepackage{fancyhdr}
  \fancyhead{}
  \fancyhead[LE,LO]{\bf\large Bla left \newline Bla 2 left}

But

  \fancyhead[CE,CO] {\bf\large Bla centered \newline Bla2 centered}

does not work. The "Bla2 centered" is no longer centered.


By using your advice, the \parbox is always put on the left side. I�m not
able to center it using

\fancyhead[C]\parbox{0.5\textwidth}{%
Bla centered \newline bla2 centered
}\hfill\thepage

I also tried the following:

\fancyhead[L]{\parbox{1\textwidth}{%
\centering ... the blah text ... \newline\centering ddddd
} }

But also this doesn�t work. The first line is not centered.


What�my fault?


Thanks in advance

Andi


                                                                                       
                           
                    Herbert Voss                                                       
                           
                    <[EMAIL PROTECTED]        An:     [EMAIL PROTECTED]  
                           
                    berlin.de>                      Kopie:  [EMAIL PROTECTED], 
<[EMAIL PROTECTED]>             
                                                    Thema:  Re: More than one line in 
fancyhead                   
                    10.01.02 09:10                                                     
                           
                                                                                       
                           
                                                                                       
                           




On Thu, 10 Jan 2002 [EMAIL PROTECTED] wrote:

> Is it possible to have more than one line in the fancyheaders to get
> something like
>
>
> Bla in line1
> Bla2
> Bla in line 2
> Bla3                                              \thepage
> ----------------------------------------------------

\parbox{0.5\textwidth}{%
... the blah text ...
}\hfill\thepage

Herbert






Reply via email to