On 07/27/2011 12:23 PM, Uwe Stöhr wrote: > Am 27.07.2011 01:17, schrieb Jacob Barandes: > >> I have a LaTeX class file that defines a standalone LaTeX command >> (\makecopyrightpage) that takes no arguments, i.e., no {...} -- it >> simply >> generates some text automatically. >> >> Is there an object I can define in my corresponding layout file that >> would >> produce a nice corresponding LyX construct? > > We currently use this construct: > > Style Front_Matter > Category Structure > LatexType Command > LatexName frontmatter > KeepEmpty 1 > OptionalArgs 0 > Margin First_Dynamic > NextNoIndent 1 > ParSkip 0 > TopSep 2.5 > BottomSep 0.5 > ParSep 0 > Align Center > LabelType Static > LabelBottomSep 0 > LeftMargin M > LabelString "--- Front Matter ---" > > Font > Family Sans > Series Bold > Size Largest > Color Blue > EndFont > End > > This is the definition for the command \frontmatter in the Springer > layout files. > The only downside to this hack is that you actually can type stuff there!
Richard