From: Scott Kostyshak Date: Wed, 8 May 2013 03:56:50 +0000 (-0400) Subject: RJournal: change 'Abstract' from a Flex to a Style X-Git-Tag: 2.1.0beta1~225 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=9d7d7c38163091d99a72ed661e3ee00e82614dd5;p=features.git RJournal: change 'Abstract' from a Flex to a Style This looks more consistent with other templates to me. --- diff --git a/lib/layouts/RJournal.layout b/lib/layouts/RJournal.layout index e00d0e4381..e7a2df40b4 100644 --- a/lib/layouts/RJournal.layout +++ b/lib/layouts/RJournal.layout @@ -40,12 +40,26 @@ AddToPreamble } 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 diff --git a/lib/templates/RJournal.lyx b/lib/templates/RJournal.lyx index d452eee58e..c46d174b02 100644 --- a/lib/templates/RJournal.lyx +++ b/lib/templates/RJournal.lyx @@ -103,19 +103,10 @@ Capitalized Title Here by Author A and Author B \end_layout -\begin_layout Standard -\begin_inset Flex Abstract -status open - -\begin_layout Plain Layout +\begin_layout Abstract An abstract of less than 150 words. \end_layout -\end_inset - - -\end_layout - \begin_layout Section Section title in sentence case \end_layout