Hello Richard,

sorry for my long silence - I didn't resolve the issues completely, but I got 
over an important hurdle.

I exported my .lyx-file to a .tex-file. This was the only way, I could get in 
the "\setlength\parindent{0.7cm}" option. It was quite hard for me because 
the German umlaut didn't get translated properly. I found out that I had to 
change the encoding to utf8 to make it work.

I also added:
\usepackage{fancyhdr}
\pagestyle{fancy}

The next point I need to solve is the header issue: 
* page number: font size 12
* left pages: chapter title (right-aligned) in small capitals and font size 10
* right pages: subchapter title (left-aligned) in small capitals and font size 
10
header not on first page of chapter

At present I get both chapter and subchapter titles in the header so that they 
overwrite each other and are unreadable. The page number is in the footer and 
should go up to the header.

A second point is the font size (12 and solved ;-) but the line distance 
should be 14 points. How do I get that?

Thanks a lot for your help!

Markus

Just is case it may help, here is my header of the .tex file:
------------
%% LyX 1.6.2 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[12pt,english,ngerman]{extbook}
\usepackage{mathptmx}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[a4paper]{geometry}
\geometry{verbose,tmargin=3.6cm,bmargin=3.6cm,lmargin=3.5cm,rmargin=3.5cm,headsep=1.2cm,footskip=1.25cm}
\usepackage{fancyhdr}
\pagestyle{fancy}
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}
\usepackage{color}
\usepackage{array}
\usepackage{textcomp}

\setlength\parindent{0.7cm}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
%% Because html converters don't know tabularnewline
\providecommand{\tabularnewline}{\\}

\usepackage{babel}

\begin{document}
------------

Am Donnerstag, 7. Mai 2009 15:03:42 schrieb rgheck:
> Markus Büchele wrote:
> > Hi Lyx experts,
> >
> > I have been using LYX for over decade now. It has always been a fantastic
> > tool, especially for my PhD thesis.
> >
> > Unfortunately I have arrived at a dead end just before publication. My
> > publisher (Franz Steiner Verlag, Stuttgart, Germany) has very percise
> > ideas about the layout of the text and I am unable to adjust to his
> > wishes with LYX.
>
> All of this can be done, probably without too much trouble.
>
> > Things which need to be adapted are:
> > * font in the header, which has to be small capitals instead of capitals
> > and a different font size
>
> I assume here that you mean the page header, or do you mean the chapter
> titles? Adjusting the page headers can be done use the fancyhdr package,
> and is fairly simple.
>     http://www.ctan.org/tex-archive/help/Catalogue/entries/fancyhdr.html
> Adjusting the chapter titles can be done using the titlesec package and
> is also fairly simple.
>     http://www.ctan.org/tex-archive/macros/latex/contrib/titlesec/
> We can work out the details.
>
> > * header (left pages): the word chapter is printed in all chapters in
> > German ("Kapitel" which is correct), but in chapter 9 there is "chapter"
> > in the header (a bug?)
>
> Did you have some English in the document somewhere? It seems as if the
> language has gotten changed.
>
> > * space of indentation at the beginning of paragraphs
>
> In your preamble, put:
>     \setlength\parindent{2cm}
> or whatever it is you need. LaTeX will accept lots of different units,
> too. See here:
>
> http://www-h.eng.cam.ac.uk/help/tpl/textprocessing/teTeX/latex/latex2e-html
>/ltx-86.html for help.
>
> > * headlines of chapters without the word "chapter" in the headline and
> > different font size
>
> I think this is where you want to use titlesec.
>
> An alternative might be to switch to use the book (koma-script) class.
> The koma-script classes provide for a LOT of customization.
>
> Richard


Reply via email to