X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fijmpc.layout;h=bd3941576a3c1c9bca4efea40d968044f6026b7b;hb=8b92a2a689c2548a263065a24c0d3aa917785cce;hp=d4e6c3965702c1adf136860ad0ab6e985e55a224;hpb=6bb492c62064ed7c9c6a65bffd0b1c15d5e37243;p=lyx.git diff --git a/lib/layouts/ijmpc.layout b/lib/layouts/ijmpc.layout index d4e6c39657..bd3941576a 100644 --- a/lib/layouts/ijmpc.layout +++ b/lib/layouts/ijmpc.layout @@ -1,5 +1,6 @@ #% Do not delete the line below; configure depends on this -# \DeclareLaTeXClass[ws-ijmpc,amsmath.sty,amssymb.sty,rotating.sty]{article (IJMPC)} +# \DeclareLaTeXClass[ws-ijmpc,amsmath.sty,amssymb.sty,rotating.sty]{Int. Journal of Modern Physics C} +# \DeclareCategory{Articles} # # Textclass definition file for ws-ijmpc.cls # For publications in the International Journal of Modern Physics C @@ -11,7 +12,7 @@ # Author: Uwe Stöhr (uwestoehr@web.de) -Format 35 +Format 70 Sides 1 Columns 1 @@ -20,6 +21,7 @@ TocDepth 3 DefaultStyle Standard Style Standard + Category MainText Margin Static LatexType Paragraph LatexName dummy @@ -39,6 +41,18 @@ Input stdlayouts.inc Input lyxmacros.inc ProvidesModule theorems-std +Input theorems-without-preamble.inc +NoStyle Fact +NoStyle Note +NoStyle Problem +NoStyle Solution +NoStyle Prob +NoStyle Sol +NoStyle Exercise +NoStyle Example +NoStyle Definition +NoStyle Case +NoStyle Property NoStyle Chapter NoCounter chapter @@ -54,6 +68,12 @@ Style MarkBoth Category FrontMatter InTitle 1 Align Center + Argument 1 + Mandatory 1 + AutoInsert 1 + LabelString "Author Names" + Tooltip "Author names that will appear in the header line" + EndArgument Font Size Small EndFont @@ -90,7 +110,7 @@ Style Title LatexName title Category FrontMatter InTitle 1 - OptionalArgs 0 + ResetArgs 1 ParSkip 0.4 ItemSep 0 TopSep 0 @@ -108,7 +128,6 @@ Style Author LatexType Command Category FrontMatter InTitle 1 - OptionalArgs 1 LatexName author LabelSep xxx ParSkip 0.4 @@ -166,6 +185,7 @@ InsetLayout Flex:Received Color green Size Small EndFont + ResetsFont true End InsetLayout Flex:Revised @@ -183,6 +203,7 @@ InsetLayout Flex:Revised Color green Size Small EndFont + ResetsFont true End Style Abstract @@ -213,6 +234,7 @@ InsetLayout Flex:Keywords Color green Size Small EndFont + ResetsFont true End Style Classification_Codes @@ -237,6 +259,7 @@ InsetLayout Flex:TableCaption Color green Size Small EndFont + ResetsFont true End InsetLayout Flex:Refcite @@ -254,6 +277,7 @@ InsetLayout Flex:Refcite Color green Size Small EndFont + ResetsFont true End Style ItemList @@ -261,7 +285,18 @@ Style ItemList Margin Static LatexType Item_Environment LatexName itemlist + Argument listpreamble:1 + LabelString "List preamble" + MenuString "List Preamble" + Tooltip "LaTeX code to be inserted before the first item" + PassThru 1 + Font + Family typewriter + Color latex + EndFont + EndArgument NextNoIndent 1 + ToggleIndent Never LeftMargin MMN LabelSep xx ItemSep 0.2 @@ -271,7 +306,6 @@ Style ItemList Align Block AlignPossible Block, Left LabelType Itemize - LabelString "*" HTMLTag ul HTMLItem li HTMLLabel NONE @@ -282,7 +316,21 @@ Style RomanList Margin Static LatexType Item_Environment LatexName romanlist - OptionalArgs 1 + Argument 1 + LabelString "Numbering Scheme" + Tooltip "Use the largest item number in your list, e.g. '(iv)' for 4 Roman numbered items" + PassThru 1 + EndArgument + Argument listpreamble:1 + LabelString "List preamble" + MenuString "List Preamble" + Tooltip "LaTeX code to be inserted before the first item" + PassThru 1 + Font + Family typewriter + Color latex + EndFont + EndArgument NextNoIndent 1 LeftMargin MMN LabelSep xx @@ -301,108 +349,95 @@ Style RomanList RefPrefix enu End -Counter theorem -End -Style Theorem - LatexType Environment - LatexName theorem - Category Theorem - Margin First_Dynamic - TopSep 0.6 - BottomSep 0.6 - Align Block - NextNoIndent 1 - LabelType Counter - LabelCounter theorem - LabelString "Theorem \thetheorem." - LabelSep M - Font - Shape Italic - EndFont - LabelFont - Series Bold - Shape Up - EndFont -End - Style Proof LatexType Environment LatexName proof - Category Theorem + Category Reasoning Margin First_Dynamic TopSep 0.6 BottomSep 0.6 Align Block LabelType Static - LabelString "Proof." + LabelString "Proof:" LabelSep M LabelFont Series Bold EndFont + LabelFont + Series Bold + EndFont EndLabelType Box End -Counter corollary +Style Theorem + ResetArgs 1 + LabelString "Theorem \thetheorem." + #Font + #Shape Up + #EndFont + #LabelFont + #Series Bold + #EndFont +End + +Style Remark + LabelString "Remark \theremark." + LabelFont + Series Bold + Shape Up + EndFont End + Style Corollary - CopyStyle Theorem - LatexName corollary - LabelCounter corollary LabelString "Corollary \thecorollary." End -Counter lemma -End Style Lemma - CopyStyle Theorem - LatexName lemma - LabelCounter lemma LabelString "Lemma \thelemma." End -Counter proposition -End Style Proposition - CopyStyle Theorem - LatexName proposition - LabelCounter proposition LabelString "Proposition \theproposition." End -Counter prop -End -Style Prop - CopyStyle Theorem - LatexName prop - LabelCounter prop - LabelString "Prop \theprop." -End - -Counter question -End Style Question - CopyStyle Theorem - LatexName question - LabelCounter question LabelString "Question \thequestion." + LabelFont + Series Bold + Shape Up + EndFont End Counter claim + Within section End Style Claim - CopyStyle Theorem - LatexName claim LabelCounter claim LabelString "Claim \theclaim." + Font + Shape Italic + EndFont + LabelFont + Series Bold + Shape Up + EndFont End -Counter conjecture -End Style Conjecture - CopyStyle Theorem - LatexName conjecture - LabelCounter conjecture LabelString "Conjecture \theconjecture." + Font + Shape Italic + EndFont + LabelFont + Series Bold + Shape Up + EndFont +End + +Style Prop + LabelFont + Series Bold + EndFont End Counter appendix @@ -416,7 +451,7 @@ Style Appendix Margin First_Dynamic Align Block NextNoIndent 1 - LabelType Counter + LabelType Static LabelCounter appendix LabelString "Appendix \Alph{appendix}." LabelSep M @@ -436,6 +471,7 @@ Style Bibliography LatexName thebibliography Category BackMatter NextNoIndent 1 + ToggleIndent Never LeftMargin MM ParSkip 0.4 ItemSep 0 @@ -451,4 +487,16 @@ Style Bibliography Series Bold Size Larger EndFont + TocLevel 1 + IsTocCaption 0 + Argument listpreamble:1 + LabelString "Bib preamble" + MenuString "Bibliography Preamble" + Tooltip "LaTeX code to be inserted before the first bibliography item" + PassThru 1 + Font + Family typewriter + Color latex + EndFont + EndArgument End