Emanuele Gissi & Alessia Franceschi wrote:
> 
> Hi,
> 
> I am writing my thesis in LyX.
> I use the class "book (koma-script)".
> I have got some names in the chapter and section titles.
> So I set them to "noun style" on. In LyX they show well.
> But when I look at the postscript output they don't retain the style and show
> themselves as the other chapter and section title text.
> In subsections and below the nouns show themselves properly.
> 
> I think the problem is due to the underling LaTeX class.
> How to overcome this problem? can we consider it a LyX bug?

this is not possible only by choosing the noun-style,
because noun needes the roman font and koma chooses
sans serif for section-style.

in latex preamble
\renewcommand\noun[1]{\rmfamily\scshape#1\sectfont}

this should work! it redefines the internal lyx-command 
\noun, which is possible, because the user-defined-commands 
are behind the lyx-defined. so you can redefine this one.
if you never choose the noun-style in your text, you got
an error, when you forgot to delete the renewcommand
or write %\renewcommand .... 
no noun-style - no noun-command - no renew...


if there are any problems try this real latex solution:
in latex preamble:
\newcommand{\myNoun}[1]{\rmfamily\scshape#1\sectfont}

in your text (as a title of chapter, section, ...)

this is the \mynoun{First} Titel
               
\mynoun{First} in tex (red)

Herbert

-- 
[EMAIL PROTECTED]
http://perce.de/voss

Reply via email to