mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-24 10:40:48 +00:00
8d247e2407
Rather than including the file, just cut and paste it so that we can mark the new layouts as "ForceLocal".
397 lines
6.5 KiB
Plaintext
397 lines
6.5 KiB
Plaintext
#% Do not delete the line below; configure depends on this
|
|
# \DeclareLaTeXClass[iopart,amsmath.sty,amssymb.sty,iopams.sty,setstack.sty]{Institute of Physics (IOP)}
|
|
# \DeclareCategory{Articles}
|
|
# IOP article textclass definition file.
|
|
# Author: Uwe Stöhr (uwestoehr@web.de)
|
|
|
|
Format 60
|
|
|
|
Columns 1
|
|
Sides 1
|
|
SecNumDepth 3
|
|
TocDepth 3
|
|
DefaultStyle Standard
|
|
|
|
ClassOptions
|
|
FontSize 10|12
|
|
end
|
|
|
|
Preamble
|
|
\usepackage{iopams}
|
|
\usepackage{setstack}
|
|
EndPreamble
|
|
|
|
# This is just to show how to declare the default font.
|
|
# The defaults are exactly those shown here.
|
|
DefaultFont
|
|
Family Roman
|
|
Series Medium
|
|
Shape Up
|
|
Size Normal
|
|
Color None
|
|
EndFont
|
|
|
|
|
|
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
|
|
End
|
|
|
|
|
|
Input stdcounters.inc
|
|
Input stdfloats.inc
|
|
Input stdlists.inc
|
|
Input stdsections.inc
|
|
Input stdstarsections.inc
|
|
|
|
NoStyle Chapter
|
|
NoCounter chapter
|
|
NoStyle Chapter*
|
|
|
|
Style Title
|
|
Margin Static
|
|
LatexType Command
|
|
LatexName title
|
|
Category FrontMatter
|
|
InTitle 1
|
|
Argument 1
|
|
LabelString "Short Title|S"
|
|
Tooltip "Short title that will appear in header line"
|
|
InsertCotext 1
|
|
EndArgument
|
|
ParSkip 0.4
|
|
ItemSep 0
|
|
TopSep 0
|
|
BottomSep 1
|
|
ParSep 1
|
|
Align Center
|
|
LabelType No_Label
|
|
Font
|
|
Size Largest
|
|
EndFont
|
|
HTMLTitle true
|
|
End
|
|
|
|
|
|
Style Review
|
|
CopyStyle Title
|
|
LatexName review
|
|
End
|
|
|
|
|
|
Style Topical
|
|
CopyStyle Title
|
|
LatexName topical
|
|
End
|
|
|
|
|
|
Style Comment
|
|
CopyStyle Title
|
|
LatexName comment
|
|
End
|
|
|
|
|
|
Style Note
|
|
CopyStyle Title
|
|
LatexName note
|
|
End
|
|
|
|
|
|
Style Paper
|
|
CopyStyle Title
|
|
LatexName paper
|
|
End
|
|
|
|
|
|
Style Prelim
|
|
CopyStyle Title
|
|
LatexName prelim
|
|
End
|
|
|
|
|
|
Style Rapid
|
|
CopyStyle Title
|
|
LatexName rapid
|
|
End
|
|
|
|
|
|
Style Letter
|
|
CopyStyle Title
|
|
ResetArgs 1
|
|
LatexName letter
|
|
End
|
|
|
|
|
|
Style Author
|
|
Margin Static
|
|
LatexType Command
|
|
LatexName author
|
|
Category FrontMatter
|
|
InTitle 1
|
|
LabelSep xxx
|
|
ParSkip 0.4
|
|
TopSep 1.3
|
|
BottomSep 0.7
|
|
ParSep 0.7
|
|
Align Center
|
|
LabelType No_Label
|
|
Font
|
|
Size Large
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Address
|
|
Margin Static
|
|
LatexType Command
|
|
LatexName address
|
|
Category FrontMatter
|
|
InTitle 1
|
|
ParSkip 0.4
|
|
Align Center
|
|
LabelType No_Label
|
|
Font
|
|
Shape Italic
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Email
|
|
CopyStyle Address
|
|
LatexName ead
|
|
BottomSep 0.5
|
|
Font
|
|
Shape Up
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Abstract
|
|
Margin Static
|
|
LatexType Environment
|
|
LatexName abstract
|
|
Category FrontMatter
|
|
InTitle 1
|
|
NextNoIndent 1
|
|
LeftMargin MMM
|
|
RightMargin MMM
|
|
ParIndent MM
|
|
ItemSep 0
|
|
TopSep 0.7
|
|
BottomSep 0.7
|
|
ParSep 0
|
|
Align Block
|
|
AlignPossible Block, Left, Center, Right
|
|
LabelType Above
|
|
LabelString "Abstract"
|
|
LabelBottomSep 0.5
|
|
Font
|
|
Size Small
|
|
EndFont
|
|
LabelFont
|
|
Series Bold
|
|
Size Large
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Keywords
|
|
Margin Dynamic
|
|
LatexType Command
|
|
LatexName "noindent{\it Keywords\/}: "
|
|
Category FrontMatter
|
|
InTitle 1
|
|
ParSkip 0.4
|
|
BottomSep 0.5
|
|
Align Left
|
|
LabelSep xx
|
|
LabelType Static
|
|
LabelString "Keywords:"
|
|
LabelFont
|
|
Color Green
|
|
Series Bold
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style PACS
|
|
CopyStyle Keywords
|
|
LatexName pacs
|
|
LabelString "Physics and Astronomy Classification System number:"
|
|
End
|
|
|
|
|
|
Style MSC
|
|
CopyStyle Keywords
|
|
LatexName ams
|
|
LabelString "Mathematics Subject Classification number:"
|
|
End
|
|
|
|
|
|
Style submitto
|
|
CopyStyle Keywords
|
|
LatexName submitto
|
|
LabelString "submit to paper:"
|
|
End
|
|
|
|
|
|
Style Acknowledgments
|
|
Margin Dynamic
|
|
LatexType Command
|
|
LatexName ack{}
|
|
Category BackMatter
|
|
NeedProtect 1
|
|
NextNoIndent 1
|
|
KeepEmpty 1
|
|
LabelSep xxx
|
|
ParSkip 0.4
|
|
TopSep 0.7
|
|
BottomSep 0.4
|
|
Align Block
|
|
LabelType Static
|
|
LabelString "Acknowledgments"
|
|
Font
|
|
Series Bold
|
|
Size Normal
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style "Bibliography (plain)"
|
|
Margin First_Dynamic
|
|
LatexType Bib_Environment
|
|
LatexName thebibliography
|
|
Category BackMatter
|
|
NextNoIndent 1
|
|
ToggleIndent Never
|
|
LeftMargin MM
|
|
ParSkip 0.4
|
|
ItemSep 0
|
|
TopSep 0.7
|
|
BottomSep 0.7
|
|
ParSep 0.5
|
|
Align Block
|
|
AlignPossible Block, Left
|
|
LabelType Bibliography
|
|
LabelString "References"
|
|
LabelBottomSep 1.2
|
|
LabelFont
|
|
Series Bold
|
|
Size Larger
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style "Bibliography heading"
|
|
CopyStyle Section
|
|
LatexName section*{References}
|
|
Category BackMatter
|
|
KeepEmpty 1
|
|
LabelType Static
|
|
LabelString "References"
|
|
End
|
|
|
|
Style Quotation
|
|
Category MainText
|
|
Margin Static
|
|
LatexType Environment
|
|
LatexName quotation
|
|
NextNoIndent 1
|
|
ToggleIndent Always
|
|
LeftMargin MMM
|
|
RightMargin MMM
|
|
ParIndent MM
|
|
ParSkip 0
|
|
ItemSep 0
|
|
TopSep 0.5
|
|
BottomSep 0.5
|
|
ParSep 0
|
|
Align Block
|
|
AlignPossible Block, Left, Right, Center
|
|
HTMLTag blockquote
|
|
HTMLItem div
|
|
ForceLocal 1
|
|
End
|
|
|
|
|
|
Style Quote
|
|
Category MainText
|
|
Margin Static
|
|
LatexType Environment
|
|
LatexName quote
|
|
NextNoIndent 1
|
|
ToggleIndent Never
|
|
LeftMargin MMM
|
|
RightMargin MMM
|
|
TopSep 0.5
|
|
ParSep 0.5
|
|
BottomSep 0.5
|
|
Align Block
|
|
AlignPossible Block, Left, Right, Center
|
|
LabelType No_Label
|
|
HTMLTag blockquote
|
|
HTMLItem div
|
|
ForceLocal 1
|
|
End
|
|
|
|
|
|
Style Verse
|
|
# LaTeX type is first dynamic because of LaTeX implementation.
|
|
# In LyX this does not make sense.
|
|
Category MainText
|
|
LatexType Environment
|
|
LatexName verse
|
|
Margin First_Dynamic
|
|
NextNoIndent 1
|
|
LeftMargin MMMM
|
|
LabelIndent MMMM
|
|
ParSkip 0.4
|
|
TopSep 0.7
|
|
BottomSep 0.7
|
|
ParSep 0.5
|
|
Align Block
|
|
AlignPossible Block, Left
|
|
LabelType No_Label
|
|
HTMLTag blockquote
|
|
HTMLItem p
|
|
ForceLocal 1
|
|
End
|
|
|
|
|
|
Style Verbatim
|
|
Category MainText
|
|
LatexType Environment
|
|
LatexName verbatim
|
|
NextNoIndent 1
|
|
ParbreakIsNewline 1
|
|
FreeSpacing 1
|
|
PassThru 1
|
|
KeepEmpty 1
|
|
NewLine 0
|
|
TopSep 0.7
|
|
BottomSep 0.7
|
|
Align Block
|
|
AlignPossible Block
|
|
LabelType No_Label
|
|
Font
|
|
Family Typewriter
|
|
EndFont
|
|
HTMLTag <pre></pre>
|
|
HTMLItem p
|
|
ForceLocal 1
|
|
End
|
|
|
|
|
|
Style Verbatim*
|
|
CopyStyle Verbatim
|
|
LatexName verbatim*
|
|
ForceLocal 1
|
|
End
|