mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-03 08:28:25 +00:00
aastex: update layout and example file
- also fix an issue in the generic lyx2lyx InsetArgument routines
This commit is contained in:
parent
7725e35439
commit
0c622a5c58
@ -32,33 +32,34 @@
|
|||||||
# Version 1.3 5/7/04 - Updated for AASTeX 5.2
|
# Version 1.3 5/7/04 - Updated for AASTeX 5.2
|
||||||
# Version 1.4 26/10/08 - new custom insets for \altaffilmark, \tablenotemark
|
# Version 1.4 26/10/08 - new custom insets for \altaffilmark, \tablenotemark
|
||||||
# - new environments for \altaffiltext and \tablenotetext
|
# - new environments for \altaffiltext and \tablenotetext
|
||||||
|
# Version 1.5 26/11/12 - added mandatory argument for \altaffiltext
|
||||||
|
|
||||||
|
|
||||||
Format 41
|
Format 41
|
||||||
Columns 1
|
Columns 1
|
||||||
Sides 1
|
Sides 1
|
||||||
#SecNumDepth 3
|
#SecNumDepth 3
|
||||||
TocDepth 0
|
TocDepth 0
|
||||||
PageStyle Plain
|
PageStyle Plain
|
||||||
Provides amsmath 1
|
Provides amsmath 1
|
||||||
Provides natbib 1
|
Provides natbib 1
|
||||||
Provides url 1
|
Provides url 1
|
||||||
|
|
||||||
|
|
||||||
ClassOptions
|
ClassOptions
|
||||||
PageStyle ""
|
PageStyle ""
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
Style Standard
|
Style Standard
|
||||||
Margin Static
|
Margin Static
|
||||||
LatexType Paragraph
|
LatexType Paragraph
|
||||||
LatexName dummy
|
LatexName dummy
|
||||||
ParIndent MM
|
ParIndent MM
|
||||||
ParSkip 0.4
|
ParSkip 0.4
|
||||||
Align Block
|
Align Block
|
||||||
AlignPossible Block, Left, Right, Center
|
AlignPossible Block, Left, Right, Center
|
||||||
LabelType No_Label
|
LabelType No_Label
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
@ -66,19 +67,19 @@ End
|
|||||||
# Therefore I'll define the entries first, then fill them in
|
# Therefore I'll define the entries first, then fill them in
|
||||||
|
|
||||||
Style Section
|
Style Section
|
||||||
TocLevel 1
|
TocLevel 1
|
||||||
End
|
End
|
||||||
|
|
||||||
Style Subsection
|
Style Subsection
|
||||||
TocLevel 2
|
TocLevel 2
|
||||||
End
|
End
|
||||||
|
|
||||||
Style Subsubsection
|
Style Subsubsection
|
||||||
TocLevel 3
|
TocLevel 3
|
||||||
End
|
End
|
||||||
|
|
||||||
Style Paragraph
|
Style Paragraph
|
||||||
TocLevel 4
|
TocLevel 4
|
||||||
End
|
End
|
||||||
|
|
||||||
Style Itemize
|
Style Itemize
|
||||||
@ -176,334 +177,339 @@ NoStyle Bibliography
|
|||||||
|
|
||||||
|
|
||||||
Style Section
|
Style Section
|
||||||
Align Center
|
Align Center
|
||||||
NextNoIndent 0
|
NextNoIndent 0
|
||||||
TopSep 2.0
|
TopSep 2.0
|
||||||
BottomSep 1.3
|
BottomSep 1.3
|
||||||
Font
|
Font
|
||||||
Series Bold
|
Series Bold
|
||||||
Size Normal
|
Size Normal
|
||||||
EndFont
|
EndFont
|
||||||
TocLevel 1
|
TocLevel 1
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
Style Subsection
|
Style Subsection
|
||||||
Align Center
|
Align Center
|
||||||
NextNoIndent 0
|
NextNoIndent 0
|
||||||
TopSep 1.7
|
TopSep 1.7
|
||||||
BottomSep 1.1
|
BottomSep 1.1
|
||||||
Font
|
Font
|
||||||
Series Bold
|
Series Bold
|
||||||
Size Normal
|
Size Normal
|
||||||
EndFont
|
EndFont
|
||||||
TocLevel 2
|
TocLevel 2
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
Style Subsubsection
|
Style Subsubsection
|
||||||
Align Center
|
Align Center
|
||||||
NextNoIndent 0
|
NextNoIndent 0
|
||||||
TopSep 1.7
|
TopSep 1.7
|
||||||
BottomSep 1.1
|
BottomSep 1.1
|
||||||
Font
|
Font
|
||||||
Series Medium
|
Series Medium
|
||||||
Shape Italic
|
Shape Italic
|
||||||
Size Normal
|
Size Normal
|
||||||
EndFont
|
EndFont
|
||||||
TocLevel 3
|
TocLevel 3
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
Style Title
|
Style Title
|
||||||
TopSep 2
|
TopSep 2
|
||||||
BottomSep 1.3
|
BottomSep 1.3
|
||||||
Align Center
|
Align Center
|
||||||
InTitle 0
|
InTitle 0
|
||||||
Font
|
Font
|
||||||
Series Bold
|
Series Bold
|
||||||
Size Large
|
Size Large
|
||||||
EndFont
|
EndFont
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
Style Author
|
Style Author
|
||||||
Align Center
|
Align Center
|
||||||
LabelType No_Label
|
LabelType No_Label
|
||||||
InTitle 0
|
InTitle 0
|
||||||
Font
|
Font
|
||||||
Size Normal
|
Size Normal
|
||||||
Series Medium
|
Series Medium
|
||||||
Shape SmallCaps
|
Shape SmallCaps
|
||||||
EndFont
|
EndFont
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
Style Date
|
Style Date
|
||||||
InTitle 0
|
InTitle 0
|
||||||
LabelSep ""
|
LabelSep ""
|
||||||
TopSep 1.2
|
TopSep 1.2
|
||||||
Align Center
|
Align Center
|
||||||
Font
|
Font
|
||||||
Size Small
|
Size Small
|
||||||
EndFont
|
EndFont
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
Style Abstract
|
Style Abstract
|
||||||
LeftMargin "MMM"
|
LeftMargin "MMM"
|
||||||
RightMargin "MMM"
|
RightMargin "MMM"
|
||||||
ParIndent "MM"
|
ParIndent "MM"
|
||||||
InTitle 0
|
InTitle 0
|
||||||
TopSep 1.4
|
TopSep 1.4
|
||||||
BottomSep 0.7
|
BottomSep 0.7
|
||||||
LabelType Centered_Top_Environment
|
LabelType Centered_Top_Environment
|
||||||
Align Block
|
Align Block
|
||||||
AlignPossible Block, Left, Right, Center
|
AlignPossible Block, Left, Right, Center
|
||||||
Font
|
Font
|
||||||
Size Normal
|
Size Normal
|
||||||
EndFont
|
EndFont
|
||||||
LabelFont
|
LabelFont
|
||||||
Series Bold
|
Series Bold
|
||||||
Size Normal
|
Size Normal
|
||||||
EndFont
|
EndFont
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
Style Affiliation
|
Style Affiliation
|
||||||
Margin Static
|
Margin Static
|
||||||
LatexType Command
|
LatexType Command
|
||||||
LatexName affil
|
LatexName affil
|
||||||
Category FrontMatter
|
Category FrontMatter
|
||||||
ParSkip 0.4
|
ParSkip 0.4
|
||||||
BottomSep 0.4
|
BottomSep 0.4
|
||||||
Align Center
|
Align Center
|
||||||
AlignPossible Block, Left, Right, Center
|
AlignPossible Block, Left, Right, Center
|
||||||
LabelType No_Label
|
LabelType No_Label
|
||||||
Font
|
Font
|
||||||
Family Roman
|
Family Roman
|
||||||
Size Normal
|
Size Normal
|
||||||
EndFont
|
EndFont
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
Style Altaffilation
|
Style Altaffilation
|
||||||
Margin Dynamic
|
Margin Dynamic
|
||||||
LatexType Command
|
LatexType Command
|
||||||
LatexName altaffiltext
|
LatexName altaffiltext
|
||||||
Category FrontMatter
|
Category FrontMatter
|
||||||
ParSkip 0.4
|
ParSkip 0.4
|
||||||
Align Block
|
Align Block
|
||||||
LabelSep xx
|
Argument 1
|
||||||
LabelType Static
|
Mandatory 1
|
||||||
LabelString "Alternative affiliation:"
|
LabelString "Number"
|
||||||
|
Tooltip "Consecutive number for the alternative affiliations"
|
||||||
|
EndArgument
|
||||||
|
LabelSep xx
|
||||||
|
LabelType Static
|
||||||
|
LabelString "Alternative affiliation:"
|
||||||
LabelFont
|
LabelFont
|
||||||
Color green
|
Color green
|
||||||
EndFont
|
EndFont
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
InsetLayout "Flex:altaffilmark"
|
InsetLayout "Flex:altaffilmark"
|
||||||
LyxType custom
|
LyxType custom
|
||||||
LatexType command
|
LatexType command
|
||||||
LatexName altaffilmark
|
LatexName altaffilmark
|
||||||
LabelString "altaffiliation mark"
|
LabelString "altaffiliation mark"
|
||||||
Font
|
Font
|
||||||
Color foreground
|
Color foreground
|
||||||
Size Small
|
Size Small
|
||||||
Family Roman
|
Family Roman
|
||||||
Shape Up
|
Shape Up
|
||||||
Series Medium
|
Series Medium
|
||||||
Misc No_Emph
|
Misc No_Emph
|
||||||
Misc No_Noun
|
Misc No_Noun
|
||||||
Misc No_Bar
|
Misc No_Bar
|
||||||
EndFont
|
EndFont
|
||||||
LabelFont
|
LabelFont
|
||||||
Color green
|
Color green
|
||||||
Size Small
|
Size Small
|
||||||
EndFont
|
EndFont
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
Style Keywords
|
Style Keywords
|
||||||
LeftMargin MMM
|
LeftMargin MMM
|
||||||
Margin Dynamic
|
Margin Dynamic
|
||||||
LatexType Command
|
LatexType Command
|
||||||
InTitle 0
|
InTitle 0
|
||||||
LatexName keywords
|
LatexName keywords
|
||||||
Category FrontMatter
|
Category FrontMatter
|
||||||
ParSkip 0.4
|
ParSkip 0.4
|
||||||
BottomSep 0.4
|
BottomSep 0.4
|
||||||
Align Block
|
Align Block
|
||||||
AlignPossible Block, Left, Right, Center
|
AlignPossible Block, Left, Right, Center
|
||||||
LabelType Static
|
LabelType Static
|
||||||
LabelSep M
|
LabelSep M
|
||||||
LabelString "Subject headings:"
|
LabelString "Subject headings:"
|
||||||
Font
|
Font
|
||||||
Family Roman
|
Family Roman
|
||||||
Shape Up
|
Shape Up
|
||||||
Size Normal
|
Size Normal
|
||||||
EndFont
|
EndFont
|
||||||
LabelFont
|
LabelFont
|
||||||
Family Roman
|
Family Roman
|
||||||
Shape Italic
|
Shape Italic
|
||||||
Size Normal
|
Size Normal
|
||||||
EndFont
|
EndFont
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
Style Email
|
Style Email
|
||||||
Margin Static
|
Margin Static
|
||||||
LatexType Command
|
LatexType Command
|
||||||
InTitle 0
|
InTitle 0
|
||||||
LatexName email
|
LatexName email
|
||||||
Category FrontMatter
|
Category FrontMatter
|
||||||
ParSkip 0.4
|
ParSkip 0.4
|
||||||
BottomSep 0.4
|
BottomSep 0.4
|
||||||
Align Center
|
Align Center
|
||||||
AlignPossible Block, Left, Right, Center
|
AlignPossible Block, Left, Right, Center
|
||||||
LabelType No_Label
|
LabelType No_Label
|
||||||
Font
|
Font
|
||||||
Family Roman
|
Family Roman
|
||||||
Size Normal
|
Size Normal
|
||||||
Shape Italic
|
Shape Italic
|
||||||
EndFont
|
EndFont
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
Style Acknowledgements
|
Style Acknowledgements
|
||||||
Margin Dynamic
|
Margin Dynamic
|
||||||
LatexType Command
|
LatexType Command
|
||||||
InTitle 0
|
InTitle 0
|
||||||
LatexName acknowledgements
|
LatexName acknowledgements
|
||||||
TopSep 1.2
|
TopSep 1.2
|
||||||
ParSkip 0.4
|
ParSkip 0.4
|
||||||
BottomSep 0.8
|
BottomSep 0.8
|
||||||
Align Left
|
Align Left
|
||||||
LabelType Static
|
LabelType Static
|
||||||
LabelString "[Acknowledgements]"
|
LabelString "[Acknowledgements]"
|
||||||
KeepEmpty 1
|
KeepEmpty 1
|
||||||
Font
|
Font
|
||||||
Family Roman
|
Family Roman
|
||||||
Size Normal
|
Size Normal
|
||||||
Shape Italic
|
Shape Italic
|
||||||
EndFont
|
EndFont
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
Style And
|
Style And
|
||||||
Margin Dynamic
|
Margin Dynamic
|
||||||
LatexType Command
|
LatexType Command
|
||||||
InTitle 0
|
InTitle 0
|
||||||
LatexName and
|
LatexName and
|
||||||
Category FrontMatter
|
Category FrontMatter
|
||||||
TopSep 1.2
|
TopSep 1.2
|
||||||
ParSkip 0.4
|
ParSkip 0.4
|
||||||
BottomSep 1.2
|
BottomSep 1.2
|
||||||
Align Center
|
Align Center
|
||||||
LabelType Static
|
LabelType Static
|
||||||
LabelString "and"
|
LabelString "and"
|
||||||
KeepEmpty 1
|
KeepEmpty 1
|
||||||
Font
|
Font
|
||||||
Family Roman
|
Family Roman
|
||||||
Size Normal
|
Size Normal
|
||||||
EndFont
|
EndFont
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
Style PlaceFigure
|
Style PlaceFigure
|
||||||
Margin Dynamic
|
Margin Dynamic
|
||||||
LatexType Command
|
LatexType Command
|
||||||
InTitle 0
|
InTitle 0
|
||||||
LatexName placefigure
|
LatexName placefigure
|
||||||
TopSep 1.2
|
TopSep 1.2
|
||||||
ParSkip 0.4
|
ParSkip 0.4
|
||||||
BottomSep 0.8
|
BottomSep 0.8
|
||||||
Align Left
|
Align Left
|
||||||
LabelType Static
|
LabelType Static
|
||||||
LabelSep M
|
LabelSep M
|
||||||
LabelString "Place Figure here:"
|
LabelString "Place Figure here:"
|
||||||
Font
|
Font
|
||||||
Family Roman
|
Family Roman
|
||||||
Size Normal
|
Size Normal
|
||||||
Shape Italic
|
Shape Italic
|
||||||
EndFont
|
EndFont
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
Style PlaceTable
|
Style PlaceTable
|
||||||
Margin Dynamic
|
Margin Dynamic
|
||||||
LatexType Command
|
LatexType Command
|
||||||
InTitle 0
|
InTitle 0
|
||||||
LatexName placetable
|
LatexName placetable
|
||||||
TopSep 1.2
|
TopSep 1.2
|
||||||
ParSkip 0.4
|
ParSkip 0.4
|
||||||
BottomSep 0.8
|
BottomSep 0.8
|
||||||
Align Left
|
Align Left
|
||||||
LabelType Static
|
LabelType Static
|
||||||
LabelSep M
|
LabelSep M
|
||||||
LabelString "Place Table here:"
|
LabelString "Place Table here:"
|
||||||
Font
|
Font
|
||||||
Family Roman
|
Family Roman
|
||||||
Size Normal
|
Size Normal
|
||||||
Shape Italic
|
Shape Italic
|
||||||
EndFont
|
EndFont
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
Style Appendix
|
Style Appendix
|
||||||
Margin Dynamic
|
Margin Dynamic
|
||||||
LatexType Command
|
LatexType Command
|
||||||
LatexName appendix
|
LatexName appendix
|
||||||
Category BackMatter
|
Category BackMatter
|
||||||
TopSep 1.2
|
TopSep 1.2
|
||||||
ParSkip 0.4
|
ParSkip 0.4
|
||||||
BottomSep 0.8
|
BottomSep 0.8
|
||||||
Align Left
|
Align Left
|
||||||
LabelType Static
|
LabelType Static
|
||||||
LabelString "[Appendix]"
|
LabelString "[Appendix]"
|
||||||
KeepEmpty 1
|
KeepEmpty 1
|
||||||
Font
|
Font
|
||||||
Family Roman
|
Family Roman
|
||||||
Size Normal
|
Size Normal
|
||||||
Shape Italic
|
Shape Italic
|
||||||
EndFont
|
EndFont
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
Style MathLetters
|
Style MathLetters
|
||||||
LatexType Environment
|
LatexType Environment
|
||||||
LatexName mathletters
|
LatexName mathletters
|
||||||
LabelType No_Label
|
LabelType No_Label
|
||||||
Align Block
|
Align Block
|
||||||
AlignPossible Block, Left, Right, Center
|
AlignPossible Block, Left, Right, Center
|
||||||
Font
|
Font
|
||||||
Size Normal
|
Size Normal
|
||||||
EndFont
|
EndFont
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
Style References
|
Style References
|
||||||
Margin First_Dynamic
|
Margin First_Dynamic
|
||||||
LatexType Bib_Environment
|
LatexType Bib_Environment
|
||||||
LatexName thebibliography
|
LatexName thebibliography
|
||||||
Category BackMatter
|
Category BackMatter
|
||||||
NextNoIndent 1
|
NextNoIndent 1
|
||||||
LeftMargin MM
|
LeftMargin MM
|
||||||
ParSkip 0.4
|
ParSkip 0.4
|
||||||
ItemSep 0
|
ItemSep 0
|
||||||
TopSep 0.7
|
TopSep 0.7
|
||||||
BottomSep 0.7
|
BottomSep 0.7
|
||||||
ParSep 0.5
|
ParSep 0.5
|
||||||
LabelType Bibliography
|
LabelType Bibliography
|
||||||
LabelString "References"
|
LabelString "References"
|
||||||
LabelBottomSep 0.7
|
LabelBottomSep 0.7
|
||||||
Align Block
|
Align Block
|
||||||
AlignPossible Block, Left, Right, Center
|
AlignPossible Block, Left, Right, Center
|
||||||
LabelFont
|
LabelFont
|
||||||
Family Roman
|
Family Roman
|
||||||
Size Normal
|
Size Normal
|
||||||
Series Bold
|
Series Bold
|
||||||
EndFont
|
EndFont
|
||||||
End
|
End
|
||||||
|
|
||||||
@ -511,203 +517,203 @@ End
|
|||||||
# Need reordering below here
|
# Need reordering below here
|
||||||
|
|
||||||
Style NoteToEditor
|
Style NoteToEditor
|
||||||
Margin Dynamic
|
Margin Dynamic
|
||||||
LatexType Command
|
LatexType Command
|
||||||
InTitle 0
|
InTitle 0
|
||||||
LatexName notetoeditor
|
LatexName notetoeditor
|
||||||
TopSep 1.2
|
TopSep 1.2
|
||||||
ParSkip 0.4
|
ParSkip 0.4
|
||||||
BottomSep 0.8
|
BottomSep 0.8
|
||||||
Align Left
|
Align Left
|
||||||
AlignPossible Block, Left, Right, Center
|
AlignPossible Block, Left, Right, Center
|
||||||
LabelType Static
|
LabelType Static
|
||||||
LabelSep M
|
LabelSep M
|
||||||
LabelString "Note to Editor:"
|
LabelString "Note to Editor:"
|
||||||
Font
|
Font
|
||||||
Family Roman
|
Family Roman
|
||||||
Size Normal
|
Size Normal
|
||||||
Shape Italic
|
Shape Italic
|
||||||
EndFont
|
EndFont
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
Style TableRefs
|
Style TableRefs
|
||||||
Margin First_Dynamic
|
Margin First_Dynamic
|
||||||
LatexType Command
|
LatexType Command
|
||||||
InTitle 0
|
InTitle 0
|
||||||
LatexName tablerefs
|
LatexName tablerefs
|
||||||
TopSep 1.2
|
TopSep 1.2
|
||||||
ParSkip 0.4
|
ParSkip 0.4
|
||||||
BottomSep 0.8
|
BottomSep 0.8
|
||||||
Align Block
|
Align Block
|
||||||
AlignPossible Block, Left, Right, Center
|
AlignPossible Block, Left, Right, Center
|
||||||
LabelType Static
|
LabelType Static
|
||||||
LabelSep M
|
LabelSep M
|
||||||
LabelString "References. ---"
|
LabelString "References. ---"
|
||||||
Font
|
Font
|
||||||
Family Roman
|
Family Roman
|
||||||
Size Normal
|
Size Normal
|
||||||
EndFont
|
EndFont
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
Style TableComments
|
Style TableComments
|
||||||
Margin First_Dynamic
|
Margin First_Dynamic
|
||||||
LatexType Command
|
LatexType Command
|
||||||
InTitle 0
|
InTitle 0
|
||||||
LatexName tablecomments
|
LatexName tablecomments
|
||||||
TopSep 1.2
|
TopSep 1.2
|
||||||
ParSkip 0.4
|
ParSkip 0.4
|
||||||
BottomSep 0.8
|
BottomSep 0.8
|
||||||
Align Block
|
Align Block
|
||||||
AlignPossible Block, Left, Right, Center
|
AlignPossible Block, Left, Right, Center
|
||||||
LabelType Static
|
LabelType Static
|
||||||
LabelSep M
|
LabelSep M
|
||||||
LabelString "Note. ---"
|
LabelString "Note. ---"
|
||||||
Font
|
Font
|
||||||
Family Roman
|
Family Roman
|
||||||
Size Normal
|
Size Normal
|
||||||
EndFont
|
EndFont
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
Style "Table note"
|
Style "Table note"
|
||||||
Margin Dynamic
|
Margin Dynamic
|
||||||
LatexType Command
|
LatexType Command
|
||||||
LatexName tablenotetext
|
LatexName tablenotetext
|
||||||
ParSkip 0.4
|
ParSkip 0.4
|
||||||
Align Block
|
Align Block
|
||||||
LabelSep xx
|
LabelSep xx
|
||||||
LabelType Static
|
LabelType Static
|
||||||
LabelString "Table note:"
|
LabelString "Table note:"
|
||||||
LabelFont
|
LabelFont
|
||||||
Color magenta
|
Color magenta
|
||||||
EndFont
|
EndFont
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
InsetLayout "Flex:tablenotemark"
|
InsetLayout "Flex:tablenotemark"
|
||||||
LyxType custom
|
LyxType custom
|
||||||
LatexType command
|
LatexType command
|
||||||
LatexName tablenotemark
|
LatexName tablenotemark
|
||||||
LabelString "tablenote mark"
|
LabelString "tablenote mark"
|
||||||
Font
|
Font
|
||||||
Color foreground
|
Color foreground
|
||||||
Size Small
|
Size Small
|
||||||
Family Roman
|
Family Roman
|
||||||
Shape Up
|
Shape Up
|
||||||
Series Medium
|
Series Medium
|
||||||
Misc No_Emph
|
Misc No_Emph
|
||||||
Misc No_Noun
|
Misc No_Noun
|
||||||
Misc No_Bar
|
Misc No_Bar
|
||||||
EndFont
|
EndFont
|
||||||
LabelFont
|
LabelFont
|
||||||
Color magenta
|
Color magenta
|
||||||
Size Small
|
Size Small
|
||||||
EndFont
|
EndFont
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
Style FigCaption
|
Style FigCaption
|
||||||
Margin First_Dynamic
|
Margin First_Dynamic
|
||||||
LatexType Command
|
LatexType Command
|
||||||
LatexName figcaption
|
LatexName figcaption
|
||||||
LabelSep xx
|
LabelSep xx
|
||||||
ParSkip 0.4
|
ParSkip 0.4
|
||||||
TopSep 0.5
|
TopSep 0.5
|
||||||
Align Block
|
Align Block
|
||||||
AlignPossible Block, Left
|
AlignPossible Block, Left
|
||||||
LabelType Static
|
LabelType Static
|
||||||
LabelString "Fig. ---"
|
LabelString "Fig. ---"
|
||||||
Argument 1
|
Argument 1
|
||||||
LabelString "Short Title|S"
|
LabelString "Short Title|S"
|
||||||
Tooltip "The caption as it appears in the list of figures"
|
Tooltip "The caption as it appears in the list of figures"
|
||||||
EndArgument
|
EndArgument
|
||||||
End
|
End
|
||||||
|
|
||||||
# Facility style definition
|
# Facility style definition
|
||||||
Style Facility
|
Style Facility
|
||||||
LeftMargin MMM
|
LeftMargin MMM
|
||||||
Margin Dynamic
|
Margin Dynamic
|
||||||
LatexType Command
|
LatexType Command
|
||||||
InTitle 0
|
InTitle 0
|
||||||
LatexName facility
|
LatexName facility
|
||||||
ParSkip 0.4
|
ParSkip 0.4
|
||||||
BottomSep 0.4
|
BottomSep 0.4
|
||||||
Align Block
|
Align Block
|
||||||
AlignPossible Block, Left, Right, Center
|
AlignPossible Block, Left, Right, Center
|
||||||
LabelType Static
|
LabelType Static
|
||||||
LabelSep M
|
LabelSep M
|
||||||
LabelString "Facility:"
|
LabelString "Facility:"
|
||||||
Font
|
Font
|
||||||
Family Roman
|
Family Roman
|
||||||
Shape Up
|
Shape Up
|
||||||
Size Normal
|
Size Normal
|
||||||
EndFont
|
EndFont
|
||||||
LabelFont
|
LabelFont
|
||||||
Family Roman
|
Family Roman
|
||||||
Shape Italic
|
Shape Italic
|
||||||
Size Normal
|
Size Normal
|
||||||
EndFont
|
EndFont
|
||||||
End
|
End
|
||||||
|
|
||||||
# Objectname style definition
|
# Objectname style definition
|
||||||
Style Objectname
|
Style Objectname
|
||||||
LeftMargin MMM
|
LeftMargin MMM
|
||||||
Margin Dynamic
|
Margin Dynamic
|
||||||
LatexType Command
|
LatexType Command
|
||||||
InTitle 0
|
InTitle 0
|
||||||
LatexName objectname
|
LatexName objectname
|
||||||
ParSkip 0.4
|
ParSkip 0.4
|
||||||
BottomSep 0.4
|
BottomSep 0.4
|
||||||
Align Block
|
Align Block
|
||||||
AlignPossible Block, Left, Right, Center
|
AlignPossible Block, Left, Right, Center
|
||||||
LabelType Static
|
LabelType Static
|
||||||
LabelSep M
|
LabelSep M
|
||||||
LabelString "Obj:"
|
LabelString "Obj:"
|
||||||
Argument 1
|
Argument 1
|
||||||
LabelString "Recognized Name"
|
LabelString "Recognized Name"
|
||||||
Tooltip "Separate the recognized name of an object from text"
|
Tooltip "Separate the recognized name of an object from text"
|
||||||
EndArgument
|
EndArgument
|
||||||
Font
|
Font
|
||||||
Family Roman
|
Family Roman
|
||||||
Shape Up
|
Shape Up
|
||||||
Size Normal
|
Size Normal
|
||||||
EndFont
|
EndFont
|
||||||
LabelFont
|
LabelFont
|
||||||
Family Roman
|
Family Roman
|
||||||
Shape Italic
|
Shape Italic
|
||||||
Size Normal
|
Size Normal
|
||||||
EndFont
|
EndFont
|
||||||
End
|
End
|
||||||
|
|
||||||
# Dataset style definition
|
# Dataset style definition
|
||||||
Style Dataset
|
Style Dataset
|
||||||
LeftMargin MMM
|
LeftMargin MMM
|
||||||
Margin Dynamic
|
Margin Dynamic
|
||||||
LatexType Command
|
LatexType Command
|
||||||
InTitle 0
|
InTitle 0
|
||||||
LatexName dataset
|
LatexName dataset
|
||||||
ParSkip 0.4
|
ParSkip 0.4
|
||||||
BottomSep 0.4
|
BottomSep 0.4
|
||||||
Align Block
|
Align Block
|
||||||
AlignPossible Block, Left, Right, Center
|
AlignPossible Block, Left, Right, Center
|
||||||
LabelType Static
|
LabelType Static
|
||||||
LabelSep M
|
LabelSep M
|
||||||
LabelString "Dataset:"
|
LabelString "Dataset:"
|
||||||
Argument 1
|
Argument 1
|
||||||
LabelString "Recognized Name"
|
LabelString "Recognized Name"
|
||||||
Tooltip "Separate the dataset ID from text"
|
Tooltip "Separate the dataset ID from text"
|
||||||
EndArgument
|
EndArgument
|
||||||
Font
|
Font
|
||||||
Family Roman
|
Family Roman
|
||||||
Shape Up
|
Shape Up
|
||||||
Size Normal
|
Size Normal
|
||||||
EndFont
|
EndFont
|
||||||
LabelFont
|
LabelFont
|
||||||
Family Roman
|
Family Roman
|
||||||
Shape Italic
|
Shape Italic
|
||||||
Size Normal
|
Size Normal
|
||||||
EndFont
|
EndFont
|
||||||
End
|
End
|
||||||
|
|
||||||
|
@ -1193,7 +1193,13 @@ def revert_Argument_to_TeX_brace(document, line, n, nmax, environment):
|
|||||||
|
|
||||||
|
|
||||||
def revert_IEEEtran(document):
|
def revert_IEEEtran(document):
|
||||||
" Reverts InsetArgument to old syntax "
|
'''
|
||||||
|
Reverts InsetArgument of
|
||||||
|
Page headings
|
||||||
|
Biography
|
||||||
|
Biography without photo
|
||||||
|
to TeX-code
|
||||||
|
'''
|
||||||
i = 0
|
i = 0
|
||||||
j = 0
|
j = 0
|
||||||
k = 0
|
k = 0
|
||||||
@ -1246,7 +1252,8 @@ def convert_Argument_to_TeX_brace(document, line, n, nmax, environment):
|
|||||||
lineArg = find_token(document.body, "\\begin_inset ERT", lineArg)
|
lineArg = find_token(document.body, "\\begin_inset ERT", lineArg)
|
||||||
if environment == False and lineArg != -1:
|
if environment == False and lineArg != -1:
|
||||||
bracePair = find_token(document.body, "}{", lineArg)
|
bracePair = find_token(document.body, "}{", lineArg)
|
||||||
if bracePair == lineArg + 5: # assure that the "}{" is in this ERT
|
# assure that the "}{" is in this ERT (5 is or files saved with LyX 2.0, 4 for files exported by LyX 2.1)
|
||||||
|
if bracePair == lineArg + 5 or bracePair == lineArg + 4:
|
||||||
end = find_token(document.body, "\\end_inset", bracePair)
|
end = find_token(document.body, "\\end_inset", bracePair)
|
||||||
document.body[lineArg : end + 1] = ["\\end_layout", "", "\\end_inset"]
|
document.body[lineArg : end + 1] = ["\\end_layout", "", "\\end_inset"]
|
||||||
document.body[line + 1 : line + 1] = ["\\begin_inset Argument " + str(n), "status open", "", "\\begin_layout Plain Layout"]
|
document.body[line + 1 : line + 1] = ["\\begin_inset Argument " + str(n), "status open", "", "\\begin_layout Plain Layout"]
|
||||||
@ -1255,13 +1262,13 @@ def convert_Argument_to_TeX_brace(document, line, n, nmax, environment):
|
|||||||
lineArg = lineArg + 1
|
lineArg = lineArg + 1
|
||||||
if environment == True and lineArg != -1:
|
if environment == True and lineArg != -1:
|
||||||
opening = find_token(document.body, "{", lineArg)
|
opening = find_token(document.body, "{", lineArg)
|
||||||
if opening == lineArg + 5: # assure that the "{" is in this ERT
|
if opening == lineArg + 5 or opening == lineArg + 4: # assure that the "{" is in this ERT
|
||||||
end = find_token(document.body, "\\end_inset", opening)
|
end = find_token(document.body, "\\end_inset", opening)
|
||||||
document.body[lineArg : end + 1] = ["\\begin_inset Argument " + str(n), "status open", "", "\\begin_layout Plain Layout"]
|
document.body[lineArg : end + 1] = ["\\begin_inset Argument " + str(n), "status open", "", "\\begin_layout Plain Layout"]
|
||||||
n = n + 1
|
n = n + 1
|
||||||
lineArg2 = find_token(document.body, "\\begin_inset ERT", lineArg)
|
lineArg2 = find_token(document.body, "\\begin_inset ERT", lineArg)
|
||||||
closing = find_token(document.body, "}", lineArg2)
|
closing = find_token(document.body, "}", lineArg2)
|
||||||
if closing == lineArg2 + 5: # assure that the "}" is in this ERT
|
if closing == lineArg2 + 5 or closing == lineArg2 + 4: # assure that the "}" is in this ERT
|
||||||
end2 = find_token(document.body, "\\end_inset", closing)
|
end2 = find_token(document.body, "\\end_inset", closing)
|
||||||
document.body[lineArg2 : end2 + 1] = ["\\end_layout", "", "\\end_inset"]
|
document.body[lineArg2 : end2 + 1] = ["\\end_layout", "", "\\end_inset"]
|
||||||
else:
|
else:
|
||||||
@ -1305,6 +1312,32 @@ def convert_IEEEtran(document):
|
|||||||
return
|
return
|
||||||
|
|
||||||
|
|
||||||
|
def revert_AASTeX(document):
|
||||||
|
" Reverts InsetArgument of Altaffilation to TeX-code "
|
||||||
|
i = 0
|
||||||
|
while True:
|
||||||
|
if i != -1:
|
||||||
|
i = find_token(document.body, "\\begin_layout Altaffilation", i)
|
||||||
|
if i != -1:
|
||||||
|
revert_Argument_to_TeX_brace(document, i, 1, 1, False)
|
||||||
|
i = i + 1
|
||||||
|
if i == -1:
|
||||||
|
return
|
||||||
|
|
||||||
|
|
||||||
|
def convert_AASTeX(document):
|
||||||
|
" Converts ERT of Altaffilation to InsetArgument "
|
||||||
|
i = 0
|
||||||
|
while True:
|
||||||
|
if i != -1:
|
||||||
|
i = find_token(document.body, "\\begin_layout Altaffilation", i)
|
||||||
|
if i != -1:
|
||||||
|
convert_Argument_to_TeX_brace(document, i, 1, 1, False)
|
||||||
|
i = i + 1
|
||||||
|
if i == -1:
|
||||||
|
return
|
||||||
|
|
||||||
|
|
||||||
##
|
##
|
||||||
# Conversion hub
|
# Conversion hub
|
||||||
#
|
#
|
||||||
@ -1344,11 +1377,11 @@ convert = [
|
|||||||
[444, []],
|
[444, []],
|
||||||
[445, []],
|
[445, []],
|
||||||
[446, [convert_latexargs]],
|
[446, [convert_latexargs]],
|
||||||
[447, [convert_IEEEtran]]
|
[447, [convert_IEEEtran, convert_AASTeX]]
|
||||||
]
|
]
|
||||||
|
|
||||||
revert = [
|
revert = [
|
||||||
[446, [revert_IEEEtran]],
|
[446, [revert_IEEEtran, revert_AASTeX]],
|
||||||
[445, [revert_latexargs]],
|
[445, [revert_latexargs]],
|
||||||
[444, [revert_uop]],
|
[444, [revert_uop]],
|
||||||
[443, [revert_biolinum]],
|
[443, [revert_biolinum]],
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#LyX 2.0 created this file. For more info see http://www.lyx.org/
|
#LyX 2.1 created this file. For more info see http://www.lyx.org/
|
||||||
\lyxformat 413
|
\lyxformat 447
|
||||||
\begin_document
|
\begin_document
|
||||||
\begin_header
|
\begin_header
|
||||||
\textclass aastex
|
\textclass aastex
|
||||||
@ -17,13 +17,13 @@
|
|||||||
\font_roman default
|
\font_roman default
|
||||||
\font_sans default
|
\font_sans default
|
||||||
\font_typewriter default
|
\font_typewriter default
|
||||||
|
\font_math auto
|
||||||
\font_default_family default
|
\font_default_family default
|
||||||
\use_non_tex_fonts false
|
\use_non_tex_fonts false
|
||||||
\font_sc false
|
\font_sc false
|
||||||
\font_osf false
|
\font_osf false
|
||||||
\font_sf_scale 100
|
\font_sf_scale 100
|
||||||
\font_tt_scale 100
|
\font_tt_scale 100
|
||||||
|
|
||||||
\graphics default
|
\graphics default
|
||||||
\default_output_format default
|
\default_output_format default
|
||||||
\output_sync 0
|
\output_sync 0
|
||||||
@ -34,15 +34,21 @@
|
|||||||
\use_hyperref false
|
\use_hyperref false
|
||||||
\papersize default
|
\papersize default
|
||||||
\use_geometry false
|
\use_geometry false
|
||||||
\use_amsmath 0
|
\use_package amsmath 0
|
||||||
\use_esint 0
|
\use_package amssymb 0
|
||||||
\use_mhchem 1
|
\use_package esint 0
|
||||||
\use_mathdots 1
|
\use_package mathdots 1
|
||||||
\cite_engine natbib_authoryear
|
\use_package mathtools 0
|
||||||
|
\use_package mhchem 1
|
||||||
|
\use_package undertilde 0
|
||||||
|
\cite_engine natbib
|
||||||
|
\cite_engine_type authoryear
|
||||||
|
\biblio_style plainnat
|
||||||
\use_bibtopic false
|
\use_bibtopic false
|
||||||
\use_indices false
|
\use_indices false
|
||||||
\paperorientation portrait
|
\paperorientation portrait
|
||||||
\suppress_date false
|
\suppress_date false
|
||||||
|
\justification true
|
||||||
\use_refstyle 0
|
\use_refstyle 0
|
||||||
\index Index
|
\index Index
|
||||||
\shortcut idx
|
\shortcut idx
|
||||||
@ -132,13 +138,11 @@ status collapsed
|
|||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\begin_layout Altaffilation
|
\begin_layout Altaffilation
|
||||||
1
|
\begin_inset Argument 1
|
||||||
\begin_inset ERT
|
status open
|
||||||
status collapsed
|
|
||||||
|
|
||||||
\begin_layout Plain Layout
|
\begin_layout Plain Layout
|
||||||
|
1
|
||||||
}{
|
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\end_inset
|
\end_inset
|
||||||
@ -147,13 +151,11 @@ Visiting Astronomer, etc.
|
|||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\begin_layout Altaffilation
|
\begin_layout Altaffilation
|
||||||
2
|
\begin_inset Argument 1
|
||||||
\begin_inset ERT
|
status open
|
||||||
status collapsed
|
|
||||||
|
|
||||||
\begin_layout Plain Layout
|
\begin_layout Plain Layout
|
||||||
|
2
|
||||||
}{
|
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\end_inset
|
\end_inset
|
||||||
@ -162,13 +164,11 @@ Current Address, etc.
|
|||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\begin_layout Altaffilation
|
\begin_layout Altaffilation
|
||||||
3
|
\begin_inset Argument 1
|
||||||
\begin_inset ERT
|
status open
|
||||||
status collapsed
|
|
||||||
|
|
||||||
\begin_layout Plain Layout
|
\begin_layout Plain Layout
|
||||||
|
3
|
||||||
}{
|
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\end_inset
|
\end_inset
|
||||||
|
Loading…
Reference in New Issue
Block a user