- elsarticle.layout: introduce insets for different commands

- elsarticle.lyx: use new insets instead of ERT

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27132 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2008-10-26 02:50:57 +00:00
parent d6f1915684
commit 189c535fca
2 changed files with 81 additions and 29 deletions

View File

@ -68,6 +68,28 @@ Style Title
End
InsetLayout Titlenotemark
LyxType custom
LatexType command
LatexName tnoteref
LabelString "Titlenote mark"
Font
Color foreground
Size Small
Family Roman
Shape Up
Series Medium
Misc No_Emph
Misc No_Noun
Misc No_Bar
EndFont
LabelFont
Color green
Size Small
EndFont
End
Style "Title footnote"
Margin Dynamic
LatexType Command
@ -108,6 +130,28 @@ Style Author
End
InsetLayout Authormark
LyxType custom
LatexType command
LatexName fnref
LabelString "Author mark"
Font
Color foreground
Size Small
Family Roman
Shape Up
Series Medium
Misc No_Emph
Misc No_Noun
Misc No_Bar
EndFont
LabelFont
Color latex
Size Small
EndFont
End
Style "Author footnote"
CopyStyle "Title footnote"
LatexName fntext
@ -115,6 +159,28 @@ Style "Author footnote"
End
InsetLayout CorAuthormark
LyxType custom
LatexType command
LatexName corref
LabelString "CorAuthor mark"
Font
Color foreground
Size Small
Family Roman
Shape Up
Series Medium
Misc No_Emph
Misc No_Noun
Misc No_Bar
EndFont
LabelFont
Color blue
Size Small
EndFont
End
Style "Corresponding author"
CopyStyle "Title footnote"
LatexName cortext

View File

@ -1,5 +1,5 @@
#LyX 1.6.0svn created this file. For more info see http://www.lyx.org/
\lyxformat 341
\lyxformat 344
\begin_document
\begin_header
\textclass elsarticle
@ -7,6 +7,7 @@
% specify here the journal
\journal{Example: Nuclear Physics B}
\end_preamble
\use_default_options false
\language english
\inputencoding auto
\font_roman default
@ -99,14 +100,11 @@ starts the front matter
\begin_layout Title
This is a specimen title
\begin_inset ERT
status collapsed
\begin_inset Flex Titlenotemark
status open
\begin_layout Plain Layout
\backslash
tnoteref{t1,t2}
t1,t2
\end_layout
\end_inset
@ -275,40 +273,31 @@ C.V.
\end_inset
Radhakrishnan
\begin_inset ERT
\begin_inset Flex Authormark
status collapsed
\begin_layout Plain Layout
\backslash
corref{cor1}
fn1
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_inset Flex CorAuthormark
status open
\begin_layout Plain Layout
\backslash
corref{cor2}
cor1
\end_layout
\end_inset
\begin_inset ERT
\begin_inset Flex CorAuthormark
status collapsed
\begin_layout Plain Layout
\backslash
fnref{fn1}
cor2
\end_layout
\end_inset
@ -356,14 +345,11 @@ K.
\end_inset
Bazargan
\begin_inset ERT
status collapsed
\begin_inset Flex Authormark
status open
\begin_layout Plain Layout
\backslash
fnref{fn2}
fn2
\end_layout
\end_inset