]> git.lyx.org Git - features.git/commitdiff
RJournal: change 'Abstract' from a Flex to a Style
authorScott Kostyshak <skostysh@lyx.org>
Wed, 8 May 2013 03:56:50 +0000 (23:56 -0400)
committerScott Kostyshak <skostysh@lyx.org>
Fri, 17 May 2013 02:55:03 +0000 (22:55 -0400)
This looks more consistent with other templates to me.

lib/layouts/RJournal.layout
lib/templates/RJournal.lyx

index e00d0e4381f77b305f9a52ba6ab49e6e4cc5e102..e7a2df40b487e00997580cd36f270be1154e79c0 100644 (file)
@@ -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
index d452eee58e2c846b86230e2f005178dac925a7eb..c46d174b02852db29110e38cd4b4560c63ad09c3 100644 (file)
@@ -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