Hallo!

I try to create a layout, so that it is possible to use the latex
package minutes.sty in lyx. But I have less experience. When adding the
latexcode into the Preamble it works. When I try to create new
environements in the layout file it doesent work.

I look forward for little help.

Here ist the layout file I created.

-----------------------------------------------------------------------------------

#% Do not delete the line below; configure depends on this
# \DeclareLaTeXClass[article, minutes.sty, multicol.sty, xspace.sty,
url.sty, minitoc.sty, keyval.sty]{article (Protokoll)}


Format 35

AddToPreamble   
    \usepackage{minutes}
EndPreamble

# Standard style definition
Style Standard
  Category         MainText
  Margin           Static
  LatexType        Paragraph
  LatexName        dummy
  ParIndent        MM
  ParSkip          0.4
  Align            Left
  AlignPossible    Block, Left, Right, Center
  LabelType        No_Label
End


Style Protokoll
    Margin            Dynamic
    LatexType        Command
    LatexName        begin{Minutes}
    LatexParam        {}
    Preamble
        \AtEndDocument{\end{Minutes}}
        \protokollKopf
    EndPreamble
    OptionalArgs        1
    ParSkip            0.4
    Align            Block
    LabelSep        xx
    LabelType        Static
    LabelString        "Protokoll:"
    LabelFont
      Series        Bold
      Color            Blue
    EndFont
End


-----------------------------------------------------------------------------------------



With greetings,

Stephan
#% Do not delete the line below; configure depends on this
# \DeclareLaTeXClass[article, minutes.sty, multicol.sty, xspace.sty, url.sty, 
minitoc.sty, keyval.sty]{article (Protokoll)}


Format 35

AddToPreamble    
        \usepackage{minutes}
EndPreamble

# Standard style definition
Style Standard
  Category         MainText
  Margin           Static
  LatexType        Paragraph
  LatexName        dummy
  ParIndent        MM
  ParSkip          0.4
  Align            Left
  AlignPossible    Block, Left, Right, Center
  LabelType        No_Label
End


Style Protokoll
        Margin                  Dynamic
        LatexType               Command
        LatexName               begin{Minutes}
        LatexParam              {}
        Preamble
                \AtEndDocument{\end{Minutes}}
                \protokollKopf
        EndPreamble
        OptionalArgs            1
        ParSkip                 0.4
        Align                   Block
        LabelSep                xx
        LabelType               Static
        LabelString             "Protokoll:"
        LabelFont
          Series                Bold
          Color                 Blue
        EndFont
End





<<attachment: Spirit1983.vcf>>

Reply via email to