mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-28 20:45:47 +00:00
6b49b6b129
This makes the defaults of Inset::inheritFont() and Inset::resetFontEdit() compatible. There is no user visible change except for the Chunk inset which does not produce invalid LaTeX after editing operations anymore. This is the safe version for 2.1.0, for later there are still open questions: - All insets with ResetsFont true should be audited: Is this really needed, or do they show similar editing problems as the Chunk inset? - Does inheritFont() need to be customizable in the layout file as well? - Is resetFontEdit() != !inheritFont() needed at all? I did not use change tracking for the docs, since I updated all existing translations.
468 lines
7.3 KiB
Plaintext
468 lines
7.3 KiB
Plaintext
#% Do not delete the line below; configure depends on this
|
|
# \DeclareLaTeXClass[ws-ijmpc,amsmath.sty,amssymb.sty,rotating.sty]{Int. Journal of Modern Physics C}
|
|
# \DeclareCategory{Articles}
|
|
#
|
|
# Textclass definition file for ws-ijmpc.cls
|
|
# For publications in the International Journal of Modern Physics C
|
|
# (usually abbreviated as IJMPC).
|
|
#
|
|
# Author: Panayotis "PAP" Papasotiriou <papasot@physics.upatras.gr>
|
|
#
|
|
# revised for ws-ijmpc.tex : 8-1-08
|
|
# Author: Uwe Stöhr (uwestoehr@web.de)
|
|
|
|
|
|
Format 49
|
|
|
|
Sides 1
|
|
Columns 1
|
|
SecNumDepth 3
|
|
TocDepth 3
|
|
DefaultStyle Standard
|
|
|
|
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
|
|
Input stdlayouts.inc
|
|
Input lyxmacros.inc
|
|
|
|
ProvidesModule theorems-std
|
|
Input theorems-without-preamble.inc
|
|
NoStyle Fact
|
|
NoStyle Note
|
|
NoStyle Problem
|
|
NoStyle Solution
|
|
NoStyle Prob
|
|
NoStyle Sol
|
|
NoStyle Exercise
|
|
NoStyle Example
|
|
NoStyle Definition
|
|
NoStyle Case
|
|
NoStyle Property
|
|
|
|
NoStyle Chapter
|
|
NoCounter chapter
|
|
NoStyle Chapter*
|
|
NoStyle Part
|
|
NoCounter part
|
|
NoStyle Verse
|
|
|
|
|
|
Style MarkBoth
|
|
LaTeXType Command
|
|
LaTeXName markboth
|
|
Category FrontMatter
|
|
InTitle 1
|
|
Align Center
|
|
Argument 1
|
|
Mandatory 1
|
|
AutoInsert 1
|
|
LabelString "Author Names"
|
|
Tooltip "Author names that will appear in the header line"
|
|
EndArgument
|
|
Font
|
|
Size Small
|
|
EndFont
|
|
Preamble
|
|
% protect \markboth against an old bug reintroduced in babel >= 3.8g
|
|
\let\oldforeign@language\foreign@language
|
|
\DeclareRobustCommand{\foreign@language}[1]{%
|
|
\lowercase{\oldforeign@language{#1}}}
|
|
EndPreamble
|
|
End
|
|
|
|
Style Catchline
|
|
Margin Dynamic
|
|
LatexType Command
|
|
LatexName catchline{}{}{}{}
|
|
LabelString "Catchline"
|
|
Category FrontMatter
|
|
KeepEmpty 1
|
|
ParSkip 0.4
|
|
InTitle 1
|
|
Align Block
|
|
LabelSep xx
|
|
LabelType Static
|
|
LabelString "Catchline"
|
|
LabelFont
|
|
Series Bold
|
|
Color Green
|
|
EndFont
|
|
End
|
|
|
|
Style Title
|
|
Margin Static
|
|
LatexType Command
|
|
LatexName title
|
|
Category FrontMatter
|
|
InTitle 1
|
|
ResetArgs 1
|
|
ParSkip 0.4
|
|
ItemSep 0
|
|
TopSep 0
|
|
BottomSep 1
|
|
ParSep 1
|
|
Align Center
|
|
LabelType No_Label
|
|
Font
|
|
Size Largest
|
|
EndFont
|
|
End
|
|
|
|
Style Author
|
|
Margin Static
|
|
LatexType Command
|
|
Category FrontMatter
|
|
InTitle 1
|
|
LatexName author
|
|
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
|
|
LatexType Command
|
|
InTitle 1
|
|
LatexName address
|
|
ParSkip 0.4
|
|
BottomSep 0.4
|
|
Align Center
|
|
LabelType No_Label
|
|
Font
|
|
Series Medium
|
|
Shape Italic
|
|
Size Normal
|
|
EndFont
|
|
End
|
|
|
|
Style History
|
|
Margin First_Dynamic
|
|
LatexType Environment
|
|
LatexName history
|
|
Category FrontMatter
|
|
TopSep 0.7
|
|
BottomSep 0.7
|
|
ParSkip 0.4
|
|
Align Center
|
|
Font
|
|
Size Small
|
|
EndFont
|
|
End
|
|
|
|
InsetLayout Flex:Received
|
|
LyxType custom
|
|
LatexType command
|
|
LatexName received
|
|
LabelString "Received"
|
|
Font
|
|
Size Small
|
|
Misc No_Emph
|
|
Misc No_Noun
|
|
Misc No_Bar
|
|
EndFont
|
|
LabelFont
|
|
Color green
|
|
Size Small
|
|
EndFont
|
|
ResetsFont true
|
|
End
|
|
|
|
InsetLayout Flex:Revised
|
|
LyxType custom
|
|
LatexType command
|
|
LatexName revised
|
|
LabelString "Revised"
|
|
Font
|
|
Size Small
|
|
Misc No_Emph
|
|
Misc No_Noun
|
|
Misc No_Bar
|
|
EndFont
|
|
LabelFont
|
|
Color green
|
|
Size Small
|
|
EndFont
|
|
ResetsFont true
|
|
End
|
|
|
|
Style Abstract
|
|
Margin First_Dynamic
|
|
LatexType Environment
|
|
LatexName abstract
|
|
Category FrontMatter
|
|
TopSep 0.7
|
|
BottomSep 0.7
|
|
ParSkip 0.4
|
|
Font
|
|
Size Small
|
|
EndFont
|
|
End
|
|
|
|
InsetLayout Flex:Keywords
|
|
LyxType custom
|
|
LatexType command
|
|
LatexName keywords
|
|
LabelString "Keywords"
|
|
Font
|
|
Size Small
|
|
Misc No_Emph
|
|
Misc No_Noun
|
|
Misc No_Bar
|
|
EndFont
|
|
LabelFont
|
|
Color green
|
|
Size Small
|
|
EndFont
|
|
ResetsFont true
|
|
End
|
|
|
|
Style Classification_Codes
|
|
CopyStyle Abstract
|
|
LatexType Command
|
|
LatexName ccode
|
|
Margin Static
|
|
End
|
|
|
|
InsetLayout Flex:TableCaption
|
|
LyxType custom
|
|
LatexType command
|
|
LatexName tbl
|
|
LabelString "Table caption"
|
|
Font
|
|
Size Small
|
|
Misc No_Emph
|
|
Misc No_Noun
|
|
Misc No_Bar
|
|
EndFont
|
|
LabelFont
|
|
Color green
|
|
Size Small
|
|
EndFont
|
|
ResetsFont true
|
|
End
|
|
|
|
InsetLayout Flex:Refcite
|
|
LyxType custom
|
|
LatexType command
|
|
LatexName refcite
|
|
LabelString "Cite reference"
|
|
Font
|
|
Size Small
|
|
Misc No_Emph
|
|
Misc No_Noun
|
|
Misc No_Bar
|
|
EndFont
|
|
LabelFont
|
|
Color green
|
|
Size Small
|
|
EndFont
|
|
ResetsFont true
|
|
End
|
|
|
|
Style ItemList
|
|
Category List
|
|
Margin Static
|
|
LatexType Item_Environment
|
|
LatexName itemlist
|
|
NextNoIndent 1
|
|
LeftMargin MMN
|
|
LabelSep xx
|
|
ItemSep 0.2
|
|
TopSep 0.7
|
|
BottomSep 0.7
|
|
ParSep 0.3
|
|
Align Block
|
|
AlignPossible Block, Left
|
|
LabelType Itemize
|
|
HTMLTag ul
|
|
HTMLItem li
|
|
HTMLLabel NONE
|
|
End
|
|
|
|
Style RomanList
|
|
Category List
|
|
Margin Static
|
|
LatexType Item_Environment
|
|
LatexName romanlist
|
|
Argument 1
|
|
LabelString "Numbering Scheme"
|
|
Tooltip "Use the largest item number in your list, e.g. '(iv)' for 4 Roman numbered items"
|
|
EndArgument
|
|
NextNoIndent 1
|
|
LeftMargin MMN
|
|
LabelSep xx
|
|
ParSkip 0.0
|
|
ItemSep 0.2
|
|
TopSep 0.7
|
|
BottomSep 0.7
|
|
ParSep 0.3
|
|
Align Block
|
|
AlignPossible Block, Left
|
|
LabelType Enumerate
|
|
LabelCounter "enum"
|
|
HTMLTag ol
|
|
HTMLItem li
|
|
HTMLLabel NONE
|
|
RefPrefix enu
|
|
End
|
|
|
|
Style Proof
|
|
LatexType Environment
|
|
LatexName proof
|
|
Category Reasoning
|
|
Margin First_Dynamic
|
|
TopSep 0.6
|
|
BottomSep 0.6
|
|
Align Block
|
|
LabelType Static
|
|
LabelString "Proof:"
|
|
LabelSep M
|
|
LabelFont
|
|
Series Bold
|
|
EndFont
|
|
LabelFont
|
|
Series Bold
|
|
EndFont
|
|
EndLabelType Box
|
|
End
|
|
|
|
Style Theorem
|
|
ResetArgs 1
|
|
LabelString "Theorem \thetheorem."
|
|
#Font
|
|
#Shape Up
|
|
#EndFont
|
|
#LabelFont
|
|
#Series Bold
|
|
#EndFont
|
|
End
|
|
|
|
Style Remark
|
|
LabelString "Remark \theremark."
|
|
LabelFont
|
|
Series Bold
|
|
Shape Up
|
|
EndFont
|
|
End
|
|
|
|
Style Corollary
|
|
LabelString "Corollary \thecorollary."
|
|
End
|
|
|
|
Style Lemma
|
|
LabelString "Lemma \thelemma."
|
|
End
|
|
|
|
Style Proposition
|
|
LabelString "Proposition \theproposition."
|
|
End
|
|
|
|
Style Question
|
|
LabelString "Question \thequestion."
|
|
LabelFont
|
|
Series Bold
|
|
Shape Up
|
|
EndFont
|
|
End
|
|
|
|
Counter claim
|
|
Within section
|
|
End
|
|
Style Claim
|
|
LabelCounter claim
|
|
LabelString "Claim \theclaim."
|
|
Font
|
|
Shape Italic
|
|
EndFont
|
|
LabelFont
|
|
Series Bold
|
|
Shape Up
|
|
EndFont
|
|
End
|
|
|
|
Style Conjecture
|
|
LabelString "Conjecture \theconjecture."
|
|
Font
|
|
Shape Italic
|
|
EndFont
|
|
LabelFont
|
|
Series Bold
|
|
Shape Up
|
|
EndFont
|
|
End
|
|
|
|
Style Prop
|
|
LabelFont
|
|
Series Bold
|
|
EndFont
|
|
End
|
|
|
|
Counter appendix
|
|
End
|
|
Style Appendix
|
|
LatexType Command
|
|
LatexName section
|
|
Category BackMatter
|
|
TopSep 0.6
|
|
BottomSep 0.6
|
|
Margin First_Dynamic
|
|
Align Block
|
|
NextNoIndent 1
|
|
LabelType Static
|
|
LabelCounter appendix
|
|
LabelString "Appendix \Alph{appendix}."
|
|
LabelSep M
|
|
LabelFont
|
|
Series Bold
|
|
Shape Up
|
|
Size Normal
|
|
EndFont
|
|
Font
|
|
Series Bold
|
|
EndFont
|
|
End
|
|
|
|
Style Bibliography
|
|
Margin First_Dynamic
|
|
LatexType Bib_Environment
|
|
LatexName thebibliography
|
|
Category BackMatter
|
|
NextNoIndent 1
|
|
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
|