Hello,

I have been using Lyx for years, and I am very happy with it. I am writing novels, so my needs are pretty simple. (I would happily share the novels here, but they are in French [Sci Fi])

In a novel, I have two main type of text. The main one, and dialogues. I was using "Quote" for the dialogues, convenient enough. But now I need a third one to show the thoughts of a character. Then I have decided to try to adapt the layout of "Book (standard class)"

I have looked at some advice on the net and manage to add a /dialogue/ and /pensée/ (thoughts). For /dialogue/ it should be an itemized style, (in French we add — for each change of speaker). Which means the code for first line of a dialogue, the last line of dialogue and other lines of dialogues are different

*1st line*

 \begin{itemize}
     \item


*other lines*
     \item


*last line*
     \item

\end{itemize}


Would you have any advice for where to look for this kind of modification which doesn't involve a single line? For a single line, I have done something very simple as a try, but I don't have any idea for this multiple line problem


Example of single line:

Style Pensée
  LatexType             Environment
  LatexName             pensee_l
  ParSep                0.7

  Font
    Shape               Italic
  EndFont
  Preamble
        \newenvironment{pensee_l}
                {
                \itshape
                }
                {
                \par
                }
  EndPreamble
End



Thanks for your help.

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users

Reply via email to