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

View File

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