Re: Headings in a Box

2004-05-03 Thread Juergen Spitzmueller
Gerhard Lindel wrote:
 What I want to do is: The headers text should have a grey background
 and  smaller letters as  the normal text.

Does the attached what you want?
Jürgen.
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass scrartcl
\begin_preamble
\usepackage[dvips]{graphicx,color} 
\usepackage{fancybox} 

\definecolor{mygrey}{gray}{0.9}
\setlength{\fboxsep}{0pt}
\renewcommand{\headrulewidth}{0pt}

\fancyput(\oddsidemargin,0pt){\colorbox{mygrey}{\phantom{\rule{\textwidth}{1.5\headheight

\lhead{\small{text...}}
\rhead{}
\chead{}
\lfoot{text}
\end_preamble
\language ngerman
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language german
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle fancy

\layout Standard

a test.
\the_end


Re: Headings in a Box

2004-05-03 Thread Gerhard Lindel
Juergen Spitzmueller schrieb:

Gerhard Lindel wrote:
 

What I want to do is: The headers text should have a grey background
and  smaller letters as  the normal text.
   

Does the attached what you want?
Jürgen.

Yes, it does. Thank you very much for your help!!
 

Gerhard




Re: Headings in a Box

2004-05-03 Thread Juergen Spitzmueller
Gerhard Lindel wrote:
 What I want to do is: The headers text should have a grey background
 and  smaller letters as  the normal text.

Does the attached what you want?
Jürgen.
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass scrartcl
\begin_preamble
\usepackage[dvips]{graphicx,color} 
\usepackage{fancybox} 

\definecolor{mygrey}{gray}{0.9}
\setlength{\fboxsep}{0pt}
\renewcommand{\headrulewidth}{0pt}

\fancyput(\oddsidemargin,0pt){\colorbox{mygrey}{\phantom{\rule{\textwidth}{1.5\headheight

\lhead{\small{text...}}
\rhead{}
\chead{}
\lfoot{text}
\end_preamble
\language ngerman
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language german
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle fancy

\layout Standard

a test.
\the_end


Re: Headings in a Box

2004-05-03 Thread Gerhard Lindel
Juergen Spitzmueller schrieb:

Gerhard Lindel wrote:
 

What I want to do is: The headers text should have a grey background
and  smaller letters as  the normal text.
   

Does the attached what you want?
Jürgen.

Yes, it does. Thank you very much for your help!!
 

Gerhard




Re: Headings in a Box

2004-05-03 Thread Juergen Spitzmueller
Gerhard Lindel wrote:
> What I want to do is: The headers text should have a grey background
> and  smaller letters as  the normal text.

Does the attached what you want?
Jürgen.
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass scrartcl
\begin_preamble
\usepackage[dvips]{graphicx,color} 
\usepackage{fancybox} 

\definecolor{mygrey}{gray}{0.9}
\setlength{\fboxsep}{0pt}
\renewcommand{\headrulewidth}{0pt}

\fancyput(\oddsidemargin,0pt){\colorbox{mygrey}{\phantom{\rule{\textwidth}{1.5\headheight

\lhead{\small{text...}}
\rhead{}
\chead{}
\lfoot{text}
\end_preamble
\language ngerman
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language german
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle fancy

\layout Standard

a test.
\the_end


Re: Headings in a Box

2004-05-03 Thread Gerhard Lindel
Juergen Spitzmueller schrieb:

Gerhard Lindel wrote:
 

What I want to do is: The headers text should have a grey background
and  smaller letters as  the normal text.
   

Does the attached what you want?
Jürgen.

Yes, it does. Thank you very much for your help!!
 

Gerhard




Re: Headings in a Box

2004-05-02 Thread Gerhard Lindel
Juergen Spitzmueller schrieb:

Gerhard Lindel wrote:
 

I have  use headings in my document and it is realized with the following
LATEX-preambel (page-style is fancy):
\lhead{text...}
\rhead{}
\chead{}
\lfoot{text}
It looks quite fine but my professor wants it in a box and with grey or
blue background.
   

I do not understand what you want exactly.

If you want the whole header with grey background, you can try to do something 
like this:

\usepackage[dvips]{graphicx,color} 
\usepackage{fancybox} 

\definecolor{mygrey}{gray}{0.9}
\setlength{\fboxsep}{0pt}
\renewcommand{\headrulewidth}{0pt}
\fancyput(\oddsidemargin,-2.5\headheight){\colorbox{mygrey}
{\phantom{\rule{\textwidth}{1.5\headheight
\lhead{text...}
\rhead{}
\chead{}
If only the header's text should be in a grey box, you could try

\usepackage[dvips]{graphicx,color} 
\usepackage{fancybox} 

\definecolor{mygrey}{gray}{0.9}
\setlength{\fboxsep}{0pt}
\renewcommand{\headrulewidth}{0pt}
\pagestyle{fancy} 
\fancyhead{}
\fancyhead[L]{\colorbox{mygrey}{\parbox[c][boxheight]{boxwidth}{text}}}

HTH,
Jürgen.
 

Dear Jürgen,
I am  sorry, but it seems that I am only able to produce a lot of 
Latex-Errors.
What I want to do is: The headers text should have a grey background 
and  smaller letters as  the normal text.  With my   preambel  there is 
a line under the header: how can I  create a header without this line?
All my  trials ended with many errors.
The documentclass is article (koms-script) and page style is fancy. 
Shall I use annother class or pagestyle?
I hope you are  not  angry with me but I need your help .
Gerhard



Re: Headings in a Box

2004-05-02 Thread Gerhard Lindel
Juergen Spitzmueller schrieb:

Gerhard Lindel wrote:
 

I have  use headings in my document and it is realized with the following
LATEX-preambel (page-style is fancy):
\lhead{text...}
\rhead{}
\chead{}
\lfoot{text}
It looks quite fine but my professor wants it in a box and with grey or
blue background.
   

I do not understand what you want exactly.

If you want the whole header with grey background, you can try to do something 
like this:

\usepackage[dvips]{graphicx,color} 
\usepackage{fancybox} 

\definecolor{mygrey}{gray}{0.9}
\setlength{\fboxsep}{0pt}
\renewcommand{\headrulewidth}{0pt}
\fancyput(\oddsidemargin,-2.5\headheight){\colorbox{mygrey}
{\phantom{\rule{\textwidth}{1.5\headheight
\lhead{text...}
\rhead{}
\chead{}
If only the header's text should be in a grey box, you could try

\usepackage[dvips]{graphicx,color} 
\usepackage{fancybox} 

\definecolor{mygrey}{gray}{0.9}
\setlength{\fboxsep}{0pt}
\renewcommand{\headrulewidth}{0pt}
\pagestyle{fancy} 
\fancyhead{}
\fancyhead[L]{\colorbox{mygrey}{\parbox[c][boxheight]{boxwidth}{text}}}

HTH,
Jürgen.
 

Dear Jürgen,
I am  sorry, but it seems that I am only able to produce a lot of 
Latex-Errors.
What I want to do is: The headers text should have a grey background 
and  smaller letters as  the normal text.  With my   preambel  there is 
a line under the header: how can I  create a header without this line?
All my  trials ended with many errors.
The documentclass is article (koms-script) and page style is fancy. 
Shall I use annother class or pagestyle?
I hope you are  not  angry with me but I need your help .
Gerhard



Re: Headings in a Box

2004-05-02 Thread Gerhard Lindel
Juergen Spitzmueller schrieb:

Gerhard Lindel wrote:
 

I have  use headings in my document and it is realized with the following
LATEX-preambel (page-style is fancy):
\lhead{text...}
\rhead{}
\chead{}
\lfoot{text}
It looks quite fine but my professor wants it in a box and with grey or
blue background.
   

I do not understand what you want exactly.

If you want the whole header with grey background, you can try to do something 
like this:

\usepackage[dvips]{graphicx,color} 
\usepackage{fancybox} 

\definecolor{mygrey}{gray}{0.9}
\setlength{\fboxsep}{0pt}
\renewcommand{\headrulewidth}{0pt}
\fancyput(\oddsidemargin,-2.5\headheight){\colorbox{mygrey}
{\phantom{\rule{\textwidth}{1.5\headheight
\lhead{text...}
\rhead{}
\chead{}
If only the header's text should be in a grey box, you could try

\usepackage[dvips]{graphicx,color} 
\usepackage{fancybox} 

\definecolor{mygrey}{gray}{0.9}
\setlength{\fboxsep}{0pt}
\renewcommand{\headrulewidth}{0pt}
\pagestyle{fancy} 
\fancyhead{}
\fancyhead[L]{\colorbox{mygrey}{\parbox[c][]{}{text}}}

HTH,
Jürgen.
 

Dear Jürgen,
I am  sorry, but it seems that I am only able to produce a lot of 
Latex-Errors.
What I want to do is: The headers text should have a grey background 
and  smaller letters as  the normal text.  With my   preambel  there is 
a line under the header: how can I  create a header without this line?
All my  trials ended with many errors.
The documentclass is article (koms-script) and page style is fancy. 
Shall I use annother class or pagestyle?
I hope you are  not  angry with me but I need your help .
Gerhard



Re: Headings in a Box

2004-04-23 Thread Juergen Spitzmueller
Gerhard Lindel wrote:
 I have  use headings in my document and it is realized with the following
 LATEX-preambel (page-style is fancy):
 \lhead{text...}
 \rhead{}
 \chead{}
 \lfoot{text}
 It looks quite fine but my professor wants it in a box and with grey or
 blue background.

I do not understand what you want exactly. 
If you want the whole header with grey background, you can try to do something 
like this:

\usepackage[dvips]{graphicx,color} 
\usepackage{fancybox} 

\definecolor{mygrey}{gray}{0.9}
\setlength{\fboxsep}{0pt}
\renewcommand{\headrulewidth}{0pt}

\fancyput(\oddsidemargin,-2.5\headheight){\colorbox{mygrey}
{\phantom{\rule{\textwidth}{1.5\headheight

\lhead{text...}
\rhead{}
\chead{}

If only the header's text should be in a grey box, you could try

\usepackage[dvips]{graphicx,color} 
\usepackage{fancybox} 

\definecolor{mygrey}{gray}{0.9}
\setlength{\fboxsep}{0pt}
\renewcommand{\headrulewidth}{0pt}

\pagestyle{fancy} 
\fancyhead{}
\fancyhead[L]{\colorbox{mygrey}{\parbox[c][boxheight]{boxwidth}{text}}}

HTH,
Jürgen.


Re: Headings in a Box

2004-04-23 Thread Juergen Spitzmueller
Gerhard Lindel wrote:
 I have  use headings in my document and it is realized with the following
 LATEX-preambel (page-style is fancy):
 \lhead{text...}
 \rhead{}
 \chead{}
 \lfoot{text}
 It looks quite fine but my professor wants it in a box and with grey or
 blue background.

I do not understand what you want exactly. 
If you want the whole header with grey background, you can try to do something 
like this:

\usepackage[dvips]{graphicx,color} 
\usepackage{fancybox} 

\definecolor{mygrey}{gray}{0.9}
\setlength{\fboxsep}{0pt}
\renewcommand{\headrulewidth}{0pt}

\fancyput(\oddsidemargin,-2.5\headheight){\colorbox{mygrey}
{\phantom{\rule{\textwidth}{1.5\headheight

\lhead{text...}
\rhead{}
\chead{}

If only the header's text should be in a grey box, you could try

\usepackage[dvips]{graphicx,color} 
\usepackage{fancybox} 

\definecolor{mygrey}{gray}{0.9}
\setlength{\fboxsep}{0pt}
\renewcommand{\headrulewidth}{0pt}

\pagestyle{fancy} 
\fancyhead{}
\fancyhead[L]{\colorbox{mygrey}{\parbox[c][boxheight]{boxwidth}{text}}}

HTH,
Jürgen.


Re: Headings in a Box

2004-04-23 Thread Juergen Spitzmueller
Gerhard Lindel wrote:
> I have  use headings in my document and it is realized with the following
> LATEX-preambel (page-style is fancy):
> \lhead{text...}
> \rhead{}
> \chead{}
> \lfoot{text}
> It looks quite fine but my professor wants it in a box and with grey or
> blue background.

I do not understand what you want exactly. 
If you want the whole header with grey background, you can try to do something 
like this:

\usepackage[dvips]{graphicx,color} 
\usepackage{fancybox} 

\definecolor{mygrey}{gray}{0.9}
\setlength{\fboxsep}{0pt}
\renewcommand{\headrulewidth}{0pt}

\fancyput(\oddsidemargin,-2.5\headheight){\colorbox{mygrey}
{\phantom{\rule{\textwidth}{1.5\headheight

\lhead{text...}
\rhead{}
\chead{}

If only the header's text should be in a grey box, you could try

\usepackage[dvips]{graphicx,color} 
\usepackage{fancybox} 

\definecolor{mygrey}{gray}{0.9}
\setlength{\fboxsep}{0pt}
\renewcommand{\headrulewidth}{0pt}

\pagestyle{fancy} 
\fancyhead{}
\fancyhead[L]{\colorbox{mygrey}{\parbox[c][]{}{text}}}

HTH,
Jürgen.


Headings in a Box

2004-04-22 Thread Gerhard Lindel
Dear list,
I have  use headings in my document and it is realized with the following
LATEX-preambel (page-style is fancy):
\lhead{text...}
\rhead{}
\chead{}
\lfoot{text}
It looks quite fine but my professor wants it in a box and with grey or 
blue background.
All  trials with
\fbox  etc.
only produced errors.
Could someone be so kind mailing me a better preambel.
Thanks
Gerhard



Headings in a Box

2004-04-22 Thread Gerhard Lindel
Dear list,
I have  use headings in my document and it is realized with the following
LATEX-preambel (page-style is fancy):
\lhead{text...}
\rhead{}
\chead{}
\lfoot{text}
It looks quite fine but my professor wants it in a box and with grey or 
blue background.
All  trials with
\fbox  etc.
only produced errors.
Could someone be so kind mailing me a better preambel.
Thanks
Gerhard



Headings in a Box

2004-04-22 Thread Gerhard Lindel
Dear list,
I have  use headings in my document and it is realized with the following
LATEX-preambel (page-style is fancy):
\lhead{text...}
\rhead{}
\chead{}
\lfoot{text}
It looks quite fine but my professor wants it in a box and with grey or 
blue background.
All  trials with
\fbox  etc.
only produced errors.
Could someone be so kind mailing me a better preambel.
Thanks
Gerhard