- svcommon.inc: whitespace and some simplifications

- svmono.layout: add required styles and a bugfix

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39173 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2011-06-21 04:11:01 +00:00
parent 79078e2811
commit 3c94f8e070
2 changed files with 243 additions and 263 deletions

View File

@ -477,7 +477,7 @@ End
Style Foreword
Margin First_Dynamic
Category Unnumbered
Category FrontMatter
LabelType Static
LabelString "Foreword"
KeepEmpty 1
@ -499,19 +499,10 @@ Style Foreword
HTMLTag h1
End
# Future implementation of the Style "Preface" (not fully backward compatible)
#
# Style Preface
# CopyStyle Foreword
# LabelString "Preface"
# LatexName preface
# End
# Current implementation of the Style Preface for backwards compatibility
Style Preface
CopyStyle Title
Category "For editors"
LatexName svmultpreface
CopyStyle Foreword
Category "For Authors"
LatexName preface
KeepEmpty 1
OptionalArgs 0
InTitle 0
@ -519,17 +510,11 @@ Style Preface
TopSep 4
BottomSep 0.8
LabelType Static
LabelString "Preface:"
LabelString "Preface"
LabelSep xx
Align Left
Preamble
\newcommand{\svmultpreface}[1]{\ifthenelse{\equal{#1}{}}{\preface}{\preface[#1]}}
EndPreamble
Requires ifthen
End
Style Acknowledgement
Category BackMatter
Margin First_Dynamic
@ -584,6 +569,7 @@ Style Bibliography
End
Style Description
OptionalArgs 1
LabelFont
Series Medium
EndFont
@ -643,12 +629,6 @@ Style Proof(smartQED)
EndPreamble
End
Style Description
OptionalArgs 1
End
InsetLayout Flex:Email
Decoration Conglomerate
LyxType custom
@ -671,7 +651,6 @@ InsetLayout Flex:Email
EndFont
End
InsetLayout Flex:and
ContentAsLabel 1
CustomPars 0

View File

@ -1,11 +1,11 @@
#% Do not delete the line below; configure depends on this
# \DeclareLaTeXClass[svmono,natbib.sty]{book (Springer svmono)}
# \DeclareLaTeXClass[svmono,footmisc.sty,multicol.sty,natbib.sty,type1cm.sty]{book (Springer svmono)}
# Author: Koji Yokota <yokota@res.otaru-uc.ac.jp>
# adapted: Marcus Kriele <mkriele@mac.com> (April 2011)
#
# Supports: SVMONO DOCUMENT CLASS -- version 5.5 (17-Dec-09)
# Class and style files and templates are found at:
# http://www.springer.com/authors
# http://wiki.lyx.org/Examples/Springer
#
Format 35
Input svcommon.inc
@ -21,6 +21,7 @@ NoStyle Institute
Style Running_Chapter
CopyStyle Running_Title
Category Section
InTitle 0
LatexName chaptermark
LeftMargin "Running Chapter:xxx"
LabelString "Running Chapter:"