Skip to content

Commit

Permalink
Template: change 'Address' Flex inset into a Style
Browse files Browse the repository at this point in the history
This looks better and gives natural separation between multiple authors.
  • Loading branch information
Scott Kostyshak committed May 8, 2013
1 parent c5de0e5 commit 227a769
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 28 deletions.
18 changes: 10 additions & 8 deletions layouts/RJournal.layout
Expand Up @@ -58,14 +58,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"
Expand All @@ -77,4 +80,3 @@ InsetLayout "Flex:Email"
Color latex
EndFont
End

22 changes: 2 additions & 20 deletions templates/RJournal.lyx
Expand Up @@ -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
Expand All @@ -313,11 +309,6 @@ arg "newline-insert newline"
\end_inset

address here
\end_layout

\end_inset


\begin_inset Newline newline
\end_inset

Expand All @@ -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

Expand Down

0 comments on commit 227a769

Please sign in to comment.