Hi the list,

I have a problem with LyX layout files. I would like to use the 'Other' field of the 'ClassOptions' section. As mentionned in the customization manual, this should allow me to specify some arguments to the optional part of '\documentclass' command.
But it does nothing at all...

For instance (file 'myclass.layout'):

#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[article]{My class}

# General textclass parameters
Columns                 1
Sides                   1
SecNumDepth             2
TocDepth                2
DefaultStyle Standard

# Class options
ClassOptions
  Other                 "myOption"
End

DefaultFont
  Family                Roman
  Series                Medium
  Shape                 Up
  Size                  Normal
  Color                 None
EndFont

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


won't add anything to '\documentclass' options of newly created files with the corresponding document class (here 'My class').

Any trick?

Thanks,
Mael.

--
Mael Hilléreau

Reply via email to