X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fijmpc.layout;h=2b2f2550812ccd94ca117ed1081193cebf3833c1;hb=246b3d79e676481d0b56eb051757763260648c5c;hp=d4e6c3965702c1adf136860ad0ab6e985e55a224;hpb=6bb492c62064ed7c9c6a65bffd0b1c15d5e37243;p=lyx.git diff --git a/lib/layouts/ijmpc.layout b/lib/layouts/ijmpc.layout index d4e6c39657..2b2f255081 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 45 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 @@ -271,7 +290,6 @@ Style ItemList Align Block AlignPossible Block, Left LabelType Itemize - LabelString "*" HTMLTag ul HTMLItem li HTMLLabel NONE @@ -282,7 +300,10 @@ 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" + EndArgument NextNoIndent 1 LeftMargin MMN LabelSep xx @@ -301,108 +322,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 +424,7 @@ Style Appendix Margin First_Dynamic Align Block NextNoIndent 1 - LabelType Counter + LabelType Static LabelCounter appendix LabelString "Appendix \Alph{appendix}." LabelSep M