lyx_mirror/lib/layouts/iucr.layout

299 lines
5.6 KiB
Plaintext
Raw Permalink Normal View History

#% Do not delete the line below; configure depends on this
# \DeclareLaTeXClass[iucr,float.sty,harvard.sty,html.sty,multicol.sty,tabularx.sty]{International Union of Crystallography (IUCr)}
# \DeclareCategory{Articles}
# IUCr article textclass definition file.
# Author: Uwe Stöhr (uwestoehr@web.de)
# IUCr LaTeX files can be downloaded from ftp://ftp.iucr.org/templates/latex/
2024-08-12 10:29:14 +00:00
Format 107
Columns 1
Sides 1
SecNumDepth 3
TocDepth 3
DefaultStyle Standard
ClassOptions
FontSize 10
end
Style Standard
Category MainText
Margin Static
LatexType Paragraph
LatexName dummy
ParIndent MM
ParSkip 0.4
Align Block
AlignPossible Block, Left, Right, Center
LabelType No_Label
2020-11-27 01:49:48 +00:00
DocBookTag para
End
Input stdtitle.inc
Input stdcounters.inc
Input stdfloats.inc
Input stdlists.inc
Input stdsections.inc
Input stdstarsections.inc
Input stdstruct.inc
NoStyle Chapter
NoCounter chapter
NoStyle Chapter*
NoStyle Author
NoStyle Bibliography
Style Section
LabelString \thesection.
LabelStringAppendix \thesection
Align Center
TocLevel 1
End
Style Subsection
LabelString \thesubsection.
Font
Shape Italic
Size Normal
EndFont
TocLevel 2
End
Style Subsubsection
LabelString \thesubsubsection.
Font
Shape Italic
EndFont
TocLevel 3
End
Style "Short Title"
CopyStyle Title
LatexName shorttitle
Font
Size Small
EndFont
2020-11-27 01:49:48 +00:00
DocBookTag titleabbrev
End
InsetLayout "Flex:City"
LyxType custom
LatexType command
ForcePlain 1
LatexName city
LabelString "City"
Font
Color foreground
Size Small
Family Roman
Shape Up
Series Medium
Misc No_Emph
Misc No_Noun
Misc No_Bar
EndFont
LabelFont
Color textlabel2
Size Small
EndFont
End
InsetLayout "Flex:Country"
CopyStyle "Flex:City"
LatexName country
LabelString "Country"
End
InsetLayout "Flex:Author Footnote"
CopyStyle "Flex:City"
LatexName aufn
LabelString "Author Footnote"
End
Style "Main Author"
Margin Static
LatexType Command
LatexName cauthor
Category FrontMatter
InTitle 1
NextNoIndent 1
Argument 1
LabelString "Affiliation Key"
Tooltip "Affiliation key of the author"
2020-11-27 01:49:48 +00:00
# DocBookTag othername
EndArgument
Argument 2
Mandatory 1
LabelString "Forename"
Tooltip "Forename"
2020-11-27 01:49:48 +00:00
# DocBookTag firstname
EndArgument
Argument 3
Mandatory 1
LabelString "Surname"
Tooltip "Surname"
2020-11-27 01:49:48 +00:00
# DocBookTag surname
EndArgument
Argument 4
Mandatory 1
LabelString "Email"
Tooltip "Email"
Font
Shape Italic
EndFont
2020-11-27 01:49:48 +00:00
# DocBookTag email
EndArgument
BottomSep 0.5
ParSkip 0.4
Align Center
LabelType No_Label
2020-11-27 01:49:48 +00:00
DocBookTag personname
DocBookTagType paragraph
DocBookWrapperTag author
DocBookWrapperTagType inline
DocBookInInfo always
# TODO: a lot of information is available, but the email would be output in the <personname> tag, and that does not make sense. The two first arguments should be grouped in <personname>, the rest must live outside <personname>.
End
Style "Co Author"
CopyStyle "Main Author"
LatexName author
LabelString "Co-author"
ResetArgs 1
Argument 1
LabelString "Affiliation Key"
Tooltip "Affiliation key of the co-author"
EndArgument
Argument 2
Mandatory 1
LabelString "Forename"
Tooltip "Forename"
EndArgument
End
Style "Short Author"
CopyStyle "Co Author"
LatexName shortauthor
LabelString "Short author:"
ResetArgs 1
LabelType Static
Align Block
Margin Dynamic
LabelSep xx
LabelFont
Series Bold
Color textlabel2
EndFont
2020-11-27 01:49:48 +00:00
DocBookInInfo always
DocBookTag authorinitials
DocBookWrapperTag NONE
End
Style Affiliation
CopyStyle "Short Author"
LatexName aff
Category FrontMatter
LabelString "Affiliation:"
Argument 1
LabelString "Affiliation Key"
Tooltip "Affiliation key"
EndArgument
Font
Shape Italic
EndFont
LabelFont
Series Bold
Color textlabel2
Shape Up
EndFont
End
Style Keyword
CopyStyle "Short Author"
LatexName keyword
LabelString "Keyword:"
2020-11-27 01:49:48 +00:00
DocBookTag keyword
DocBookTagType paragraph
DocBookWrapperTag keywordset
DocBookInInfo always
End
Style Vita
CopyStyle "Short Author"
LatexName vita
LabelString "Vita:"
End
Style "PDB reference"
CopyStyle "Short Author"
LatexName PDBreference
LabelString "PDB reference:"
Argument 1
LabelString "Name"
Tooltip "Optional name"
EndArgument
End
Style "NDB reference"
CopyStyle "PDB reference"
LatexName NDBreference
LabelString "NDB reference:"
End
Style Synopsis
CopyStyle Abstract
LatexName synopsis
LabelString "Synopsis"
Align Left
AlignPossible Left
2020-11-27 01:49:48 +00:00
DocBookAttr role='synopsis'
End
Style Acknowledgments
CopyStyle "Short Author"
LatexName ack
InTitle 0
LabelString "Acknowledgments:"
Category BackMatter
TopSep 0.7
DocBookTag para
DocBookWrapperTag acknowledgements
End
Style References
Margin Static
Category BackMatter
LatexType Item_Environment
LatexName references
ItemCommand reference
2015-06-01 18:14:58 +00:00
LabelType Centered
LabelString "References"
LabelFont
Size larger
Series bold
EndFont
ParagraphGroup 1
NextNoIndent 1
TopSep 0.7
BottomSep 0.7
Argument listpreamble:1
LabelString "List preamble"
MenuString "List Preamble"
Tooltip "LaTeX code to be inserted before the first item"
PassThru 1
Font
Family typewriter
Color latex
EndFont
EndArgument
Argument item:1
LabelString "Reference"
Mandatory 1
AutoInsert 1
2020-11-27 01:49:48 +00:00
DocBookTag bibliomixed
EndArgument
Align Left
2020-11-27 01:49:48 +00:00
DocBookTag bibliography
End