mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 03:36:39 +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.
167 lines
2.8 KiB
Plaintext
167 lines
2.8 KiB
Plaintext
#% Do not delete the line below; configure depends on this
|
|
# \DeclareLaTeXClass[svjour,svglobal.clo]{Springer SV Global (Obsolete Version)}
|
|
# \DeclareCategory{Articles}
|
|
# svjour/global (article) textclass definition file.
|
|
# for various Springer Verlag Journals for which no specific file exists (Global).
|
|
# --------
|
|
#
|
|
# Taken from initial LyX source code
|
|
# Author : Matthias Ettrich <ettrich@informatik.uni-tuebingen.de>
|
|
# Transposed by Pascal André <andre@via.ecp.fr>
|
|
# Heavily modified and enhanced by serveral developers.
|
|
#
|
|
# --------
|
|
# Adapted from svjour/jog by Cengiz Gunay in 2003.
|
|
# Revised by Marcus Kriele in April 2011
|
|
#
|
|
# General textclass parameters
|
|
# (global) ?
|
|
#
|
|
# see www.springer.de/author/tex/help-journals.html for class files
|
|
|
|
|
|
Format 49
|
|
Input svcommon.inc
|
|
|
|
NoStyle Front_Matter
|
|
NoStyle Main_Matter
|
|
NoStyle Back_Matter
|
|
NoStyle Part
|
|
NoStyle PartBacktext
|
|
NoCounter part
|
|
NoStyle Part*
|
|
NoStyle Chapter
|
|
NoStyle ChapAuthor
|
|
NoStyle ChapSubtitle
|
|
NoStyle ChapMotto
|
|
NoCounter chapter
|
|
NoStyle Chapter*
|
|
NoStyle Paragraph
|
|
NoStyle Paragraph*
|
|
NoStyle Run-in_headings
|
|
NoStyle Sub-run-in_headings
|
|
|
|
NoStyle Extrachap
|
|
NoStyle extrachap
|
|
NoStyle Preface
|
|
NoStyle Foreword
|
|
NoStyle Dedication
|
|
NoStyle Svgraybox
|
|
NoStyle Petit
|
|
NoStyle Prob
|
|
NoStyle Sol
|
|
NoStyle Abstract*
|
|
NoStyle TOC_Title
|
|
NoStyle TOC_Author
|
|
NoStyle Acknowledgements
|
|
|
|
NoStyle Keywords
|
|
|
|
|
|
ClassOptions
|
|
Other global
|
|
End
|
|
|
|
|
|
|
|
Style Headnote
|
|
Margin Static
|
|
LatexType Command
|
|
InTitle 1
|
|
LatexName headnote
|
|
NextNoIndent 1
|
|
LeftMargin "HeadNote (optional):xxx"
|
|
LabelSep xxx
|
|
ParSkip 0.4
|
|
TopSep 1.3
|
|
BottomSep 0.7
|
|
ParSep 0.7
|
|
Align Left
|
|
LabelType Static
|
|
LabelString "Headnote (optional):"
|
|
LabelFont
|
|
Series Bold
|
|
Shape Italic
|
|
Color Red
|
|
EndFont
|
|
End
|
|
|
|
|
|
InsetLayout Flex:thanks
|
|
Decoration Classic
|
|
LabelString "thanks"
|
|
LatexType Command
|
|
Latexname thanks
|
|
LyxType custom
|
|
Font
|
|
Size Small
|
|
Color Green
|
|
EndFont
|
|
ResetsFont true
|
|
End
|
|
|
|
InsetLayout Flex:Inst
|
|
CopyStyle Flex:thanks
|
|
ContentAsLabel 1
|
|
LabelString "Institute #"
|
|
LatexName inst
|
|
End
|
|
|
|
|
|
InsetLayout Flex:Keywords
|
|
CopyStyle Flex:Email
|
|
LatexName keywords
|
|
LabelString "Keywords"
|
|
LabelFont
|
|
Color green
|
|
Size Small
|
|
EndFont
|
|
End
|
|
|
|
|
|
|
|
Style Dedication
|
|
CopyStyle Headnote
|
|
LatexName dedication
|
|
LeftMargin Dedication:xxx
|
|
LabelString "Dedication:"
|
|
End
|
|
|
|
|
|
Style Mail
|
|
CopyStyle Headnote
|
|
LatexName mail
|
|
LeftMargin "Corr Author:xx."
|
|
LabelString "Corr Author:"
|
|
End
|
|
|
|
|
|
Style Offprints
|
|
CopyStyle Headnote
|
|
LatexName offprints
|
|
LeftMargin "Offprints:xx."
|
|
LabelString "Offprints:"
|
|
End
|
|
|
|
|
|
Style Abstract
|
|
Margin First_Dynamic
|
|
LatexType Command
|
|
LatexName abstract
|
|
Newline 1
|
|
NextNoIndent 0
|
|
ParIndent MM
|
|
LabelSep xx
|
|
ItemSep 0
|
|
TopSep 0.7
|
|
BottomSep 0.7
|
|
ParSep 0
|
|
Align Block
|
|
AlignPossible Block, Left
|
|
LabelType Above
|
|
LabelString "Abstract."
|
|
LabelFont
|
|
Series Bold
|
|
EndFont
|
|
End
|