2015-05-27 22:44:30 +00:00
#% Do not delete the line below; configure depends on this
2018-07-07 14:08:48 +00:00
# \DeclareLaTeXClass[iucr,float.sty,harvard.sty,html.sty,multicol.sty,tabularx.sty]{International Union of Crystallography (IUCr)}
2015-05-27 22:44:30 +00:00
# \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/
2020-10-25 15:43:32 +00:00
Format 85
2015-05-27 22:44:30 +00:00
Columns 1
Sides 1
SecNumDepth 3
TocDepth 3
2018-08-17 08:22:32 +00:00
DefaultStyle Standard
2015-05-27 22:44:30 +00:00
ClassOptions
FontSize 10
end
Style Standard
Category MainText
Margin Static
LatexType Paragraph
LatexName dummy
ParIndent MM
ParSkip 0.4
Align Block
2018-08-17 08:22:32 +00:00
AlignPossible Block, Left, Right, Center
2015-05-27 22:44:30 +00:00
LabelType No_Label
2020-11-27 01:49:48 +00:00
DocBookTag para
2015-05-27 22:44:30 +00:00
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
2018-08-17 08:22:32 +00:00
LabelString \thesection.
2015-05-27 22:44:30 +00:00
LabelStringAppendix \thesection
2018-08-17 08:22:32 +00:00
Align Center
2015-05-27 22:44:30 +00:00
End
Style Subsection
2018-08-17 08:22:32 +00:00
LabelString \thesubsection.
2015-05-27 22:44:30 +00:00
Font
2018-08-17 08:22:32 +00:00
Shape Italic
Size Normal
2015-05-27 22:44:30 +00:00
EndFont
End
Style Subsubsection
2018-08-17 08:22:32 +00:00
LabelString \thesubsubsection.
2015-05-27 22:44:30 +00:00
Font
2018-08-17 08:22:32 +00:00
Shape Italic
2015-05-27 22:44:30 +00:00
EndFont
End
Style "Short Title"
CopyStyle Title
LatexName shorttitle
Font
Size Small
EndFont
2020-11-27 01:49:48 +00:00
DocBookTag titleabbrev
2015-05-27 22:44:30 +00:00
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 green
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
2018-08-17 08:22:32 +00:00
NextNoIndent 1
2015-05-27 22:44:30 +00:00
Argument 1
2018-08-17 08:22:32 +00:00
LabelString "Affiliation Key"
2015-05-27 22:44:30 +00:00
Tooltip "Affiliation key of the author"
2020-11-27 01:49:48 +00:00
# DocBookTag othername
2015-05-27 22:44:30 +00:00
EndArgument
Argument 2
Mandatory 1
2018-08-17 08:22:32 +00:00
LabelString "Forename"
2015-05-27 22:44:30 +00:00
Tooltip "Forename"
2020-11-27 01:49:48 +00:00
# DocBookTag firstname
2015-05-27 22:44:30 +00:00
EndArgument
Argument 3
Mandatory 1
2018-08-17 08:22:32 +00:00
LabelString "Surname"
2015-05-27 22:44:30 +00:00
Tooltip "Surname"
2020-11-27 01:49:48 +00:00
# DocBookTag surname
2015-05-27 22:44:30 +00:00
EndArgument
Argument 4
Mandatory 1
2018-08-17 08:22:32 +00:00
LabelString "Email"
2015-05-27 22:44:30 +00:00
Tooltip "Email"
Font
Shape Italic
EndFont
2020-11-27 01:49:48 +00:00
# DocBookTag email
2015-05-27 22:44:30 +00:00
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>.
2015-05-27 22:44:30 +00:00
End
Style "Co Author"
CopyStyle "Main Author"
LatexName author
LabelString "Co-author"
ResetArgs 1
Argument 1
2018-08-17 08:22:32 +00:00
LabelString "Affiliation Key"
2015-05-27 22:44:30 +00:00
Tooltip "Affiliation key of the co-author"
EndArgument
Argument 2
Mandatory 1
2018-08-17 08:22:32 +00:00
LabelString "Forename"
2015-05-27 22:44:30 +00:00
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 Green
EndFont
2020-11-27 01:49:48 +00:00
DocBookInInfo always
DocBookTag authorinitials
DocBookWrapperTag NONE
2015-05-27 22:44:30 +00:00
End
Style Affiliation
CopyStyle "Short Author"
LatexName aff
Category FrontMatter
LabelString "Affiliation:"
Argument 1
2018-08-17 08:22:32 +00:00
LabelString "Affiliation Key"
2015-05-27 22:44:30 +00:00
Tooltip "Affiliation key"
EndArgument
Font
Shape Italic
EndFont
LabelFont
Series Bold
Color Green
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
2015-05-27 22:44:30 +00:00
End
Style Vita
CopyStyle "Short Author"
LatexName vita
LabelString "Vita:"
End
Style "PDB reference"
CopyStyle "Short Author"
LatexName PDBreference
LabelString "PDB reference:"
Argument 1
2018-08-17 08:22:32 +00:00
LabelString "Name"
2015-05-27 22:44:30 +00:00
Tooltip "Optional name"
EndArgument
End
Style "NDB reference"
CopyStyle "PDB reference"
LatexName NDBreference
LabelString "NDB reference:"
End
Style Synopsis
CopyStyle Abstract
LatexName synopsis
2018-08-17 08:22:32 +00:00
LabelString "Synopsis"
2015-05-27 22:44:30 +00:00
Align Left
2018-08-17 08:22:32 +00:00
AlignPossible Left
2020-11-27 01:49:48 +00:00
DocBookAttr role='synopsis'
2015-05-27 22:44:30 +00:00
End
Style Acknowledgements
CopyStyle "Short Author"
LatexName ack
2015-05-29 22:53:43 +00:00
InTitle 0
2018-08-17 08:22:32 +00:00
LabelString "Acknowledgements:"
2015-05-27 22:44:30 +00:00
Category BackMatter
TopSep 0.7
2020-11-27 01:49:48 +00:00
DocBookTag para
DocBookWrapperTag acknowledgements
2015-05-27 22:44:30 +00:00
End
2015-05-29 22:53:43 +00:00
Style References
2015-06-01 14:13:10 +00:00
Margin Static
2015-05-27 22:44:30 +00:00
Category BackMatter
2015-06-01 14:13:10 +00:00
LatexType Item_Environment
2015-05-29 22:53:43 +00:00
LatexName references
2018-08-17 08:22:32 +00:00
ItemCommand reference
2015-06-01 18:14:58 +00:00
LabelType Centered
2018-08-17 08:22:32 +00:00
LabelString "References"
2015-06-01 14:13:10 +00:00
LabelFont
Size larger
Series bold
EndFont
2018-08-17 08:22:32 +00:00
ParagraphGroup 1
NextNoIndent 1
2015-06-01 14:13:10 +00:00
TopSep 0.7
BottomSep 0.7
2018-08-17 08:22:32 +00:00
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
2015-05-29 22:53:43 +00:00
Argument item:1
2018-08-17 08:22:32 +00:00
LabelString "Reference"
Mandatory 1
AutoInsert 1
2020-11-27 01:49:48 +00:00
DocBookTag bibliomixed
2015-05-29 22:53:43 +00:00
EndArgument
2015-05-27 22:44:30 +00:00
Align Left
2020-11-27 01:49:48 +00:00
DocBookTag bibliography
2015-05-27 22:44:30 +00:00
End