Re: Headings with package fancyhdr

2015-05-04 Thread Jürgen Spitzmüller
2015-05-04 9:22 GMT+02:00 Aline Gautrein:

 2. I used

 \usepackage{multicol}

 \@ifundefined{chapter}

 {\def\wilh@nomsection{section}}

 {\def\wilh@nomsection{chapter}}

 \def\thenomenclature{%

 \begin{multicols}{2}[%

 \csname\wilh@nomsection\endcsname*{\nomname}

 \if@intoc\addcontentsline{toc}{\wilh@nomsection}{\nomname}\fi

 \nompreamble]

 \list{}{%

 \labelwidth\nom@tempdim

 \leftmargin\labelwidth

 \advance\leftmargin\labelsep

 \itemsep\nomitemsep

 \let\makelabel\nomlabel}%

 }

 \def\endthenomenclature{%

 \endlist

 \end{multicols}

 \nompostamble}


 to get a two column nomenclature with the columns beginning below the
 chapter title. Unfortunately Nomenclature is now not been recognized as
 chapter title by the fancyhdr anymore.


 Does anyone know what to do?



Try this instead:

\usepackage{multicol}

\def\thenomenclature{%

\begin{multicols}{2}[%

\addchap{\nomname}

\nompreamble]

\list{}{%

\labelwidth\nom@tempdim

\leftmargin\labelwidth

\advance\leftmargin\labelsep

\itemsep\nomitemsep

\let\makelabel\nomlabel}%

}

\def\endthenomenclature{%

\endlist

\end{multicols}

\nompostamble}



Jürgen




 Thanks a lot!




Re: Headings with package fancyhdr

2015-05-04 Thread Aline Gautrein
Hey Jürgen!

Thanks a lot! I switched to scrpage and used this comand in front of the
nomenclature entry:

\markboth{\MakeMarkcase{Nomenclature}}
{\MakeMarkcase{Nomenclature}}

Works fine :-)

2015-05-04 9:34 GMT+02:00 Jürgen Spitzmüller sp...@lyx.org:

 2015-05-04 9:22 GMT+02:00 Aline Gautrein:

 2. I used

 \usepackage{multicol}

 \@ifundefined{chapter}

 {\def\wilh@nomsection{section}}

 {\def\wilh@nomsection{chapter}}

 \def\thenomenclature{%

 \begin{multicols}{2}[%

 \csname\wilh@nomsection\endcsname*{\nomname}

 \if@intoc\addcontentsline{toc}{\wilh@nomsection}{\nomname}\fi

 \nompreamble]

 \list{}{%

 \labelwidth\nom@tempdim

 \leftmargin\labelwidth

 \advance\leftmargin\labelsep

 \itemsep\nomitemsep

 \let\makelabel\nomlabel}%

 }

 \def\endthenomenclature{%

 \endlist

 \end{multicols}

 \nompostamble}


 to get a two column nomenclature with the columns beginning below the
 chapter title. Unfortunately Nomenclature is now not been recognized as
 chapter title by the fancyhdr anymore.


 Does anyone know what to do?



 Try this instead:

 \usepackage{multicol}

 \def\thenomenclature{%

 \begin{multicols}{2}[%

 \addchap{\nomname}

 \nompreamble]

 \list{}{%

 \labelwidth\nom@tempdim

 \leftmargin\labelwidth

 \advance\leftmargin\labelsep

 \itemsep\nomitemsep

 \let\makelabel\nomlabel}%

 }

 \def\endthenomenclature{%

 \endlist

 \end{multicols}

 \nompostamble}



 Jürgen




 Thanks a lot!





Re: Headings with package fancyhdr

2015-05-04 Thread Jürgen Spitzmüller
2015-05-04 9:22 GMT+02:00 Aline Gautrein:

 2. I used

 \usepackage{multicol}

 \@ifundefined{chapter}

 {\def\wilh@nomsection{section}}

 {\def\wilh@nomsection{chapter}}

 \def\thenomenclature{%

 \begin{multicols}{2}[%

 \csname\wilh@nomsection\endcsname*{\nomname}

 \if@intoc\addcontentsline{toc}{\wilh@nomsection}{\nomname}\fi

 \nompreamble]

 \list{}{%

 \labelwidth\nom@tempdim

 \leftmargin\labelwidth

 \advance\leftmargin\labelsep

 \itemsep\nomitemsep

 \let\makelabel\nomlabel}%

 }

 \def\endthenomenclature{%

 \endlist

 \end{multicols}

 \nompostamble}


 to get a two column nomenclature with the columns beginning below the
 chapter title. Unfortunately Nomenclature is now not been recognized as
 chapter title by the fancyhdr anymore.


 Does anyone know what to do?



Try this instead:

\usepackage{multicol}

\def\thenomenclature{%

\begin{multicols}{2}[%

\addchap{\nomname}

\nompreamble]

\list{}{%

\labelwidth\nom@tempdim

\leftmargin\labelwidth

\advance\leftmargin\labelsep

\itemsep\nomitemsep

\let\makelabel\nomlabel}%

}

\def\endthenomenclature{%

\endlist

\end{multicols}

\nompostamble}



Jürgen




 Thanks a lot!




Re: Headings with package fancyhdr

2015-05-04 Thread Aline Gautrein
Hey Jürgen!

Thanks a lot! I switched to scrpage and used this comand in front of the
nomenclature entry:

\markboth{\MakeMarkcase{Nomenclature}}
{\MakeMarkcase{Nomenclature}}

Works fine :-)

2015-05-04 9:34 GMT+02:00 Jürgen Spitzmüller sp...@lyx.org:

 2015-05-04 9:22 GMT+02:00 Aline Gautrein:

 2. I used

 \usepackage{multicol}

 \@ifundefined{chapter}

 {\def\wilh@nomsection{section}}

 {\def\wilh@nomsection{chapter}}

 \def\thenomenclature{%

 \begin{multicols}{2}[%

 \csname\wilh@nomsection\endcsname*{\nomname}

 \if@intoc\addcontentsline{toc}{\wilh@nomsection}{\nomname}\fi

 \nompreamble]

 \list{}{%

 \labelwidth\nom@tempdim

 \leftmargin\labelwidth

 \advance\leftmargin\labelsep

 \itemsep\nomitemsep

 \let\makelabel\nomlabel}%

 }

 \def\endthenomenclature{%

 \endlist

 \end{multicols}

 \nompostamble}


 to get a two column nomenclature with the columns beginning below the
 chapter title. Unfortunately Nomenclature is now not been recognized as
 chapter title by the fancyhdr anymore.


 Does anyone know what to do?



 Try this instead:

 \usepackage{multicol}

 \def\thenomenclature{%

 \begin{multicols}{2}[%

 \addchap{\nomname}

 \nompreamble]

 \list{}{%

 \labelwidth\nom@tempdim

 \leftmargin\labelwidth

 \advance\leftmargin\labelsep

 \itemsep\nomitemsep

 \let\makelabel\nomlabel}%

 }

 \def\endthenomenclature{%

 \endlist

 \end{multicols}

 \nompostamble}



 Jürgen




 Thanks a lot!





Re: Headings with package fancyhdr

2015-05-04 Thread Jürgen Spitzmüller
2015-05-04 9:22 GMT+02:00 Aline Gautrein:

> 2. I used
>
> \usepackage{multicol}
>
> \@ifundefined{chapter}
>
> {\def\wilh@nomsection{section}}
>
> {\def\wilh@nomsection{chapter}}
>
> \def\thenomenclature{%
>
> \begin{multicols}{2}[%
>
> \csname\wilh@nomsection\endcsname*{\nomname}
>
> \if@intoc\addcontentsline{toc}{\wilh@nomsection}{\nomname}\fi
>
> \nompreamble]
>
> \list{}{%
>
> \labelwidth\nom@tempdim
>
> \leftmargin\labelwidth
>
> \advance\leftmargin\labelsep
>
> \itemsep\nomitemsep
>
> \let\makelabel\nomlabel}%
>
> }
>
> \def\endthenomenclature{%
>
> \endlist
>
> \end{multicols}
>
> \nompostamble}
>
>
> to get a two column nomenclature with the columns beginning below the
> chapter title. Unfortunately "Nomenclature" is now not been recognized as
> chapter title by the fancyhdr anymore.
>
>
> Does anyone know what to do?
>


Try this instead:

\usepackage{multicol}

\def\thenomenclature{%

\begin{multicols}{2}[%

\addchap{\nomname}

\nompreamble]

\list{}{%

\labelwidth\nom@tempdim

\leftmargin\labelwidth

\advance\leftmargin\labelsep

\itemsep\nomitemsep

\let\makelabel\nomlabel}%

}

\def\endthenomenclature{%

\endlist

\end{multicols}

\nompostamble}



Jürgen



>
> Thanks a lot!
>
>


Re: Headings with package fancyhdr

2015-05-04 Thread Aline Gautrein
Hey Jürgen!

Thanks a lot! I switched to scrpage and used this comand in front of the
nomenclature entry:

\markboth{\MakeMarkcase{Nomenclature}}
{\MakeMarkcase{Nomenclature}}

Works fine :-)

2015-05-04 9:34 GMT+02:00 Jürgen Spitzmüller :

> 2015-05-04 9:22 GMT+02:00 Aline Gautrein:
>
>> 2. I used
>>
>> \usepackage{multicol}
>>
>> \@ifundefined{chapter}
>>
>> {\def\wilh@nomsection{section}}
>>
>> {\def\wilh@nomsection{chapter}}
>>
>> \def\thenomenclature{%
>>
>> \begin{multicols}{2}[%
>>
>> \csname\wilh@nomsection\endcsname*{\nomname}
>>
>> \if@intoc\addcontentsline{toc}{\wilh@nomsection}{\nomname}\fi
>>
>> \nompreamble]
>>
>> \list{}{%
>>
>> \labelwidth\nom@tempdim
>>
>> \leftmargin\labelwidth
>>
>> \advance\leftmargin\labelsep
>>
>> \itemsep\nomitemsep
>>
>> \let\makelabel\nomlabel}%
>>
>> }
>>
>> \def\endthenomenclature{%
>>
>> \endlist
>>
>> \end{multicols}
>>
>> \nompostamble}
>>
>>
>> to get a two column nomenclature with the columns beginning below the
>> chapter title. Unfortunately "Nomenclature" is now not been recognized as
>> chapter title by the fancyhdr anymore.
>>
>>
>> Does anyone know what to do?
>>
>
>
> Try this instead:
>
> \usepackage{multicol}
>
> \def\thenomenclature{%
>
> \begin{multicols}{2}[%
>
> \addchap{\nomname}
>
> \nompreamble]
>
> \list{}{%
>
> \labelwidth\nom@tempdim
>
> \leftmargin\labelwidth
>
> \advance\leftmargin\labelsep
>
> \itemsep\nomitemsep
>
> \let\makelabel\nomlabel}%
>
> }
>
> \def\endthenomenclature{%
>
> \endlist
>
> \end{multicols}
>
> \nompostamble}
>
>
>
> Jürgen
>
>
>
>>
>> Thanks a lot!
>>
>>
>


Re: Headings

2015-04-24 Thread Richard Heck

On 04/21/2015 12:24 PM, Aline Gautrein wrote:

Hey Lyx-experts!

I have a new problem with my document ;-)
I want to insert a nice header for the document. I already foudn how 
to insert the header wit the package {scrpage2}. However, my document 
begins with a lot of lists... (table of contents, list of figures, 
list of tables etc.} I want the header to begin at the first (second) 
page of the first chapter. I managed to start the page numbering at 
this page with \mainmatter. I also tried \thispagestyle{empty} but 
that did'nt work.


Any suggestions?


I don't use that class, but if you look at the manual for scrpage2
http://tug.ctan.org/macros/latex/contrib/koma-script/doc/scrpage2.pdf
there is some help on p. E6. Roughly, I think you want to do:
\clearscrheadfoot
\ohead{...}
etc
at the beginning of the main matter. The new headings will take effect 
at the point you declare them. If you have put them in the preamble, 
that is why they are affecting earlier pages.


Richard



Re: Headings

2015-04-24 Thread Richard Heck

On 04/21/2015 12:24 PM, Aline Gautrein wrote:

Hey Lyx-experts!

I have a new problem with my document ;-)
I want to insert a nice header for the document. I already foudn how 
to insert the header wit the package {scrpage2}. However, my document 
begins with a lot of lists... (table of contents, list of figures, 
list of tables etc.} I want the header to begin at the first (second) 
page of the first chapter. I managed to start the page numbering at 
this page with \mainmatter. I also tried \thispagestyle{empty} but 
that did'nt work.


Any suggestions?


I don't use that class, but if you look at the manual for scrpage2
http://tug.ctan.org/macros/latex/contrib/koma-script/doc/scrpage2.pdf
there is some help on p. E6. Roughly, I think you want to do:
\clearscrheadfoot
\ohead{...}
etc
at the beginning of the main matter. The new headings will take effect 
at the point you declare them. If you have put them in the preamble, 
that is why they are affecting earlier pages.


Richard



Re: Headings

2015-04-24 Thread Richard Heck

On 04/21/2015 12:24 PM, Aline Gautrein wrote:

Hey Lyx-experts!

I have a new problem with my document ;-)
I want to insert a nice header for the document. I already foudn how 
to insert the header wit the package {scrpage2}. However, my document 
begins with a lot of lists... (table of contents, list of figures, 
list of tables etc.} I want the header to begin at the first (second) 
page of the first chapter. I managed to start the page numbering at 
this page with \mainmatter. I also tried \thispagestyle{empty} but 
that did'nt work.


Any suggestions?


I don't use that class, but if you look at the manual for scrpage2
http://tug.ctan.org/macros/latex/contrib/koma-script/doc/scrpage2.pdf
there is some help on p. E6. Roughly, I think you want to do:
\clearscrheadfoot
\ohead{...}
etc
at the beginning of the main matter. The new headings will take effect 
at the point you declare them. If you have put them in the preamble, 
that is why they are affecting earlier pages.


Richard



Re: Headings in Book (Koma-Script)

2009-02-19 Thread Guenter Milde
On 2009-02-19, Waluyo Adi Siswanto wrote:

 I am preparing a book manuscript using Book (KOMA-Script) two-sided
 document, but I am not happy with the headings (Document  Settings  Page
 Layout).
 What I want is the headings of the Book class (chapter/section and page
 number are written as the header).
 Is that possible using Book (KOMA-Script) with headings similar to that in
 Book Class.

Yes. Read the documentation (scrguien.pdf) that comes with KOMA and insert
the appropriate commands in the DocumentSettingsLaTeX preamble.

Günter



Re: Headings in Book (Koma-Script)

2009-02-19 Thread Waluyo Adi Siswanto
 Yes. Read the documentation (scrguien.pdf) that comes with KOMA and insert
 the appropriate commands in the DocumentSettingsLaTeX preamble.

Thank you for the information
After reading scrguien.pdf and fancyhdr.pdf, I can get very close to
what I want by adding commands in the preamble

\fancyhead[LO,RE]{\textsl{\nouppercase{\rightmark}}}
\fancyhead[LE,RO]{\textsl\thepage}
\fancyfoot{}
\renewcommand{\headrulewidth} {0pt}

--
was




Re: Headings in Book (Koma-Script)

2009-02-19 Thread Guenter Milde
On 2009-02-19, Waluyo Adi Siswanto wrote:

 I am preparing a book manuscript using Book (KOMA-Script) two-sided
 document, but I am not happy with the headings (Document  Settings  Page
 Layout).
 What I want is the headings of the Book class (chapter/section and page
 number are written as the header).
 Is that possible using Book (KOMA-Script) with headings similar to that in
 Book Class.

Yes. Read the documentation (scrguien.pdf) that comes with KOMA and insert
the appropriate commands in the DocumentSettingsLaTeX preamble.

Günter



Re: Headings in Book (Koma-Script)

2009-02-19 Thread Waluyo Adi Siswanto
 Yes. Read the documentation (scrguien.pdf) that comes with KOMA and insert
 the appropriate commands in the DocumentSettingsLaTeX preamble.

Thank you for the information
After reading scrguien.pdf and fancyhdr.pdf, I can get very close to
what I want by adding commands in the preamble

\fancyhead[LO,RE]{\textsl{\nouppercase{\rightmark}}}
\fancyhead[LE,RO]{\textsl\thepage}
\fancyfoot{}
\renewcommand{\headrulewidth} {0pt}

--
was




Re: Headings in Book (Koma-Script)

2009-02-19 Thread Guenter Milde
On 2009-02-19, Waluyo Adi Siswanto wrote:

> I am preparing a book manuscript using Book (KOMA-Script) two-sided
> document, but I am not happy with the headings (Document > Settings > Page
> Layout).
> What I want is the headings of the Book class (chapter/section and page
> number are written as the header).
> Is that possible using Book (KOMA-Script) with headings similar to that in
> Book Class.

Yes. Read the documentation (scrguien.pdf) that comes with KOMA and insert
the appropriate commands in the Document>Settings>LaTeX preamble.

Günter



Re: Headings in Book (Koma-Script)

2009-02-19 Thread Waluyo Adi Siswanto
> Yes. Read the documentation (scrguien.pdf) that comes with KOMA and insert
> the appropriate commands in the Document>Settings>LaTeX preamble.

Thank you for the information
After reading scrguien.pdf and fancyhdr.pdf, I can get very close to
what I want by adding commands in the preamble

\fancyhead[LO,RE]{\textsl{\nouppercase{\rightmark}}}
\fancyhead[LE,RO]{\textsl\thepage}
\fancyfoot{}
\renewcommand{\headrulewidth} {0pt}

--
was




Re: headings

2008-11-27 Thread Vittorio Zuccala'
Hi, i used fanchy headers...
In LyX preamble used:


\usepackage{fancyhdr}
\usepackage{graphicx}
\pagestyle{fancy}
\lhead{\includegraphics[width=3.5cm,
height=0.7cm]{ImmaginiManualeCredito/logo.jpg}}
\renewcommand{\headrulewidth}{0.4pt}
\renewcommand{\footrulewidth}{0.4pt}

It works fine.
Bye,
 Vittorio



On Tue, Nov 18, 2008 at 7:11 PM, rgheck [EMAIL PROTECTED] wrote:
 Vittorio Zuccala' wrote:

 Hello,
 sorry for my bad english...
 I'd like to have particular headings. How can i change them?
 In other words, i want somethings as follow:

 \begin_example_heading

 LOGO.jpg company name
company address
company tel/fax
 

 \end_example_heading

 How can i perform it?
 Or where can i go to read about personalize headings?
 Thanks!



 I assume you want to do this in a letter? If so, then mostly you just have
 to use some fairly simple LaTeX. You can't really do this in LyX itself. The
 attached file shows you one way to do this kind of thing.

 rh






-- 
Vittorio Zuccalà


Re: headings

2008-11-27 Thread Vittorio Zuccala'
Hi, i used fanchy headers...
In LyX preamble used:


\usepackage{fancyhdr}
\usepackage{graphicx}
\pagestyle{fancy}
\lhead{\includegraphics[width=3.5cm,
height=0.7cm]{ImmaginiManualeCredito/logo.jpg}}
\renewcommand{\headrulewidth}{0.4pt}
\renewcommand{\footrulewidth}{0.4pt}

It works fine.
Bye,
 Vittorio



On Tue, Nov 18, 2008 at 7:11 PM, rgheck [EMAIL PROTECTED] wrote:
 Vittorio Zuccala' wrote:

 Hello,
 sorry for my bad english...
 I'd like to have particular headings. How can i change them?
 In other words, i want somethings as follow:

 \begin_example_heading

 LOGO.jpg company name
company address
company tel/fax
 

 \end_example_heading

 How can i perform it?
 Or where can i go to read about personalize headings?
 Thanks!



 I assume you want to do this in a letter? If so, then mostly you just have
 to use some fairly simple LaTeX. You can't really do this in LyX itself. The
 attached file shows you one way to do this kind of thing.

 rh






-- 
Vittorio Zuccalà


Re: headings

2008-11-27 Thread Vittorio Zuccala'
Hi, i used fanchy headers...
In LyX preamble used:


\usepackage{fancyhdr}
\usepackage{graphicx}
\pagestyle{fancy}
\lhead{\includegraphics[width=3.5cm,
height=0.7cm]{ImmaginiManualeCredito/logo.jpg}}
\renewcommand{\headrulewidth}{0.4pt}
\renewcommand{\footrulewidth}{0.4pt}

It works fine.
Bye,
 Vittorio



On Tue, Nov 18, 2008 at 7:11 PM, rgheck <[EMAIL PROTECTED]> wrote:
> Vittorio Zuccala' wrote:
>>
>> Hello,
>> sorry for my bad english...
>> I'd like to have particular headings. How can i change them?
>> In other words, i want somethings as follow:
>>
>> \begin_example_heading
>>
>> LOGO.jpg company name
>>company address
>>company tel/fax
>> 
>>
>> \end_example_heading
>>
>> How can i perform it?
>> Or where can i go to read about personalize headings?
>> Thanks!
>>
>>
>
> I assume you want to do this in a letter? If so, then mostly you just have
> to use some fairly simple LaTeX. You can't really do this in LyX itself. The
> attached file shows you one way to do this kind of thing.
>
> rh
>
>
>



-- 
Vittorio Zuccalà


Re: headings

2008-11-18 Thread rgheck

Vittorio Zuccala' wrote:

Hello,
sorry for my bad english...
I'd like to have particular headings. How can i change them?
In other words, i want somethings as follow:

\begin_example_heading

LOGO.jpg company name
company address
company tel/fax


\end_example_heading

How can i perform it?
Or where can i go to read about personalize headings?
Thanks!

  
I assume you want to do this in a letter? If so, then mostly you just 
have to use some fairly simple LaTeX. You can't really do this in LyX 
itself. The attached file shows you one way to do this kind of thing.


rh


\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{newletter}[2004/10/15]
\RequirePackage{graphicx}
%Main Code
%Fonts for letterhead
\DeclareFixedFont{\HeadFont}{OT1}{cmss}{m}{n}{17.68}
\DeclareFixedFont{\AddrFont}{OT1}{cmss}{m}{n}{10}

%Info for letterhead
\newcommand{\UnivName}{Brown University}
\newcommand{\DeptName}{Department of Philosophy}
\newcommand{\ImageLocation}{/home/rgheck/files/graphics/brown}
\newcommand{\SigLocation}{/home/rgheck/files/graphics/signature}
\newcommand{\FixedAddra}{Department of Philosophy}
\newcommand{\FixedAddrb}{Box 1918}
\newcommand{\FixedAddrc}{Brown University}
\newcommand{\FixedAddrd}{Providence RI 02912}
\newcommand{\FixedAddre}{+1(401)863-2718}
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED] \name{#1}}
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]

\renewcommand{\closing}[1]{
  \par\nobreak\vspace{\parskip}%
  \stopbreaks
  \noindent
  [EMAIL PROTECTED]
  \hspace*{\longindentation}\fi
  \parbox{\indentedwidth}{\raggedright
   \ignorespaces #1\\%
   [EMAIL PROTECTED]
   \fromname
   \else \fromsig \fi\strut}%
   \par}

%Margin and papersize info
[EMAIL PROTECTED]@page=1\vskip \z@ \relax\fi}
\setlength\topmargin{0in}
\setlength\topskip{0in}
\setlength\oddsidemargin{0in}
\setlength\textwidth{6.5in}
\setlength\textheight{8.5in}
%Kill footers
[EMAIL PROTECTED]
[EMAIL PROTECTED]

\newlength{\leftside}
\setlength\leftside{3.25in}
\newlength{\rightside}
\setlength\rightside{3.25in}

%Top of letterhead
\newcommand{\LHead}[0]{
\newsavebox{\ShieldBox}
\newsavebox{\UnivBox}
%Shield Box
\sbox{\ShieldBox}{%
\parbox{2.25in}{%
\begin{flushright}%
\includegraphics{\ImageLocation}%
\end{flushright}%
}%
}%end sbox
%Univ Box
\sbox{\UnivBox}{%
\parbox{4.25in}{%
{\HeadFont \DeptName}\\%
{\HeadFont \UnivName}%
}%
}%end sbox
\begin{center}%
\parbox{\textwidth}{%
\usebox{\ShieldBox}%
\usebox{\UnivBox}%
}%
\end{center}%
}%end of \LHead

%Address info below letterhead
\newcommand{\Addresses}{%
\parbox{\textwidth}
{
 {\AddrFont
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
}
}%End \Address

%Page style for first page
[EMAIL PROTECTED]
%\setlength\headsep{1.25in}
%\setlength\textheight{7.5in}
%\setlength\topskip{10in}
[EMAIL PROTECTED]
\parbox{\textwidth}{
\LHead
\Addresses
\rule[-8pt]{\textwidth}{1pt}
\vspace{.12in}
[EMAIL PROTECTED]
}
\vspace{.12in}


}%oddhead

}%end [EMAIL PROTECTED]

%Page style for subsequent pages
[EMAIL PROTECTED]
%\setlength\headheight{5in}
%\setlength\textheight{7.5in}
\setlength\headsep{.5in}
[EMAIL PROTECTED]
{
[EMAIL PROTECTED] \thepage}
\rule{\textwidth}{1pt}
}
[EMAIL PROTECTED]
[EMAIL PROTECTED]@oddhead}
}%end [EMAIL PROTECTED]

%Redefine opening of letter
\renewcommand{\opening}[1]{
\thispagestyle{firstpage}%
\vspace*{1.75in}
\vspace{\parskip}%
%Need to put an \if{\toname is empty} here
{\raggedright\toname\\{}\toaddress\par}
\vspace{2\parskip}%
#1\par\nobreak}%end \opening

%Declare headings page style in effect
\pagestyle{headings}


Re: headings

2008-11-18 Thread rgheck

Vittorio Zuccala' wrote:

Hello,
sorry for my bad english...
I'd like to have particular headings. How can i change them?
In other words, i want somethings as follow:

\begin_example_heading

LOGO.jpg company name
company address
company tel/fax


\end_example_heading

How can i perform it?
Or where can i go to read about personalize headings?
Thanks!

  
I assume you want to do this in a letter? If so, then mostly you just 
have to use some fairly simple LaTeX. You can't really do this in LyX 
itself. The attached file shows you one way to do this kind of thing.


rh


\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{newletter}[2004/10/15]
\RequirePackage{graphicx}
%Main Code
%Fonts for letterhead
\DeclareFixedFont{\HeadFont}{OT1}{cmss}{m}{n}{17.68}
\DeclareFixedFont{\AddrFont}{OT1}{cmss}{m}{n}{10}

%Info for letterhead
\newcommand{\UnivName}{Brown University}
\newcommand{\DeptName}{Department of Philosophy}
\newcommand{\ImageLocation}{/home/rgheck/files/graphics/brown}
\newcommand{\SigLocation}{/home/rgheck/files/graphics/signature}
\newcommand{\FixedAddra}{Department of Philosophy}
\newcommand{\FixedAddrb}{Box 1918}
\newcommand{\FixedAddrc}{Brown University}
\newcommand{\FixedAddrd}{Providence RI 02912}
\newcommand{\FixedAddre}{+1(401)863-2718}
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED] \name{#1}}
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]

\renewcommand{\closing}[1]{
  \par\nobreak\vspace{\parskip}%
  \stopbreaks
  \noindent
  [EMAIL PROTECTED]
  \hspace*{\longindentation}\fi
  \parbox{\indentedwidth}{\raggedright
   \ignorespaces #1\\%
   [EMAIL PROTECTED]
   \fromname
   \else \fromsig \fi\strut}%
   \par}

%Margin and papersize info
[EMAIL PROTECTED]@page=1\vskip \z@ \relax\fi}
\setlength\topmargin{0in}
\setlength\topskip{0in}
\setlength\oddsidemargin{0in}
\setlength\textwidth{6.5in}
\setlength\textheight{8.5in}
%Kill footers
[EMAIL PROTECTED]
[EMAIL PROTECTED]

\newlength{\leftside}
\setlength\leftside{3.25in}
\newlength{\rightside}
\setlength\rightside{3.25in}

%Top of letterhead
\newcommand{\LHead}[0]{
\newsavebox{\ShieldBox}
\newsavebox{\UnivBox}
%Shield Box
\sbox{\ShieldBox}{%
\parbox{2.25in}{%
\begin{flushright}%
\includegraphics{\ImageLocation}%
\end{flushright}%
}%
}%end sbox
%Univ Box
\sbox{\UnivBox}{%
\parbox{4.25in}{%
{\HeadFont \DeptName}\\%
{\HeadFont \UnivName}%
}%
}%end sbox
\begin{center}%
\parbox{\textwidth}{%
\usebox{\ShieldBox}%
\usebox{\UnivBox}%
}%
\end{center}%
}%end of \LHead

%Address info below letterhead
\newcommand{\Addresses}{%
\parbox{\textwidth}
{
 {\AddrFont
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
}
}%End \Address

%Page style for first page
[EMAIL PROTECTED]
%\setlength\headsep{1.25in}
%\setlength\textheight{7.5in}
%\setlength\topskip{10in}
[EMAIL PROTECTED]
\parbox{\textwidth}{
\LHead
\Addresses
\rule[-8pt]{\textwidth}{1pt}
\vspace{.12in}
[EMAIL PROTECTED]
}
\vspace{.12in}


}%oddhead

}%end [EMAIL PROTECTED]

%Page style for subsequent pages
[EMAIL PROTECTED]
%\setlength\headheight{5in}
%\setlength\textheight{7.5in}
\setlength\headsep{.5in}
[EMAIL PROTECTED]
{
[EMAIL PROTECTED] \thepage}
\rule{\textwidth}{1pt}
}
[EMAIL PROTECTED]
[EMAIL PROTECTED]@oddhead}
}%end [EMAIL PROTECTED]

%Redefine opening of letter
\renewcommand{\opening}[1]{
\thispagestyle{firstpage}%
\vspace*{1.75in}
\vspace{\parskip}%
%Need to put an \if{\toname is empty} here
{\raggedright\toname\\{}\toaddress\par}
\vspace{2\parskip}%
#1\par\nobreak}%end \opening

%Declare headings page style in effect
\pagestyle{headings}


Re: headings

2008-11-18 Thread rgheck

Vittorio Zuccala' wrote:

Hello,
sorry for my bad english...
I'd like to have particular headings. How can i change them?
In other words, i want somethings as follow:

\begin_example_heading

LOGO.jpg company name
company address
company tel/fax


\end_example_heading

How can i perform it?
Or where can i go to read about personalize headings?
Thanks!

  
I assume you want to do this in a letter? If so, then mostly you just 
have to use some fairly simple LaTeX. You can't really do this in LyX 
itself. The attached file shows you one way to do this kind of thing.


rh


\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{newletter}[2004/10/15]
\RequirePackage{graphicx}
%Main Code
%Fonts for letterhead
\DeclareFixedFont{\HeadFont}{OT1}{cmss}{m}{n}{17.68}
\DeclareFixedFont{\AddrFont}{OT1}{cmss}{m}{n}{10}

%Info for letterhead
\newcommand{\UnivName}{Brown University}
\newcommand{\DeptName}{Department of Philosophy}
\newcommand{\ImageLocation}{/home/rgheck/files/graphics/brown}
\newcommand{\SigLocation}{/home/rgheck/files/graphics/signature}
\newcommand{\FixedAddra}{Department of Philosophy}
\newcommand{\FixedAddrb}{Box 1918}
\newcommand{\FixedAddrc}{Brown University}
\newcommand{\FixedAddrd}{Providence RI 02912}
\newcommand{\FixedAddre}{+1(401)863-2718}
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED] \name{#1}}
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]

\renewcommand{\closing}[1]{
  \par\nobreak\vspace{\parskip}%
  \stopbreaks
  \noindent
  [EMAIL PROTECTED]
  \hspace*{\longindentation}\fi
  \parbox{\indentedwidth}{\raggedright
   \ignorespaces #1\\%
   [EMAIL PROTECTED]
   \fromname
   \else \fromsig \fi\strut}%
   \par}

%Margin and papersize info
[EMAIL PROTECTED]@page=1\vskip \z@ \relax\fi}
\setlength\topmargin{0in}
\setlength\topskip{0in}
\setlength\oddsidemargin{0in}
\setlength\textwidth{6.5in}
\setlength\textheight{8.5in}
%Kill footers
[EMAIL PROTECTED]
[EMAIL PROTECTED]

\newlength{\leftside}
\setlength\leftside{3.25in}
\newlength{\rightside}
\setlength\rightside{3.25in}

%Top of letterhead
\newcommand{\LHead}[0]{
\newsavebox{\ShieldBox}
\newsavebox{\UnivBox}
%Shield Box
\sbox{\ShieldBox}{%
\parbox{2.25in}{%
\begin{flushright}%
\includegraphics{\ImageLocation}%
\end{flushright}%
}%
}%end sbox
%Univ Box
\sbox{\UnivBox}{%
\parbox{4.25in}{%
{\HeadFont \DeptName}\\%
{\HeadFont \UnivName}%
}%
}%end sbox
\begin{center}%
\parbox{\textwidth}{%
\usebox{\ShieldBox}%
\usebox{\UnivBox}%
}%
\end{center}%
}%end of \LHead

%Address info below letterhead
\newcommand{\Addresses}{%
\parbox{\textwidth}
{
 {\AddrFont
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
}
}%End \Address

%Page style for first page
[EMAIL PROTECTED]
%\setlength\headsep{1.25in}
%\setlength\textheight{7.5in}
%\setlength\topskip{10in}
[EMAIL PROTECTED]
\parbox{\textwidth}{
\LHead
\Addresses
\rule[-8pt]{\textwidth}{1pt}
\vspace{.12in}
[EMAIL PROTECTED]
}
\vspace{.12in}


}%oddhead

}%end [EMAIL PROTECTED]

%Page style for subsequent pages
[EMAIL PROTECTED]
%\setlength\headheight{5in}
%\setlength\textheight{7.5in}
\setlength\headsep{.5in}
[EMAIL PROTECTED]
{
[EMAIL PROTECTED] \thepage}
\rule{\textwidth}{1pt}
}
[EMAIL PROTECTED]
[EMAIL PROTECTED]@oddhead}
}%end [EMAIL PROTECTED]

%Redefine opening of letter
\renewcommand{\opening}[1]{
\thispagestyle{firstpage}%
\vspace*{1.75in}
\vspace{\parskip}%
%Need to put an \if{\toname is empty} here
{\raggedright\toname\\{}\toaddress\par}
\vspace{2\parskip}%
#1\par\nobreak}%end \opening

%Declare headings page style in effect
\pagestyle{headings}


Re: headings

2008-06-18 Thread NinaNutz
rgheck [EMAIL PROTECTED] writes:
   
 Try to create a very simple version of what you're trying to do, and see 
 if you can get that to work. Often, you'll find by doing this that 
 something else is messing you up. If you can't get it to work, post the 
 simple version here, and then we'll have something to work with.
 
 rh
 
 


What I'm trying to do is really simple, (or this is what I thought...):

\lhead{}
\chead{}
\renewcommand{\chaptermark}[1]{%
 \markboth{\MakeUppercase{%
\chaptername} \ \thechapter. %
\ #1}{}}
\renewcommand{\sectionmark}[1]{}
\fancyfoot[C]{\thepage}

I changed the margins of my document in lyx options:
lyx- Settings - Margins

the number of the pages is what it doesn't work...



Re: headings

2008-06-18 Thread rgheck

NinaNutz wrote:

What I'm trying to do is really simple, (or this is what I thought...):

\lhead{}
\chead{}
\renewcommand{\chaptermark}[1]{%
 \markboth{\MakeUppercase{%
\chaptername} \ \thechapter. %
\ #1}{}}
\renewcommand{\sectionmark}[1]{}
\fancyfoot[C]{\thepage}

I changed the margins of my document in lyx options:
lyx- Settings - Margins

the number of the pages is what it doesn't work...

  


It'll help us figure out what's going wrong if you can post an example 
LyX file that you think should work but doesn't. Otherwise, each one of 
us who wants to help you has to create such a file ourselves, and then 
we may get it wrong, because we're using a different document class, 
different margins, or who knows what.


rh



Re: headings

2008-06-18 Thread NinaNutz
rgheck [EMAIL PROTECTED] writes:
 
 It'll help us figure out what's going wrong if you can post an example 
 LyX file that you think should work but doesn't. Otherwise, each one of 
 us who wants to help you has to create such a file ourselves, and then 
 we may get it wrong, because we're using a different document class, 
 different margins, or who knows what.
 
 rh
 
 


How do I post an example of my lyx document? 
Do I send it to you?









Re: headings

2008-06-18 Thread rgheck

NinaNutz wrote:

rgheck [EMAIL PROTECTED] writes:
  
It'll help us figure out what's going wrong if you can post an example 
LyX file that you think should work but doesn't. Otherwise, each one of 
us who wants to help you has to create such a file ourselves, and then 
we may get it wrong, because we're using a different document class, 
different margins, or who knows what.


rh






How do I post an example of my lyx document? 
Do I send it to you?



  

Just attach it to your email.

rh



Re: headings

2008-06-18 Thread María José García
How do I post an example of my lyx document? 
Do I send it to you?
   
   
  
   Just attach it to your email.
   
   rh
  
Sorry... :S
I didn't realize that it was an email-list. I always 
have used it by web.
  
Here is my document, thanks.


  __ 
Enviado desde Correo Yahoo! La bandeja de entrada más inteligente.

example.lyx
Description: application/lyx


Re: headings

2008-06-18 Thread NinaNutz
rgheck [EMAIL PROTECTED] writes:
   
 Try to create a very simple version of what you're trying to do, and see 
 if you can get that to work. Often, you'll find by doing this that 
 something else is messing you up. If you can't get it to work, post the 
 simple version here, and then we'll have something to work with.
 
 rh
 
 


What I'm trying to do is really simple, (or this is what I thought...):

\lhead{}
\chead{}
\renewcommand{\chaptermark}[1]{%
 \markboth{\MakeUppercase{%
\chaptername} \ \thechapter. %
\ #1}{}}
\renewcommand{\sectionmark}[1]{}
\fancyfoot[C]{\thepage}

I changed the margins of my document in lyx options:
lyx- Settings - Margins

the number of the pages is what it doesn't work...



Re: headings

2008-06-18 Thread rgheck

NinaNutz wrote:

What I'm trying to do is really simple, (or this is what I thought...):

\lhead{}
\chead{}
\renewcommand{\chaptermark}[1]{%
 \markboth{\MakeUppercase{%
\chaptername} \ \thechapter. %
\ #1}{}}
\renewcommand{\sectionmark}[1]{}
\fancyfoot[C]{\thepage}

I changed the margins of my document in lyx options:
lyx- Settings - Margins

the number of the pages is what it doesn't work...

  


It'll help us figure out what's going wrong if you can post an example 
LyX file that you think should work but doesn't. Otherwise, each one of 
us who wants to help you has to create such a file ourselves, and then 
we may get it wrong, because we're using a different document class, 
different margins, or who knows what.


rh



Re: headings

2008-06-18 Thread NinaNutz
rgheck [EMAIL PROTECTED] writes:
 
 It'll help us figure out what's going wrong if you can post an example 
 LyX file that you think should work but doesn't. Otherwise, each one of 
 us who wants to help you has to create such a file ourselves, and then 
 we may get it wrong, because we're using a different document class, 
 different margins, or who knows what.
 
 rh
 
 


How do I post an example of my lyx document? 
Do I send it to you?









Re: headings

2008-06-18 Thread rgheck

NinaNutz wrote:

rgheck [EMAIL PROTECTED] writes:
  
It'll help us figure out what's going wrong if you can post an example 
LyX file that you think should work but doesn't. Otherwise, each one of 
us who wants to help you has to create such a file ourselves, and then 
we may get it wrong, because we're using a different document class, 
different margins, or who knows what.


rh






How do I post an example of my lyx document? 
Do I send it to you?



  

Just attach it to your email.

rh



Re: headings

2008-06-18 Thread María José García
How do I post an example of my lyx document? 
Do I send it to you?
   
   
  
   Just attach it to your email.
   
   rh
  
Sorry... :S
I didn't realize that it was an email-list. I always 
have used it by web.
  
Here is my document, thanks.


  __ 
Enviado desde Correo Yahoo! La bandeja de entrada más inteligente.

example.lyx
Description: application/lyx


Re: headings

2008-06-18 Thread NinaNutz
rgheck <[EMAIL PROTECTED]> writes:
>   
> Try to create a very simple version of what you're trying to do, and see 
> if you can get that to work. Often, you'll find by doing this that 
> something else is messing you up. If you can't get it to work, post the 
> simple version here, and then we'll have something to work with.
> 
> rh
> 
> 


What I'm trying to do is really simple, (or this is what I thought...):

\lhead{}
\chead{}
\renewcommand{\chaptermark}[1]{%
 \markboth{\MakeUppercase{%
\chaptername} \ \thechapter. %
\ #1}{}}
\renewcommand{\sectionmark}[1]{}
\fancyfoot[C]{\thepage}

I changed the margins of my document in lyx options:
lyx-> Settings -> Margins

the number of the pages is what it doesn't work...



Re: headings

2008-06-18 Thread rgheck

NinaNutz wrote:

What I'm trying to do is really simple, (or this is what I thought...):

\lhead{}
\chead{}
\renewcommand{\chaptermark}[1]{%
 \markboth{\MakeUppercase{%
\chaptername} \ \thechapter. %
\ #1}{}}
\renewcommand{\sectionmark}[1]{}
\fancyfoot[C]{\thepage}

I changed the margins of my document in lyx options:
lyx-> Settings -> Margins

the number of the pages is what it doesn't work...

  


It'll help us figure out what's going wrong if you can post an example 
LyX file that you think should work but doesn't. Otherwise, each one of 
us who wants to help you has to create such a file ourselves, and then 
we may get it wrong, because we're using a different document class, 
different margins, or who knows what.


rh



Re: headings

2008-06-18 Thread NinaNutz
rgheck <[EMAIL PROTECTED]> writes:
> 
> It'll help us figure out what's going wrong if you can post an example 
> LyX file that you think should work but doesn't. Otherwise, each one of 
> us who wants to help you has to create such a file ourselves, and then 
> we may get it wrong, because we're using a different document class, 
> different margins, or who knows what.
> 
> rh
> 
> 


How do I post an example of my lyx document? 
Do I send it to you?









Re: headings

2008-06-18 Thread rgheck

NinaNutz wrote:

rgheck <[EMAIL PROTECTED]> writes:
  
It'll help us figure out what's going wrong if you can post an example 
LyX file that you think should work but doesn't. Otherwise, each one of 
us who wants to help you has to create such a file ourselves, and then 
we may get it wrong, because we're using a different document class, 
different margins, or who knows what.


rh






How do I post an example of my lyx document? 
Do I send it to you?



  

Just attach it to your email.

rh



Re: headings

2008-06-18 Thread María José García
 > > > How do I post an example of my lyx document? 
> > > > Do I send it to you?
> > > >
> > > >
> > > >   
> > > Just attach it to your email.
> > > 
> > > rh
> > 
Sorry... :S
I didn't realize that it was an email-list. I always 
have used it by web.
  
Here is my document, thanks.


  __ 
Enviado desde Correo Yahoo! La bandeja de entrada más inteligente.

example.lyx
Description: application/lyx


Re: headings

2008-06-17 Thread NinaNutz
rgheck [EMAIL PROTECTED] writes:

 Actually, sorry, you can't quite do it that way. The \chaptermark 
 command does not hold the name of the chapter. Rather, it is called when 
 a chapter is defined, and it then calls \markright or \markleft or 
 \markboth to set the contents of the \rightmark or \leftmark macros, 
 which are what LaTeX uses to set the headings. It's best to keep on 
 using those, as that's what LaTeX expects.
 
 So what you really want to do is just something like this:
\rhead{\bfseries \rightmark}
 and then you can redefine \chaptermark as follows:
\renewcommand\chaptermark[1]{%
   \markboth{\chaptername \ \thechapter \ #1}}
 If you always want the chapter info, and not the section info, then 
 you'll also want to do:
\renewcommand\sectionmark[1]{}
 Otherwise, \sectionmark may mess things up. And if you do want the 
 section info, then you'll want to redefine \sectionmark more sensibly.
 
 Look at the example in section 13 of the fancyhdr docs.
 
 Richard
 
 

Thank you Richard, now it works :)

I know I am really clumsy, but with the document and your help I 
can understand the most :)
I don't know exactly why do I have to put a dot after somethings... 
but.. I can use the document to do what I want :)








Re: headings

2008-06-17 Thread NinaNutz
NinaNutz [EMAIL PROTECTED] writes:


Ok, it doesn't work at all, in my final document because I changed 
the margins of my document and the command

\fancyfoot[C]{\thepage}

doestn't work...

I tried:

\cfoot{\thepage}

and I have been looking for that in the documentation and 
I haven't found it.

thank you and sorry...









Re: headings

2008-06-17 Thread rgheck

NinaNutz wrote:

NinaNutz [EMAIL PROTECTED] writes:


Ok, it doesn't work at all, in my final document because I changed 
the margins of my document and the command


\fancyfoot[C]{\thepage}

doestn't work...

I tried:

\cfoot{\thepage}

and I have been looking for that in the documentation and 
I haven't found it.


thank you and sorry...

  
Try to create a very simple version of what you're trying to do, and see 
if you can get that to work. Often, you'll find by doing this that 
something else is messing you up. If you can't get it to work, post the 
simple version here, and then we'll have something to work with.


rh



Re: headings

2008-06-17 Thread NinaNutz
rgheck [EMAIL PROTECTED] writes:

 Actually, sorry, you can't quite do it that way. The \chaptermark 
 command does not hold the name of the chapter. Rather, it is called when 
 a chapter is defined, and it then calls \markright or \markleft or 
 \markboth to set the contents of the \rightmark or \leftmark macros, 
 which are what LaTeX uses to set the headings. It's best to keep on 
 using those, as that's what LaTeX expects.
 
 So what you really want to do is just something like this:
\rhead{\bfseries \rightmark}
 and then you can redefine \chaptermark as follows:
\renewcommand\chaptermark[1]{%
   \markboth{\chaptername \ \thechapter \ #1}}
 If you always want the chapter info, and not the section info, then 
 you'll also want to do:
\renewcommand\sectionmark[1]{}
 Otherwise, \sectionmark may mess things up. And if you do want the 
 section info, then you'll want to redefine \sectionmark more sensibly.
 
 Look at the example in section 13 of the fancyhdr docs.
 
 Richard
 
 

Thank you Richard, now it works :)

I know I am really clumsy, but with the document and your help I 
can understand the most :)
I don't know exactly why do I have to put a dot after somethings... 
but.. I can use the document to do what I want :)








Re: headings

2008-06-17 Thread NinaNutz
NinaNutz [EMAIL PROTECTED] writes:


Ok, it doesn't work at all, in my final document because I changed 
the margins of my document and the command

\fancyfoot[C]{\thepage}

doestn't work...

I tried:

\cfoot{\thepage}

and I have been looking for that in the documentation and 
I haven't found it.

thank you and sorry...









Re: headings

2008-06-17 Thread rgheck

NinaNutz wrote:

NinaNutz [EMAIL PROTECTED] writes:


Ok, it doesn't work at all, in my final document because I changed 
the margins of my document and the command


\fancyfoot[C]{\thepage}

doestn't work...

I tried:

\cfoot{\thepage}

and I have been looking for that in the documentation and 
I haven't found it.


thank you and sorry...

  
Try to create a very simple version of what you're trying to do, and see 
if you can get that to work. Often, you'll find by doing this that 
something else is messing you up. If you can't get it to work, post the 
simple version here, and then we'll have something to work with.


rh



Re: headings

2008-06-17 Thread NinaNutz
rgheck <[EMAIL PROTECTED]> writes:
> >   
> Actually, sorry, you can't quite do it that way. The \chaptermark 
> command does not hold the name of the chapter. Rather, it is called when 
> a chapter is defined, and it then calls \markright or \markleft or 
> \markboth to set the contents of the \rightmark or \leftmark macros, 
> which are what LaTeX uses to set the headings. It's best to keep on 
> using those, as that's what LaTeX expects.
> 
> So what you really want to do is just something like this:
>\rhead{\bfseries \rightmark}
> and then you can redefine \chaptermark as follows:
>\renewcommand\chaptermark[1]{%
>   \markboth{\chaptername \ \thechapter \ #1}}
> If you always want the chapter info, and not the section info, then 
> you'll also want to do:
>\renewcommand\sectionmark[1]{}
> Otherwise, \sectionmark may mess things up. And if you do want the 
> section info, then you'll want to redefine \sectionmark more sensibly.
> 
> Look at the example in section 13 of the fancyhdr docs.
> 
> Richard
> 
> 

Thank you Richard, now it works :)

I know I am really clumsy, but with the document and your help I 
can understand the most :)
I don't know exactly why do I have to put a dot after somethings... 
but.. I can use the document to do what I want :)








Re: headings

2008-06-17 Thread NinaNutz
NinaNutz <[EMAIL PROTECTED]> writes:


Ok, it doesn't work at all, in my final document because I changed 
the margins of my document and the command

\fancyfoot[C]{\thepage}

doestn't work...

I tried:

\cfoot{\thepage}

and I have been looking for that in the documentation and 
I haven't found it.

thank you and sorry...









Re: headings

2008-06-17 Thread rgheck

NinaNutz wrote:

NinaNutz <[EMAIL PROTECTED]> writes:


Ok, it doesn't work at all, in my final document because I changed 
the margins of my document and the command


\fancyfoot[C]{\thepage}

doestn't work...

I tried:

\cfoot{\thepage}

and I have been looking for that in the documentation and 
I haven't found it.


thank you and sorry...

  
Try to create a very simple version of what you're trying to do, and see 
if you can get that to work. Often, you'll find by doing this that 
something else is messing you up. If you can't get it to work, post the 
simple version here, and then we'll have something to work with.


rh



Re: headings

2008-06-16 Thread rgheck

NinaNutz wrote:

Hi all,
I'm finally finishing my thesis work and I would like to put 
a headings with a decoration  (in spanish version of lyx 
1.5.5 this is called adorno, and it is a line under the 
headings), but I would like to write only the Chapter 1, 
2 or n, but I cannot change this in the lyx version. 

If I use the style sheet called adorno in spanish or 
decoration the name of my chapters and sections 
are too large and appears overhead. The style 
called encabezado in spanish or headings appears 
with thenumber of chapter in the odd page and 
the number of section in the even page, 
this is ok, but I would like to put the line too...


¿How can I decide what to put in the headings 
and how? It is  decide if are capital letters or not 
and decide  to put the number and title 
of the section or not...


  
Read the documentation for the fancyhdr package, which you probably have 
in fancyhdr.dvi. You can turn on fancy page headings in 
DocumentSettingsPage LayoutPage Style.


rh



Re: headings

2008-06-16 Thread NinaNutz
 

 Read the documentation for the fancyhdr package, which you probably have 
 in fancyhdr.dvi. You can turn on fancy page headings in 
 DocumentSettingsPage LayoutPage Style.
 
 rh
 
 

I think fancy header are the called decoration in the spanish version
Once time I have change it to fancy... Can I change the other parameters
putting the latex commands in the preamble? 

Or... do I have to change it in other place?







Re: headings

2008-06-16 Thread NinaNutz
rgheck [EMAIL PROTECTED] writes:
 

 Read the documentation for the fancyhdr package, which you probably have 
 in fancyhdr.dvi. You can turn on fancy page headings in 
 DocumentSettingsPage LayoutPage Style.
 
 rh
 
 


Ok, I tried:

\usepackage{fancyhdr}
\pagestyle{fancy}
\lhead{}
\chead{}
\rhead{\bfseries \chaptername \ \thechapter \ \chaptermark}
\fancyfoot[C]{\thepage}


and everything is ok except for the chaptermark, wich it doest work..
I have the numbers centered in the foot,
I have the line, the name chapter, the number 1..,n, but no the 
title of the chapter...

¿any idea?

thank you



Re: headings

2008-06-16 Thread rgheck

NinaNutz wrote:
  
  
Read the documentation for the fancyhdr package, which you probably have 
in fancyhdr.dvi. You can turn on fancy page headings in 
DocumentSettingsPage LayoutPage Style.


rh





I think fancy header are the called decoration in the spanish version
Once time I have change it to fancy... Can I change the other parameters
putting the latex commands in the preamble? 

  
Yes, the preamble is the place to define the various fancyhdr commands. 
LyX will add \pagestyle{fancy} and the like. You just need to put things 
like:

\rhead{}\lhead{}
\chead{\thechapter \chaptername}
Again, see fancyhdr.dvi for the details.

rh



Re: headings

2008-06-16 Thread rgheck

NinaNutz wrote:

Ok, I tried:

\usepackage{fancyhdr}
\pagestyle{fancy}

  
LyX will take care of that for you if you choose fancy headers, so you 
don't need those.



\lhead{}
\chead{}
\rhead{\bfseries \chaptername \ \thechapter \ \chaptermark}
\fancyfoot[C]{\thepage}


and everything is ok except for the chaptermark, which it doest work..
I have the numbers centered in the foot,
I have the line, the name chapter, the number 1..,n, but no the 
title of the chapter...


  

Which document class are you using? Not all define \chaptermark.

rh



Re: headings

2008-06-16 Thread rgheck

NinaNutz wrote:

\lhead{}
\chead{}
\rhead{\bfseries \chaptername \ \thechapter \ \chaptermark}
\fancyfoot[C]{\thepage}


and everything is ok except for the chaptermark, which it doest work..
I have the numbers centered in the foot,
I have the line, the name chapter, the number 1..,n, but no the 
title of the chapter...


  
Actually, sorry, you can't quite do it that way. The \chaptermark 
command does not hold the name of the chapter. Rather, it is called when 
a chapter is defined, and it then calls \markright or \markleft or 
\markboth to set the contents of the \rightmark or \leftmark macros, 
which are what LaTeX uses to set the headings. It's best to keep on 
using those, as that's what LaTeX expects.


So what you really want to do is just something like this:
  \rhead{\bfseries \rightmark}
and then you can redefine \chaptermark as follows:
  \renewcommand\chaptermark[1]{%
 \markboth{\chaptername \ \thechapter \ #1}}
If you always want the chapter info, and not the section info, then 
you'll also want to do:

  \renewcommand\sectionmark[1]{}
Otherwise, \sectionmark may mess things up. And if you do want the 
section info, then you'll want to redefine \sectionmark more sensibly.


Look at the example in section 13 of the fancyhdr docs.

Richard



Re: headings

2008-06-16 Thread rgheck

NinaNutz wrote:

Hi all,
I'm finally finishing my thesis work and I would like to put 
a headings with a decoration  (in spanish version of lyx 
1.5.5 this is called adorno, and it is a line under the 
headings), but I would like to write only the Chapter 1, 
2 or n, but I cannot change this in the lyx version. 

If I use the style sheet called adorno in spanish or 
decoration the name of my chapters and sections 
are too large and appears overhead. The style 
called encabezado in spanish or headings appears 
with thenumber of chapter in the odd page and 
the number of section in the even page, 
this is ok, but I would like to put the line too...


¿How can I decide what to put in the headings 
and how? It is  decide if are capital letters or not 
and decide  to put the number and title 
of the section or not...


  
Read the documentation for the fancyhdr package, which you probably have 
in fancyhdr.dvi. You can turn on fancy page headings in 
DocumentSettingsPage LayoutPage Style.


rh



Re: headings

2008-06-16 Thread NinaNutz
 

 Read the documentation for the fancyhdr package, which you probably have 
 in fancyhdr.dvi. You can turn on fancy page headings in 
 DocumentSettingsPage LayoutPage Style.
 
 rh
 
 

I think fancy header are the called decoration in the spanish version
Once time I have change it to fancy... Can I change the other parameters
putting the latex commands in the preamble? 

Or... do I have to change it in other place?







Re: headings

2008-06-16 Thread NinaNutz
rgheck [EMAIL PROTECTED] writes:
 

 Read the documentation for the fancyhdr package, which you probably have 
 in fancyhdr.dvi. You can turn on fancy page headings in 
 DocumentSettingsPage LayoutPage Style.
 
 rh
 
 


Ok, I tried:

\usepackage{fancyhdr}
\pagestyle{fancy}
\lhead{}
\chead{}
\rhead{\bfseries \chaptername \ \thechapter \ \chaptermark}
\fancyfoot[C]{\thepage}


and everything is ok except for the chaptermark, wich it doest work..
I have the numbers centered in the foot,
I have the line, the name chapter, the number 1..,n, but no the 
title of the chapter...

¿any idea?

thank you



Re: headings

2008-06-16 Thread rgheck

NinaNutz wrote:
  
  
Read the documentation for the fancyhdr package, which you probably have 
in fancyhdr.dvi. You can turn on fancy page headings in 
DocumentSettingsPage LayoutPage Style.


rh





I think fancy header are the called decoration in the spanish version
Once time I have change it to fancy... Can I change the other parameters
putting the latex commands in the preamble? 

  
Yes, the preamble is the place to define the various fancyhdr commands. 
LyX will add \pagestyle{fancy} and the like. You just need to put things 
like:

\rhead{}\lhead{}
\chead{\thechapter \chaptername}
Again, see fancyhdr.dvi for the details.

rh



Re: headings

2008-06-16 Thread rgheck

NinaNutz wrote:

Ok, I tried:

\usepackage{fancyhdr}
\pagestyle{fancy}

  
LyX will take care of that for you if you choose fancy headers, so you 
don't need those.



\lhead{}
\chead{}
\rhead{\bfseries \chaptername \ \thechapter \ \chaptermark}
\fancyfoot[C]{\thepage}


and everything is ok except for the chaptermark, which it doest work..
I have the numbers centered in the foot,
I have the line, the name chapter, the number 1..,n, but no the 
title of the chapter...


  

Which document class are you using? Not all define \chaptermark.

rh



Re: headings

2008-06-16 Thread rgheck

NinaNutz wrote:

\lhead{}
\chead{}
\rhead{\bfseries \chaptername \ \thechapter \ \chaptermark}
\fancyfoot[C]{\thepage}


and everything is ok except for the chaptermark, which it doest work..
I have the numbers centered in the foot,
I have the line, the name chapter, the number 1..,n, but no the 
title of the chapter...


  
Actually, sorry, you can't quite do it that way. The \chaptermark 
command does not hold the name of the chapter. Rather, it is called when 
a chapter is defined, and it then calls \markright or \markleft or 
\markboth to set the contents of the \rightmark or \leftmark macros, 
which are what LaTeX uses to set the headings. It's best to keep on 
using those, as that's what LaTeX expects.


So what you really want to do is just something like this:
  \rhead{\bfseries \rightmark}
and then you can redefine \chaptermark as follows:
  \renewcommand\chaptermark[1]{%
 \markboth{\chaptername \ \thechapter \ #1}}
If you always want the chapter info, and not the section info, then 
you'll also want to do:

  \renewcommand\sectionmark[1]{}
Otherwise, \sectionmark may mess things up. And if you do want the 
section info, then you'll want to redefine \sectionmark more sensibly.


Look at the example in section 13 of the fancyhdr docs.

Richard



Re: headings

2008-06-16 Thread rgheck

NinaNutz wrote:

Hi all,
I'm finally finishing my thesis work and I would like to put 
a headings with a decoration  (in spanish version of lyx 
1.5.5 this is called adorno, and it is a line under the 
headings), but I would like to write only the Chapter 1, 
2 or n, but I cannot change this in the lyx version. 

If I use the style sheet called adorno in spanish or 
decoration the name of my chapters and sections 
are too large and appears overhead. The style 
called encabezado in spanish or headings appears 
with thenumber of chapter in the odd page and 
the number of section in the even page, 
this is ok, but I would like to put the line too...


¿How can I decide what to put in the headings 
and how? It is  decide if are capital letters or not 
and decide  to put the number and title 
of the section or not...


  
Read the documentation for the fancyhdr package, which you probably have 
in fancyhdr.dvi. You can turn on "fancy" page headings in 
Document>Settings>Page Layout>Page Style.


rh



Re: headings

2008-06-16 Thread NinaNutz
> >
> >   
> Read the documentation for the fancyhdr package, which you probably have 
> in fancyhdr.dvi. You can turn on "fancy" page headings in 
> Document>Settings>Page Layout>Page Style.
> 
> rh
> 
> 

I think fancy header are the called decoration in the spanish version
Once time I have change it to fancy... Can I change the other parameters
putting the latex commands in the preamble? 

Or... do I have to change it in other place?







Re: headings

2008-06-16 Thread NinaNutz
rgheck <[EMAIL PROTECTED]> writes:
> >
> >   
> Read the documentation for the fancyhdr package, which you probably have 
> in fancyhdr.dvi. You can turn on "fancy" page headings in 
> Document>Settings>Page Layout>Page Style.
> 
> rh
> 
> 


Ok, I tried:

\usepackage{fancyhdr}
\pagestyle{fancy}
\lhead{}
\chead{}
\rhead{\bfseries \chaptername \ \thechapter \ \chaptermark}
\fancyfoot[C]{\thepage}


and everything is ok except for the chaptermark, wich it doest work..
I have the numbers centered in the foot,
I have the line, the name chapter, the number 1..,n, but no the 
title of the chapter...

¿any idea?

thank you



Re: headings

2008-06-16 Thread rgheck

NinaNutz wrote:
  
  
Read the documentation for the fancyhdr package, which you probably have 
in fancyhdr.dvi. You can turn on "fancy" page headings in 
Document>Settings>Page Layout>Page Style.


rh





I think fancy header are the called decoration in the spanish version
Once time I have change it to fancy... Can I change the other parameters
putting the latex commands in the preamble? 

  
Yes, the preamble is the place to define the various fancyhdr commands. 
LyX will add \pagestyle{fancy} and the like. You just need to put things 
like:

\rhead{}\lhead{}
\chead{\thechapter \chaptername}
Again, see fancyhdr.dvi for the details.

rh



Re: headings

2008-06-16 Thread rgheck

NinaNutz wrote:

Ok, I tried:

\usepackage{fancyhdr}
\pagestyle{fancy}

  
LyX will take care of that for you if you choose fancy headers, so you 
don't need those.



\lhead{}
\chead{}
\rhead{\bfseries \chaptername \ \thechapter \ \chaptermark}
\fancyfoot[C]{\thepage}


and everything is ok except for the chaptermark, which it doest work..
I have the numbers centered in the foot,
I have the line, the name chapter, the number 1..,n, but no the 
title of the chapter...


  

Which document class are you using? Not all define \chaptermark.

rh



Re: headings

2008-06-16 Thread rgheck

NinaNutz wrote:

\lhead{}
\chead{}
\rhead{\bfseries \chaptername \ \thechapter \ \chaptermark}
\fancyfoot[C]{\thepage}


and everything is ok except for the chaptermark, which it doest work..
I have the numbers centered in the foot,
I have the line, the name chapter, the number 1..,n, but no the 
title of the chapter...


  
Actually, sorry, you can't quite do it that way. The \chaptermark 
command does not hold the name of the chapter. Rather, it is called when 
a chapter is defined, and it then calls \markright or \markleft or 
\markboth to set the contents of the \rightmark or \leftmark macros, 
which are what LaTeX uses to set the headings. It's best to keep on 
using those, as that's what LaTeX expects.


So what you really want to do is just something like this:
  \rhead{\bfseries \rightmark}
and then you can redefine \chaptermark as follows:
  \renewcommand\chaptermark[1]{%
 \markboth{\chaptername \ \thechapter \ #1}}
If you always want the chapter info, and not the section info, then 
you'll also want to do:

  \renewcommand\sectionmark[1]{}
Otherwise, \sectionmark may mess things up. And if you do want the 
section info, then you'll want to redefine \sectionmark more sensibly.


Look at the example in section 13 of the fancyhdr docs.

Richard



Re: Headings disappear when using Bembo

2007-04-11 Thread Johannes Knaus

Hello again,

Well, italics, smallcaps and so on are installed.
I've tried some hacking of the preamble and this works now (the first  
to lines do the trick):


\setkomafont{pagehead}{%
\usekomafont{pagenumber}\itshape}
\usepackage{microtype, fixltx2e, mparhack}
\usepackage[bookmarksnumbered]{hyperref}
%\usepackage[bookmarks]{hyperref}
\usepackage{qtree}
\usepackage{arydshln}
%\usepackage{colortbl}% does not work together with arydshln
\usepackage{xcolor}
\usepackage{pifont}
\usepackage{covington}
%\usepackage{mathptmx}% a better Times
\usepackage{bembo}
\usepackage[scaled]{bfrutiger}

The strange thing is: If I put \slshape instead of \itshape in the  
second line, headings disappear. So maybe this was the problem (Does  
scrbook use \slshape for headings?).
But if I change a normal word in the text in Lyx via the Textstyle  
Menu, I can apply slanted to the word and this works nicely with  
Bembo. I have also printed a word with italic applied next to a  
word with slanted and they do not differ. Does Lyx use italics when  
there is no slanted typeface available? An why doesn't Lyx do this  
also for the headings?


Anyway, it works now, thanks to Jürgen for putting me on the right  
track.


Johannes



Am 09.04.2007 um 09:54 schrieb Jürgen Spitzmüller:


Johannes Knaus wrote:

When I use Times (or any other font) everything's fine and I get
headings at the top of each page.
But when I switch to Bembo all headings have disappeared.


Just a guess: are the headings in a shape that is not installed  
with Bembo

(e.g. italic)?

Jürgen




Re: Headings disappear when using Bembo

2007-04-11 Thread Juergen Spitzmueller
Johannes Knaus wrote:

 The strange thing is: If I put \slshape instead of \itshape in the
 second line, headings disappear. So maybe this was the problem (Does
 scrbook use \slshape for headings?).

Yes (if you use headings at least). You have the italic shape installed,
but Bembo (probably) does not feature a slanted shape (or you don't have
it). Your LaTeX Log file probably tells you that some shapes are missing.

 But if I change a normal word in the text in Lyx via the Textstyle  
 Menu, I can apply slanted to the word and this works nicely with  
 Bembo. I have also printed a word with italic applied next to a  
 word with slanted and they do not differ. Does Lyx use italics when  
 there is no slanted typeface available?

I think the font metric files fall back to italics if slanted is not
available (I don't have Bembo, but I see this with Minion). I have no idea
why this does not work within headings.

On the other hand: slanted shape is BAD anyway ;-) 
Stick with italics, if possible.

Jürgen



Re: Headings disappear when using Bembo

2007-04-11 Thread Johannes Knaus

Hello again,

Well, italics, smallcaps and so on are installed.
I've tried some hacking of the preamble and this works now (the first  
to lines do the trick):


\setkomafont{pagehead}{%
\usekomafont{pagenumber}\itshape}
\usepackage{microtype, fixltx2e, mparhack}
\usepackage[bookmarksnumbered]{hyperref}
%\usepackage[bookmarks]{hyperref}
\usepackage{qtree}
\usepackage{arydshln}
%\usepackage{colortbl}% does not work together with arydshln
\usepackage{xcolor}
\usepackage{pifont}
\usepackage{covington}
%\usepackage{mathptmx}% a better Times
\usepackage{bembo}
\usepackage[scaled]{bfrutiger}

The strange thing is: If I put \slshape instead of \itshape in the  
second line, headings disappear. So maybe this was the problem (Does  
scrbook use \slshape for headings?).
But if I change a normal word in the text in Lyx via the Textstyle  
Menu, I can apply slanted to the word and this works nicely with  
Bembo. I have also printed a word with italic applied next to a  
word with slanted and they do not differ. Does Lyx use italics when  
there is no slanted typeface available? An why doesn't Lyx do this  
also for the headings?


Anyway, it works now, thanks to Jürgen for putting me on the right  
track.


Johannes



Am 09.04.2007 um 09:54 schrieb Jürgen Spitzmüller:


Johannes Knaus wrote:

When I use Times (or any other font) everything's fine and I get
headings at the top of each page.
But when I switch to Bembo all headings have disappeared.


Just a guess: are the headings in a shape that is not installed  
with Bembo

(e.g. italic)?

Jürgen




Re: Headings disappear when using Bembo

2007-04-11 Thread Juergen Spitzmueller
Johannes Knaus wrote:

 The strange thing is: If I put \slshape instead of \itshape in the
 second line, headings disappear. So maybe this was the problem (Does
 scrbook use \slshape for headings?).

Yes (if you use headings at least). You have the italic shape installed,
but Bembo (probably) does not feature a slanted shape (or you don't have
it). Your LaTeX Log file probably tells you that some shapes are missing.

 But if I change a normal word in the text in Lyx via the Textstyle  
 Menu, I can apply slanted to the word and this works nicely with  
 Bembo. I have also printed a word with italic applied next to a  
 word with slanted and they do not differ. Does Lyx use italics when  
 there is no slanted typeface available?

I think the font metric files fall back to italics if slanted is not
available (I don't have Bembo, but I see this with Minion). I have no idea
why this does not work within headings.

On the other hand: slanted shape is BAD anyway ;-) 
Stick with italics, if possible.

Jürgen



Re: Headings disappear when using Bembo

2007-04-11 Thread Johannes Knaus

Hello again,

Well, italics, smallcaps and so on are installed.
I've tried some hacking of the preamble and this works now (the first  
to lines do the trick):


\setkomafont{pagehead}{%
\usekomafont{pagenumber}\itshape}
\usepackage{microtype, fixltx2e, mparhack}
\usepackage[bookmarksnumbered]{hyperref}
%\usepackage[bookmarks]{hyperref}
\usepackage{qtree}
\usepackage{arydshln}
%\usepackage{colortbl}% does not work together with arydshln
\usepackage{xcolor}
\usepackage{pifont}
\usepackage{covington}
%\usepackage{mathptmx}% a better Times
\usepackage{bembo}
\usepackage[scaled]{bfrutiger}

The strange thing is: If I put \slshape instead of \itshape in the  
second line, headings disappear. So maybe this was the problem (Does  
scrbook use \slshape for headings?).
But if I change a normal word in the text in Lyx via the Textstyle  
Menu, I can apply "slanted" to the word and this works nicely with  
Bembo. I have also printed a word with "italic" applied next to a  
word with "slanted" and they do not differ. Does Lyx use italics when  
there is no slanted typeface available? An why doesn't Lyx do this  
also for the headings?


Anyway, it works now, thanks to Jürgen for putting me on the right  
track.


Johannes



Am 09.04.2007 um 09:54 schrieb Jürgen Spitzmüller:


Johannes Knaus wrote:

When I use Times (or any other font) everything's fine and I get
headings at the top of each page.
But when I switch to Bembo all headings have disappeared.


Just a guess: are the headings in a shape that is not installed  
with Bembo

(e.g. italic)?

Jürgen




Re: Headings disappear when using Bembo

2007-04-11 Thread Juergen Spitzmueller
Johannes Knaus wrote:

> The strange thing is: If I put \slshape instead of \itshape in the
> second line, headings disappear. So maybe this was the problem (Does
> scrbook use \slshape for headings?).

Yes (if you use "headings" at least). You have the italic shape installed,
but Bembo (probably) does not feature a slanted shape (or you don't have
it). Your LaTeX Log file probably tells you that some shapes are missing.

> But if I change a normal word in the text in Lyx via the Textstyle  
> Menu, I can apply "slanted" to the word and this works nicely with  
> Bembo. I have also printed a word with "italic" applied next to a  
> word with "slanted" and they do not differ. Does Lyx use italics when  
> there is no slanted typeface available?

I think the font metric files fall back to italics if slanted is not
available (I don't have Bembo, but I see this with Minion). I have no idea
why this does not work within headings.

On the other hand: slanted shape is BAD anyway ;-) 
Stick with italics, if possible.

Jürgen



Re: Headings disappear when using Bembo

2007-04-09 Thread Jürgen Spitzmüller
Johannes Knaus wrote:
 When I use Times (or any other font) everything's fine and I get  
 headings at the top of each page.
 But when I switch to Bembo all headings have disappeared.

Just a guess: are the headings in a shape that is not installed with Bembo 
(e.g. italic)?

Jürgen


Re: Headings disappear when using Bembo

2007-04-09 Thread Jürgen Spitzmüller
Johannes Knaus wrote:
 When I use Times (or any other font) everything's fine and I get  
 headings at the top of each page.
 But when I switch to Bembo all headings have disappeared.

Just a guess: are the headings in a shape that is not installed with Bembo 
(e.g. italic)?

Jürgen


Re: Headings disappear when using Bembo

2007-04-09 Thread Jürgen Spitzmüller
Johannes Knaus wrote:
> When I use Times (or any other font) everything's fine and I get  
> headings at the top of each page.
> But when I switch to Bembo all headings have disappeared.

Just a guess: are the headings in a shape that is not installed with Bembo 
(e.g. italic)?

Jürgen


Re: headings in koma script

2005-11-30 Thread Wolfgang Engelmann
Am Montag, 28. November 2005 15:33 schrieb Axel Dessecker:
 Wolfgang,

 just in case you haven't figured it out over the weekend:

 Am Donnerstag, 24. November 2005 15:26 schrieb Wolfgang Engelmann:
  Where should option `smallheadings´ go?

 Format  Document  Format  Options.

 Best wishes,
 Axel

Thanks, Axel. 
I am slowly learning and fighting a flue.

 Wolfgang


Re: headings in koma script

2005-11-30 Thread Wolfgang Engelmann
Am Montag, 28. November 2005 15:33 schrieb Axel Dessecker:
 Wolfgang,

 just in case you haven't figured it out over the weekend:

 Am Donnerstag, 24. November 2005 15:26 schrieb Wolfgang Engelmann:
  Where should option `smallheadings´ go?

 Format  Document  Format  Options.

 Best wishes,
 Axel

Thanks, Axel. 
I am slowly learning and fighting a flue.

 Wolfgang


Re: headings in koma script

2005-11-30 Thread Wolfgang Engelmann
Am Montag, 28. November 2005 15:33 schrieb Axel Dessecker:
> Wolfgang,
>
> just in case you haven't figured it out over the weekend:
>
> Am Donnerstag, 24. November 2005 15:26 schrieb Wolfgang Engelmann:
> > Where should option `smallheadings´ go?
>
> Format > Document > Format > Options.
>
> Best wishes,
> Axel

Thanks, Axel. 
I am slowly learning and fighting a flue.

 Wolfgang


Re: headings in koma script

2005-11-28 Thread Axel Dessecker
Wolfgang,

just in case you haven't figured it out over the weekend:

Am Donnerstag, 24. November 2005 15:26 schrieb Wolfgang Engelmann:
 Where should option `smallheadings´ go?

Format  Document  Format  Options.

Best wishes,
Axel


Re: headings in koma script

2005-11-28 Thread Axel Dessecker
Wolfgang,

just in case you haven't figured it out over the weekend:

Am Donnerstag, 24. November 2005 15:26 schrieb Wolfgang Engelmann:
 Where should option `smallheadings´ go?

Format  Document  Format  Options.

Best wishes,
Axel


Re: headings in koma script

2005-11-28 Thread Axel Dessecker
Wolfgang,

just in case you haven't figured it out over the weekend:

Am Donnerstag, 24. November 2005 15:26 schrieb Wolfgang Engelmann:
> Where should option `smallheadings´ go?

Format > Document > Format > Options.

Best wishes,
Axel


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.


RE: Headings on rotated table

2003-03-06 Thread Remzi Seker

Check out
http://www.educat.hu-berlin.de/~voss/lyx/table/table.phtml#sideways

Remzi
-Original Message-
From: Matthew Kelly [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 06, 2003 8:23 PM
To: lyx-users
Subject: Headings on rotated table


If a table (within a table float) is rotated 90 degrees is there an easy
way of moving the table caption to the top of the table. The default is
to have the caption not rotated and to the right of the table. 





RE: Headings on rotated table

2003-03-06 Thread Remzi Seker

Check out
http://www.educat.hu-berlin.de/~voss/lyx/table/table.phtml#sideways

Remzi
-Original Message-
From: Matthew Kelly [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 06, 2003 8:23 PM
To: lyx-users
Subject: Headings on rotated table


If a table (within a table float) is rotated 90 degrees is there an easy
way of moving the table caption to the top of the table. The default is
to have the caption not rotated and to the right of the table. 





RE: Headings on rotated table

2003-03-06 Thread Remzi Seker

Check out
http://www.educat.hu-berlin.de/~voss/lyx/table/table.phtml#sideways

Remzi
-Original Message-
From: Matthew Kelly [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 06, 2003 8:23 PM
To: lyx-users
Subject: Headings on rotated table


If a table (within a table float) is rotated 90 degrees is there an easy
way of moving the table caption to the top of the table. The default is
to have the caption not rotated and to the right of the table. 





Re: Headings + pitcure

2001-06-27 Thread Herbert Voss

Mario del Giudice wrote:
 
 Hi, I've created a document using the REPORT headings style.
 Now I would like to insert a logo (xxx.eps) at the top (on the left),
 how can I do this?

have a look at
http://www.educat.hu-berlin.de/~voss/lyx/titlepage/logo.html

Herbert

-- 
http://www.educat.hu-berlin.de/~voss/lyx/




Re: Headings + pitcure

2001-06-27 Thread Herbert Voss

Mario del Giudice wrote:
 
 Hi, I've created a document using the REPORT headings style.
 Now I would like to insert a logo (xxx.eps) at the top (on the left),
 how can I do this?

have a look at
http://www.educat.hu-berlin.de/~voss/lyx/titlepage/logo.html

Herbert

-- 
http://www.educat.hu-berlin.de/~voss/lyx/




Re: Headings + pitcure

2001-06-27 Thread Herbert Voss

Mario del Giudice wrote:
> 
> Hi, I've created a document using the REPORT headings style.
> Now I would like to insert a logo (xxx.eps) at the top (on the left),
> how can I do this?

have a look at
http://www.educat.hu-berlin.de/~voss/lyx/titlepage/logo.html

Herbert

-- 
http://www.educat.hu-berlin.de/~voss/lyx/




Re: Headings changed by using 1.1.6fix1

2001-04-01 Thread Dekel Tsur

On Sat, Mar 31, 2001 at 05:55:57PM -0600, Patrick Hartling wrote:
 } I suppose that any of your packages (maybe tocloft) overwrite your
 } bibname-definition and the  other-ones.
 
 Yes, that definitely seems to be the case.  I don't understand why that
 is happening, though.  I tried removing tocloft, but the problems were
 still there.  Your suggestions for the modified preamble have helped me
 get everything back to the way it was before upgrading.  Thanks again.

Perhaps the problem is with babel (as LyX 1.1.6 _always_ uses the babel
package, while 1.1.5 doesn't use babel when language=default)



Re: Headings changed by using 1.1.6fix1

2001-04-01 Thread Dekel Tsur

On Sat, Mar 31, 2001 at 05:55:57PM -0600, Patrick Hartling wrote:
 } I suppose that any of your packages (maybe tocloft) overwrite your
 } bibname-definition and the  other-ones.
 
 Yes, that definitely seems to be the case.  I don't understand why that
 is happening, though.  I tried removing tocloft, but the problems were
 still there.  Your suggestions for the modified preamble have helped me
 get everything back to the way it was before upgrading.  Thanks again.

Perhaps the problem is with babel (as LyX 1.1.6 _always_ uses the babel
package, while 1.1.5 doesn't use babel when language=default)



Re: Headings changed by using 1.1.6fix1

2001-04-01 Thread Dekel Tsur

On Sat, Mar 31, 2001 at 05:55:57PM -0600, Patrick Hartling wrote:
> } I suppose that any of your packages (maybe tocloft) overwrite your
> } bibname-definition and the  other-ones.
> 
> Yes, that definitely seems to be the case.  I don't understand why that
> is happening, though.  I tried removing tocloft, but the problems were
> still there.  Your suggestions for the modified preamble have helped me
> get everything back to the way it was before upgrading.  Thanks again.

Perhaps the problem is with babel (as LyX 1.1.6 _always_ uses the babel
package, while 1.1.5 doesn't use babel when language=default)



Re: Headings changed by using 1.1.6fix1

2001-03-31 Thread Herbert Voss

Patrick Hartling wrote:
 
 I just updated to Lyx 1.1.6fix1, and something has gone wrong with my
 chapter headings, table of contents heading, and list of figures heading.
 I am using a LaTeX2e style with a LyX layout I made based on
 report.layout from 1.1.5fix2.  With 1.1.5fix2, I got headings such as
 "CHAPTER 1 INTRODUCTION", but now I get "Chapter1 INTRODUCTION".  The
 table of contents and list of figures have the wrong capitalization and
 wrong font size now.  The style I'm using defines how the headings should
 be rendered.  Is there something I need to do as part of the upgrade path?

i always got CHAPTER! do you have the fancyhdr-package installed?
Or what kind oh feaders do you have?

I suppose that any of your packages (maybe tocloft) overwrite your
bibname-definition and the  other-ones.
therefore write in latex preamble 

\AtBeginDocument{\renewcommand\bibname{BIBLIOGRAPHY}}
\AtBeginDocument{\renewcommand\contentsname{CONTENTS}}
\AtBeginDocument{\renewcommand\listfigurename{LIST OF FIGURES}}


Herbert

-- 
http:[EMAIL PROTECTED]



  1   2   >