X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Frecipebook.layout;h=fc39cafed8e8cfc86fffd374e71a567ecfacd179;hb=1663dbcbcfacf15d88558783660ebae418394c67;hp=f9794ab1149bdab2765ae99db70be05b2561b3f7;hpb=52fd1025a966f87e608da7077c89f9cbeb3fffe7;p=lyx.git diff --git a/lib/layouts/recipebook.layout b/lib/layouts/recipebook.layout index f9794ab114..fc39cafed8 100644 --- a/lib/layouts/recipebook.layout +++ b/lib/layouts/recipebook.layout @@ -1,5 +1,6 @@ #% Do not delete the line below; configure depends on this -# \DeclareLaTeXClass[scrbook]{book (recipes)} +# \DeclareLaTeXClass[scrbook]{Recipe Book} +# \DeclareCategory{Books} # Recipe textclass definition file. # Author: Sandor Szoke (alex@lyx.hu) # @@ -26,7 +27,7 @@ # Another command, \ingred{...}, is defined to typeset a # list of ingredients. -Format 11 +Format 54 Input scrclass.inc Input numreport.inc @@ -40,6 +41,7 @@ NoStyle Abstract Style Chapter LabelString "\thechapter" + TocLevel 0 End Style Bibliography @@ -105,13 +107,17 @@ Style Subsubsection Font Size Small EndFont + TocLevel 3 End # Inghead style definition Style Ingredients LatexType Command LatexName ingred - OptionalArgs 1 + Argument 1 + LabelString "Ingredients Header" + Tooltip "Specify an optional ingredients header" + EndArgument Margin Static LeftMargin Ingredients_for_some:xx LabelSep xx