- 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

@ -56,11 +56,11 @@ NoStyle Subparagraph*
Style Title Style Title
Align Left Align Left
AlignPossible Block, Center, Left, Right, Center AlignPossible Block, Center, Left, Right, Center
Font Font
Family Sans Family Sans
Series Bold Series Bold
EndFont EndFont
End End
@ -107,30 +107,30 @@ Style Back_Matter
End End
Style Part Style Part
Margin Static Margin Static
Align Right Align Right
End End
## The following is a variant of style Part. It allows to place some ## The following is a variant of style Part. It allows to place some
## text on the following page which would otherwise be blank. ## text on the following page which would otherwise be blank.
Style PartBacktext Style PartBacktext
Category Section Category Section
Margin First_Dynamic Margin First_Dynamic
LabelString "Part \thepart" LabelString "Part \thepart"
LabelType Counter LabelType Counter
TocLevel 0 TocLevel 0
LabelCounter part LabelCounter part
Labelsep xx Labelsep xx
NeedProtect 1 NeedProtect 1
ParIndent MM ParIndent MM
TopSep 4 TopSep 4
BottomSep 4 BottomSep 4
LaTexType Environment LaTexType Environment
LatexName svmultpartbacktext LatexName svmultpartbacktext
LabelFont LabelFont
Series Bold Series Bold
Size Huge Size Huge
EndLabelFont EndLabelFont
TextFont TextFont
Series Medium Series Medium
@ -142,195 +142,195 @@ Style PartBacktext
\newenvironment{svmultpartbacktext}[1]{\begin{partbacktext} \newenvironment{svmultpartbacktext}[1]{\begin{partbacktext}
\part{#1}}{\end{partbacktext}} \part{#1}}{\end{partbacktext}}
EndPreamble EndPreamble
HTMLTag h1 HTMLTag h1
End End
Style Chapter Style Chapter
Align Left Align Left
End End
Style ChapSubtitle Style ChapSubtitle
LatexName chapsubtitle LatexName chapsubtitle
LatexType Command LatexType Command
Category Section Category Section
TopSep 0.7 TopSep 0.7
Font Font
Series Bold Series Bold
Shape Up Shape Up
Size large Size large
EndFont EndFont
End End
Style ChapAuthor Style ChapAuthor
LatexName chapauthor LatexName chapauthor
LatexType Command LatexType Command
Category Section Category Section
TopSep 0.7 TopSep 0.7
Font Font
Series Bold Series Bold
Shape Up Shape Up
Size normal Size normal
EndFont EndFont
End End
Style ChapMotto Style ChapMotto
LatexName motto LatexName motto
LatexType Command LatexType Command
Category Section Category Section
TopSep 0.7 TopSep 0.7
BottomSep 0.7 BottomSep 0.7
Align Left Align Left
LeftMargin MMMMMMMMMMMM LeftMargin MMMMMMMMMMMM
Font Font
Series Medium Series Medium
Shape Italic Shape Italic
Size normal Size normal
EndFont EndFont
End End
Style Section Style Section
Font Font
Series Bold Series Bold
Shape Up Shape Up
Size large Size large
EndFont EndFont
TocLevel 1 TocLevel 1
End End
Style Subsection Style Subsection
Font Font
Series Bold Series Bold
Shape Italic Shape Italic
Size large Size large
EndFont EndFont
TocLevel 2 TocLevel 2
End End
Style Subsubsection Style Subsubsection
Font Font
Series Bold Series Bold
Shape Up Shape Up
Size Normal Size Normal
EndFont EndFont
TocLevel 3 TocLevel 3
End End
Style Paragraph Style Paragraph
Font Font
Series Medium Series Medium
Shape Up Shape Up
Size Normal Size Normal
EndFont EndFont
TopSep 0.7 TopSep 0.7
BottomSep 0.4 BottomSep 0.4
TocLevel 4 TocLevel 4
End End
Style Part* Style Part*
Margin Static Margin Static
Align Right Align Right
End End
Style Chapter* Style Chapter*
Align Left Align Left
End End
Style Section* Style Section*
Font Font
Series Bold Series Bold
Shape Up Shape Up
Size large Size large
EndFont EndFont
End End
Style Subsection* Style Subsection*
Font Font
Series Bold Series Bold
Shape Italic Shape Italic
Size large Size large
EndFont EndFont
End End
Style Subsubsection* Style Subsubsection*
Font Font
Series Bold Series Bold
Shape Up Shape Up
Size Normal Size Normal
EndFont EndFont
End End
Style Paragraph* Style Paragraph*
Font Font
Series Medium Series Medium
Shape Up Shape Up
Size Normal Size Normal
EndFont EndFont
TopSep 0.7 TopSep 0.7
BottomSep 0.4 BottomSep 0.4
End End
Style Run-in_headings Style Run-in_headings
Category Unnumbered Category Unnumbered
LabelType No_Label LabelType No_Label
LabelSep xx LabelSep xx
TopSep 0.7 TopSep 0.7
Font Font
Series Bold Series Bold
Shape Up Shape Up
Size Normal Size Normal
EndFont EndFont
Margin Static Margin Static
LatexType Command LatexType Command
LatexName runinhead LatexName runinhead
End End
Style Sub-run-in_headings Style Sub-run-in_headings
CopyStyle Run-in_headings CopyStyle Run-in_headings
Font Font
Series Medium Series Medium
Shape Italic Shape Italic
Size Normal Size Normal
EndFont EndFont
LatexName subruninhead LatexName subruninhead
End End
Style Extrachap Style Extrachap
CopyStyle Chapter* CopyStyle Chapter*
LatexName Extrachap LatexName Extrachap
End End
Style extrachap Style extrachap
CopyStyle Chapter* CopyStyle Chapter*
LatexName extrachap LatexName extrachap
End End
Style Title Style Title
Align Left Align Left
AlignPossible Block, Center, Left, Right, Center AlignPossible Block, Center, Left, Right, Center
Font Font
Family Sans Family Sans
Series Bold Series Bold
EndFont EndFont
End End
Style Subtitle Style Subtitle
CopyStyle Title CopyStyle Title
LatexName subtitle LatexName subtitle
NextNoIndent 1 NextNoIndent 1
BottomSep 0 BottomSep 0
ParSep 0 ParSep 0
Font Font
Size Large Size Large
EndFont EndFont
End End
Style Author Style Author
NextNoIndent 1 NextNoIndent 1
Align Left Align Left
Font Font
Series Bold Series Bold
Shape Italic Shape Italic
EndFont EndFont
End End
@ -352,9 +352,9 @@ Style Institute
End End
Style Date Style Date
Align Left Align Left
Font Font
Size Small Size Small
EndFont EndFont
End End
@ -436,82 +436,73 @@ Style Abstract*
End End
Style Keywords Style Keywords
Margin First_Dynamic Margin First_Dynamic
LatexType Command LatexType Command
LatexName keywords LatexName keywords
NextNoIndent 0 NextNoIndent 0
ParIndent MM ParIndent MM
LabelSep xx LabelSep xx
ItemSep 0 ItemSep 0
TopSep 0.7 TopSep 0.7
BottomSep 0.7 BottomSep 0.7
ParSep 0 ParSep 0
Align Block Align Block
AlignPossible Block, Left AlignPossible Block, Left
LabelType Static LabelType Static
LabelString "Keywords" LabelString "Keywords"
LabelFont LabelFont
Series Bold Series Bold
EndFont EndFont
End End
Style Dedication Style Dedication
Category FrontMatter Category FrontMatter
Margin Static Margin Static
LatexType Environment LatexType Environment
LatexName dedication LatexName dedication
LeftMargin MMMMMMMMMMMM LeftMargin MMMMMMMMMMMM
TopSep 2 TopSep 2
ParIndent MM ParIndent MM
Parsep 0 Parsep 0
BottomSep 2 BottomSep 2
Align Left Align Left
LabelType Static LabelType Static
LabelString "" LabelString ""
LabelIndent "" LabelIndent ""
Font Font
Shape Italic Shape Italic
Size large Size large
EndFont EndFont
End 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
LatexName foreword LatexName foreword
TocLevel 0 TocLevel 0
LatexType Command LatexType Command
NeedProtect 1 NeedProtect 1
NextNoIndent 1 NextNoIndent 1
ParSkip 0.4 ParSkip 0.4
TopSep 4 TopSep 4
BottomSep 0.8 BottomSep 0.8
ParSep 0.8 ParSep 0.8
Align Block Align Block
OptionalArgs 1 OptionalArgs 1
Font Font
Series Bold Series Bold
Size Huge Size Huge
EndFont EndFont
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,73 +510,68 @@ 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
LatexType Environment LatexType Environment
LatexName acknowledgement LatexName acknowledgement
NextNoIndent 0 NextNoIndent 0
ParIndent MM ParIndent MM
LabelSep xx LabelSep xx
ItemSep 0 ItemSep 0
TopSep 0.7 TopSep 0.7
BottomSep 0.7 BottomSep 0.7
ParSep 0 ParSep 0
Align Block Align Block
AlignPossible Block, Left AlignPossible Block, Left
LabelType Static LabelType Static
LabelString "Acknowledgements." LabelString "Acknowledgements."
Font Font
Size Small Size Small
EndFont EndFont
LabelFont LabelFont
Series Bold Series Bold
Shape Up Shape Up
Size Small Size Small
EndFont EndFont
End End
Style Acknowledgements Style Acknowledgements
CopyStyle Acknowledgement CopyStyle Acknowledgement
LatexName acknowledgements LatexName acknowledgements
End End
Style Bibliography Style Bibliography
Margin First_Dynamic Margin First_Dynamic
LatexType Bib_Environment LatexType Bib_Environment
LatexName thebibliography LatexName thebibliography
Category BackMatter Category BackMatter
NextNoIndent 1 NextNoIndent 1
LeftMargin MM LeftMargin MM
ParSkip 0.4 ParSkip 0.4
ItemSep 0 ItemSep 0
TopSep 0.7 TopSep 0.7
BottomSep 0.7 BottomSep 0.7
ParSep 0.5 ParSep 0.5
Align Block Align Block
AlignPossible Block, Left AlignPossible Block, Left
LabelType Bibliography LabelType Bibliography
LabelString "References" LabelString "References"
LabelBottomSep 0.7 LabelBottomSep 0.7
LabelFont LabelFont
Series Bold Series Bold
EndFont EndFont
End End
Style Description Style Description
OptionalArgs 1
LabelFont LabelFont
Series Medium Series Medium
EndFont EndFont
End End
@ -594,35 +580,35 @@ Style Petit
Category MainText Category MainText
LatexType Environment LatexType Environment
LatexName petit LatexName petit
TopSep 0.7 TopSep 0.7
BottomSep 0.7 BottomSep 0.7
Font Font
Size Small Size Small
EndFont EndFont
End End
Style Svgraybox Style Svgraybox
Category MainText Category MainText
Margin Static Margin Static
LatexType Environment LatexType Environment
LatexName svgraybox LatexName svgraybox
RightMargin MMM RightMargin MMM
TopSep 0.5 TopSep 0.5
ParIndent MM ParIndent MM
Parsep 0 Parsep 0
BottomSep 0.5 BottomSep 0.5
Align Block Align Block
AlignPossible Block, Left, Right, Center AlignPossible Block, Left, Right, Center
LabelType No_Label LabelType No_Label
Font Font
Family Sans Family Sans
EndFont EndFont
End End
Style Proof Style Proof
CopyStyle Claim CopyStyle Claim
LatexName proof LatexName proof
LabelString "Proof" LabelString "Proof"
End End
Style Proof(QED) Style Proof(QED)
@ -643,35 +629,28 @@ 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
LatexType command LatexType command
LatexName email LatexName email
LabelString "Email" LabelString "Email"
Font Font
Color foreground Color foreground
Size Small Size Small
Family Roman Family Roman
Shape Up Shape Up
Series Medium Series Medium
Misc No_Emph Misc No_Emph
Misc No_Noun Misc No_Noun
Misc No_Bar Misc No_Bar
EndFont EndFont
LabelFont LabelFont
Color urltext Color urltext
Size Small Size Small
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:"