X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2FRJournal.layout;h=f7cca92056346b740590356ffaaef3254b01b681;hb=8f9520eda5a0ecf2458341e5d8ea40f5970d54db;hp=6f11bc0f7396027ad3ea3fc264cf5a22bffffaba;hpb=0d434033ec03b3875cfbc05f3b87936af777bef5;p=lyx.git diff --git a/lib/layouts/RJournal.layout b/lib/layouts/RJournal.layout index 6f11bc0f73..f7cca92056 100644 --- a/lib/layouts/RJournal.layout +++ b/lib/layouts/RJournal.layout @@ -30,33 +30,60 @@ AddToPreamble \fancyhead[RO,LE]{\thepage} \fancyfoot[L]{The R Journal Vol. X/Y, Month, Year} \fancyfoot[R]{ISSN 2073-4859} + + \AtBeginDocument{% + \begin{article} + } + + \AtEndDocument{% + \end{article} + } EndPreamble -InsetLayout "Flex:Abstract" - LabelString "Abstract" +Style Abstract + Margin First_Dynamic LatexType Command - LaTexName abstract - LyXType Custom + InTitle 0 + LatexName abstract + LeftMargin MMM + LabelIndent MMM + RightMargin MMM + ParIndent MM + TopSep 0.7 + BottomSep 0.7 + Align Block + LabelType Static + LabelString "Abstract." + LabelSep M + Font + Size Small + EndFont LabelFont + Shape Smallcaps Color latex EndFont End -InsetLayout "Flex:Address" - LabelString "Address" +Style Address + Category FrontMatter + Margin Static LatexType Command - LaTexName address - LyXType Custom - LabelFont - Color latex - EndFont + LatexName address + ParSkip 0.4 + BottomSep 1.5 + ParSep 1.5 + Align Left + AlignPossible Block, Left, Right, Center + LabelType No_Label End InsetLayout "Flex:Email" LabelString "Email" LatexType Command + Decoration Classic LaTexName email LyXType Custom + ForcePlain 1 LabelFont Color latex EndFont