mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-15 01:41:43 +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.
159 lines
2.4 KiB
Plaintext
159 lines
2.4 KiB
Plaintext
#% Do not delete the line below; configure depends on this
|
|
# \DeclareLaTeXClass[svmult,natbib.sty]{Springer SV Mult}
|
|
# \DeclareCategory{Books}
|
|
# Author: Koji Yokota <yokota@res.otaru-uc.ac.jp>
|
|
# adapted: Marcus Kriele <mkriele@mac.com> and Uwe Stöhr (April 2011)
|
|
#
|
|
# Supports: SVMULT DOCUMENT CLASS -- version 5.4 (25-Jun-07)
|
|
# Class and style files and templates are found at:
|
|
# http://wiki.lyx.org/Examples/Springer
|
|
#
|
|
Format 49
|
|
|
|
Input svcommon.inc
|
|
|
|
ClassOptions
|
|
FontSize ""
|
|
End
|
|
|
|
NoStyle Acknowledgements
|
|
|
|
# Additional headings
|
|
|
|
#Style MiniTOC
|
|
# CopyStyle Running_Title
|
|
# LatexType Command
|
|
# LatexName svmulttoc
|
|
# LeftMargin "TOC depth (provide a number):xxx"
|
|
# LabelString "TOC depth (provide a number):"
|
|
# Preamble
|
|
# \newcommand{\svmulttoc}[1]{\setcounter{minitocdepth}{#1}\dominitoc}
|
|
# EndPreamble
|
|
#End
|
|
|
|
Style Title*
|
|
CopyStyle Title
|
|
LatexName title*
|
|
LabelString "Title*: "
|
|
LabelSep "xxx"
|
|
LabelType Static
|
|
Margin First_Dynamic
|
|
HTMLTitle true
|
|
LabelFont
|
|
Color Blue
|
|
EndFont
|
|
End
|
|
|
|
Style Title
|
|
CopyStyle Chapter
|
|
Category FrontMatter
|
|
LatexName title
|
|
TopSep 1
|
|
TocLevel 1
|
|
InTitle 0
|
|
Align Left
|
|
AlignPossible Block, Center, Left, Right
|
|
LabelFont
|
|
Size Largest
|
|
Family Sans
|
|
EndFont
|
|
TextFont
|
|
Family Sans
|
|
Series Bold
|
|
EndFont
|
|
End
|
|
|
|
Style Contributors
|
|
CopyStyle Foreword
|
|
LabelString "List of Contributors"
|
|
LatexName contributors
|
|
End
|
|
|
|
Style Contributor_List
|
|
LatexType Environment
|
|
LatexName thecontriblist
|
|
TopSep 0.7
|
|
BottomSep 0.4
|
|
End
|
|
|
|
Style Author
|
|
Margin First_Dynamic
|
|
LabelType Static
|
|
LabelSep x
|
|
LabelString "Author:"
|
|
Font
|
|
Series Medium
|
|
Family Roman
|
|
Size Normal
|
|
Shape Up
|
|
EndFont
|
|
LabelFont
|
|
Family Typewriter
|
|
Color Blue
|
|
EndFont
|
|
End
|
|
|
|
Style Abstract
|
|
LatexType Command
|
|
LatexName abstract
|
|
Category FrontMatter
|
|
LabelString "Abstract"
|
|
End
|
|
|
|
Style Part
|
|
Category "For editors"
|
|
End
|
|
|
|
Style PartBacktext
|
|
Category "For editors"
|
|
End
|
|
|
|
Style Chapter
|
|
Category "For editors"
|
|
End
|
|
|
|
Style Running_Chapter
|
|
Category "For editors"
|
|
End
|
|
|
|
Style ChapAuthor
|
|
Category "For editors"
|
|
End
|
|
|
|
Style ChapSubtitle
|
|
Category "For editors"
|
|
End
|
|
|
|
Style extrachap
|
|
Category "For editors"
|
|
End
|
|
|
|
Style Extrachap
|
|
Category "For editors"
|
|
End
|
|
|
|
Style Dedication
|
|
Category "For editors"
|
|
End
|
|
|
|
Style Foreword
|
|
Category "For editors"
|
|
End
|
|
|
|
Style Preface
|
|
Category "For editors"
|
|
End
|
|
|
|
Style Acknowledgement
|
|
Category "For editors"
|
|
End
|
|
|
|
Style Contributors
|
|
Category "For editors"
|
|
End
|
|
|
|
Style ChapMotto
|
|
Category "For editors"
|
|
End
|
|
|