]> git.lyx.org Git - features.git/commitdiff
RJournal: change 'Address' Flex inset into a Style
authorScott Kostyshak <skostysh@lyx.org>
Wed, 8 May 2013 00:48:28 +0000 (20:48 -0400)
committerScott Kostyshak <skostysh@lyx.org>
Fri, 17 May 2013 02:55:56 +0000 (22:55 -0400)
This looks better and gives natural separation between multiple
authors.

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

index e7a2df40b487e00997580cd36f270be1154e79c0..57a5cb3def812f0c64a25e29bb9ed36ec7e828ff 100644 (file)
@@ -64,14 +64,17 @@ Style Abstract
        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"
index c46d174b02852db29110e38cd4b4560c63ad09c3..b1522ede52f26a010b4610d523b548707c7f8081 100644 (file)
@@ -293,11 +293,7 @@ bibfiles "biblio"
 
 \end_layout
 
-\begin_layout Standard
-\begin_inset Flex Address
-status collapsed
-
-\begin_layout Plain Layout
+\begin_layout Address
 Author A
 \begin_inset Newline newline
 \end_inset
@@ -313,11 +309,6 @@ arg   "newline-insert newline"
 \end_inset
 
 address here
-\end_layout
-
-\end_inset
-
-
 \begin_inset Newline newline
 \end_inset
 
@@ -334,17 +325,8 @@ author.a@email
 
 \end_layout
 
-\begin_layout Standard
-\begin_inset Flex Address
-status collapsed
-
-\begin_layout Plain Layout
+\begin_layout Address
 Author B
-\end_layout
-
-\end_inset
-
-
 \begin_inset Newline newline
 \end_inset