Updates to the sv* series of layouts form Marcus Kriele.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39113 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2011-06-16 21:13:13 +00:00
parent 3a9cbe9a94
commit 963f3298f4
6 changed files with 622 additions and 345 deletions

View File

@ -1,5 +1,5 @@
#% Do not delete the line below; configure depends on this
# \DeclareLaTeXClass[svjour,svglobal.clo]{article (obsolete Springer svjour/global version)}
# \DeclareLaTeXClass[svjour,svglobal.clo]{article (Springer svjour/global)}
# svjour/global (article) textclass definition file.
# for various Springer Verlag Journals for which no specific file exists (Global).
# --------
@ -11,48 +11,158 @@
#
# --------
# 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
#
# The standard Springer Journal sections
Format 35
Input svjour.inc
Format 34
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 Dedication
NoStyle Keywords
ClassOptions
Other global
Other global
End
# Abstract style definition
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
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 Top_Environment
LabelString "Abstract."
# label font definition
LabelFont
Series Bold
EndFont
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 Top_Environment
LabelString "Abstract."
LabelFont
Series Bold
EndFont
End

View File

@ -9,88 +9,90 @@
# Adapted from svjour/jog by Cengiz Gunay in 2003.
# Transposed by Pascal André <andre@via.ecp.fr>
# Heavily modified and enhanced by serveral developers.
# Last revision for svjour version 3.2 by Uwe Stöhr in September 2009
# Revision svjour version 3.2 by Uwe Stöhr in September 2009
# Revised by Marcus Kriele in April 2011
#
# see ftp://ftp.springer.de/pub/tex/latex/svjour3/ for class files
Format 35
Format 34
Input svjour.inc
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 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 Acknowledgement
NoStyle Headnote
NoStyle Dedication
NoStyle Running_LaTeX_Title
NoStyle Author_Running
NoStyle Mail
NoStyle Offprints
NoStyle Keywords
Preamble
\smartqed % flush right qed marks, e.g. at end of proof
EndPreamble
InsetLayout Flex:Email
LyxType custom
LatexType command
LatexName email
LabelString "Email"
Font
Color foreground
Size Small
Family Roman
Shape Up
Series Medium
Misc No_Emph
Misc No_Noun
Misc No_Bar
EndFont
LabelFont
Color green
Size Small
EndFont
End
InsetLayout Flex:Keywords
CopyStyle Flex:Email
LatexName keywords
LabelString "Keywords"
LabelFont
Color green
Size Small
EndFont
End
InsetLayout Flex:PACS
CopyStyle Flex:Email
CopyStyle Flex:Keywords
LatexName PACS
LabelString "PACS"
End
InsetLayout Flex:Subclass
CopyStyle Flex:Email
CopyStyle Flex:Keywords
LatexName subclass
LabelString "Subclass"
LabelString "Mathematics Subject Classification"
End
InsetLayout Flex:CRSC
CopyStyle Flex:PACS
LatexName CRclass
LabelString "CR Subject Classification"
End
InsetLayout Flex:at_Address
CopyStyle Flex:and
LatexName at
LabelString "at address"
End
Style Problem
ObsoletedBy Problem_(theorem-like)
End
Style Solution
ObsoletedBy Solution_(theorem-like)
End
Style Abstract
Category FrontMatter
Newline 1
LabelType Static
LabelString "Abstract"
End
Style Acknowledgements
CopyStyle Abstract
LatexName acknowledgements
Category BackMatter
LabelString "Acknowledgements"
End

View File

@ -15,6 +15,7 @@
#
# Adapted to svjour/jog (new 1999 Springer LaTeX2e classes) by
# MV in 2000.
# Revised by Marcus Kriele in April 2011
#
# General textclass parameters
# (jog) ?
@ -22,21 +23,133 @@
# see www.springer.de/author/tex/help-journals.html for class files
Format 35
Input svjour.inc
Format 34
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 Dedication
NoStyle Keywords
ClassOptions
Other jog
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
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

View File

@ -1,131 +1,57 @@
#% Do not delete the line below; configure depends on this
# \DeclareLaTeXClass[svmono,natbib.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:
# ftp://ftp.springer.de/pub/tex/latex/svmonogl/
# http://www.springer.com/authors
#
Format 35
Input svjour.inc
Format 34
Input svcommon.inc
ClassOptions
FontSize 10
End
# Additional paragraphs
Style Petit
CopyStyle Standard
Category MainText
LatexType Environment
LatexName petit
LeftMargin MMM
RightMargin MMM
Font
Size Small
EndFont
NoStyle Acknowledgements
#NoStyle Acknowledgement
NoStyle Institute
Style Running_Chapter
CopyStyle Running_Title
Category Section
LatexName chaptermark
LeftMargin "Running Chapter:xxx"
LabelString "Running Chapter:"
End
Style Front_Matter
Category Structure
LatexType Command
LatexName frontmatter
KeepEmpty 1
OptionalArgs 0
Margin First_Dynamic
NextNoIndent 1
ParSkip 0
TopSep 2.5
BottomSep 0.5
ParSep 0
Align Center
LabelType Static
LabelBottomSep 0
LeftMargin M
LabelString "--- Front Matter ---"
Font
Family Sans
Series Bold
Size Largest
Color Blue
EndFont
End
Style Main_Matter
CopyStyle Front_Matter
Category Structure
LatexName mainmatter
LabelString "--- Main Matter ---"
End
Style Back_Matter
CopyStyle Front_Matter
Category Structure
LatexName backmatter
LabelString "--- Back Matter ---"
End
Style Chapter
Align Left
End
Style Chapter*
Align Left
End
Style Preface
CopyStyle Title
Category Unnumbered
LatexName svmultpreface
KeepEmpty 1
OptionalArgs 1
InTitle 0
Margin First_Dynamic
LabelType Static
LabelString "Preface:"
LabelSep xxx
Align Left
Preamble
\newcommand{\svmultpreface}[1]{\ifthenelse{\equal{#1}{}}{\preface}{\preface[#1]}}
EndPreamble
Requires ifthen
End
# Additional math environments
Style Case
CopyStyle Claim
LatexName case
LabelString "Case #."
Style Running_Section
CopyStyle Running_Title
Category Section
LatexName sectionmark
LeftMargin "Running Section:xxx"
LabelString "Running Section:"
End
Style Problem
CopyStyle Claim
LatexName prob
LabelString "Problem #."
ObsoletedBy Prob
End
Style Solution
CopyStyle Claim
LatexName sol
LabelString "Solution #."
OptionalArgs 1
ObsoletedBy Sol
End
Style Proof(QED)
CopyStyle Proof
LatexName svmultproof
EndLabelType Box
Preamble
\newenvironment{svmultproof}{\begin{proof}}{\qed\end{proof}}
EndPreamble
InsetLayout Flex:at_Address
CopyStyle Flex:and
LatexName at
LabelString "at address"
End
Style Proof(smartQED)
CopyStyle Proof
LatexName svmultproof2
EndLabelType Filled_Box
Preamble
\newenvironment{svmultproof2}{\begin{proof}}{\smartqed\qed\end{proof}}
EndPreamble
End
NoStyle TOC_Title
NoStyle TOC_Author
NoStyle Running_Title
NoStyle Running_Author

View File

@ -1,67 +1,32 @@
#% Do not delete the line below; configure depends on this
# \DeclareLaTeXClass[svmult,footmisc.sty,natbib.sty]{book (Springer svmult)}
# Author: Koji Yokota <yokota@res.otaru-uc.ac.jp>
# \DeclareLaTeXClass[svmult,natbib.sty]{book (Springer svmult)}
# Author: Koji Yokota <yokota@res.otaru-uc.ac.jp>
# adapted: Marcus Kriele <mkriele@mac.com> (April 2011)
#
# Supports: SVMULT DOCUMENT CLASS -- version 5.4 (25-Jun-07)
# Class and style files and templates are found at:
# ftp://ftp.springer.de/pub/tex/latex/svmultgl/
# http://www.springer.com/authors
#
Format 34
Format 35
Input svjour.inc
Input svcommon.inc
ClassOptions
FontSize 10
End
NoStyle Acknowledgements
NoStyle Date
NoStyle Dedication
NoStyle Headnote
NoStyle Mail
NoStyle Offprints
#NoStyle Acknowledgement
Counter svmultlsti
LabelString "Contributor \Roman{svmultlsti}:"
End
# Additional headings
Style Title*
CopyStyle Title
LatexName title*
HTMLTitle true
End
Style TOC_Title
CopyStyle Running_LaTeX_Title
LatexName toctitle
LeftMargin "TOC title:xxx"
LabelString "TOC title:"
End
Style TOC_Author
CopyStyle Running_LaTeX_Title
LatexName tocauthor
LeftMargin "TOC Author:xxx"
LabelString "TOC Author:"
End
Style Institute
LatexType Command
InTitle 1
LatexName institute
Margin Static
LeftMargin "Institute and e-mail:xxx"
LabelSep xxx
LabelType Static
LabelString "Institute and e-mail: "
LabelFont
Shape Italic
EndFont
Requires url
End
Style MiniTOC
CopyStyle Running_LaTeX_Title
CopyStyle Running_Title
LatexType Command
LatexName svmulttoc
LeftMargin "TOC depth (provide a number):xxx"
@ -71,68 +36,65 @@ Style MiniTOC
EndPreamble
End
Style List_of_Abbreviations_&_Symbols
Style Title*
CopyStyle Title
LatexName title*
LabelString "Title*: "
LabelSep "xxx"
LabelType Static
Margin First_Dynamic
HTMLTitle true
LabelFont
Color Blue
EndFont
End
Style Title
TopSep 2
LabelString "Chapter \thechapter"
LabelType Counter
LabelCounter chapter
TocLevel 1
InTitle 0
End
Style Contributors
CopyStyle Foreword
LabelString "List of Contributors"
LatexName contributors
End
Style List_of_Abbreviations_&_Symbols_[Deprecated]
InTitle 1
CopyStyle Description
LatexName abbrsymblist
End
# Additional paragraphs
Style Petit
CopyStyle Standard
Category MainText
LatexType Environment
LatexName petit
LeftMargin MMM
RightMargin MMM
Style List_of_Abbreviations_&_Symbols
InTitle 1
CopyStyle Description
LatexName abbrsymblist
ObsoletedBy List_of_Abbreviations_&_Symbols_[Deprecated]
End
Style Author
Font
Size Small
Series Bold
Family Sans
Size Normal
Shape Up
EndFont
End
# Additional math environments
Style Case
CopyStyle Claim
LatexName case
LabelString "Case #."
Counter svmultlsti
LabelString "Contributor \Roman{svmultlsti}"
Within chapter
End
Style Proof(QED)
CopyStyle Proof
LatexName svmultproof
EndLabelType Box
Preamble
\newenvironment{svmultproof}{\begin{proof}}{\qed\end{proof}}
EndPreamble
End
Style Proof(smartQED)
CopyStyle Proof
LatexName svmultproof2
EndLabelType Filled_Box
Preamble
\newenvironment{svmultproof2}{\begin{proof}}{\smartqed\qed\end{proof}}
EndPreamble
End
# Styles for editors
Style Preface
CopyStyle Title
Category "For editors"
LatexName svmultpreface
KeepEmpty 1
OptionalArgs 1
InTitle 0
Margin First_Dynamic
LabelType Static
LabelString "Preface:"
LabelSep xxx
Align Left
Preamble
\newcommand{\svmultpreface}[1]{\ifthenelse{\equal{#1}{}}{\preface}{\preface[#1]}}
EndPreamble
Requires ifthen
End
Style List_of_Contributors
Category "For editors"
@ -157,82 +119,108 @@ Style List_of_Contributors
Align Block
AlignPossible Block, Left
Preamble
\newcounter{svmultlsti}%
\newenvironment{svmultlstcnt}{%
\let\svmultitem\item%
\setcounter{svmultlsti}{0}\let\svmultitem\item%
\renewcommand{\item}{%
\ifthenelse{\value{svmultlsti} = 0}{}{\and}%
\stepcounter{svmultlsti}}%
\newcounter{svmultlsti}\begin{thecontriblist}}{%
\end{thecontriblist}\let\item\svmultitem}
\setcounter{svmultlsti}{0}\begin{thecontriblist}}{%
\end{thecontriblist}\let\item\svmultitem%
\setcounter{svmultlsti}{0}}
EndPreamble
Requires ifthen
End
Style Front_Matter
Category "For editors"
LatexType command
LatexName frontmatter
KeepEmpty 1
OptionalArgs 0
Margin First_Dynamic
NextNoIndent 1
ParSkip 0
TopSep 2.5
BottomSep 0.5
ParSep 0
Align Center
LabelType Static
LabelBottomSep 0
LeftMargin M
LabelString "--- Front Matter ---"
Font
Family Sans
Series Bold
Size Largest
Color Blue
EndFont
Style Problem
ObsoletedBy Problem_(theorem-like)
End
Style Main_Matter
CopyStyle Front_Matter
Category "For editors"
LatexName mainmatter
LabelString "--- Main Matter ---"
Style Solution
ObsoletedBy Solution_(theorem-like)
End
Style Back_Matter
CopyStyle Front_Matter
Category "For editors"
LatexName backmatter
LabelString "--- Back Matter ---"
End
Style Part
Category "For editors"
End
Style Part*
Category "For editors"
End
Style Chapter
Category "For editors"
Align Left
End
Style Chapter*
Category "For editors"
Align Left
End
InsetLayout "Flex:Inst"
InsetLayout Flex:Inst
Decoration Classic
LabelString "Institute #"
LabelString "Institute # [deprecated]"
LatexType Command
LatexName inst
LyxType custom
Font
Size Small
Color Green
Color Red
EndFont
End
InsetLayout Flex:at_Address
CopyStyle Flex:and
LatexName at
LabelString "at address"
End
Style Part
Category "For editors"
End
Style PartBacktext
Category "For editors"
End
Style 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 Motto
CopyStyle ChapMotto
Category "FrontMatter"
End
NoStyle ChapMotto
Style Abstract
Category "FrontMatter"
End
Style Abstract*
Category "FrontMatter"
End
Style Keywords
Category "FrontMatter"
End

View File

@ -22,23 +22,60 @@
# (jog) ?
#
# see www.springer.de/author/tex/help-journals.html for class files
# Revised by Marcus Kriele in April 2011
#
# General textclass parameters
# (probth) ?
#
# see www.springer.de/author/tex/help-journals.html for class files
Format 35
Input svjour.inc
Format 34
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 Dedication
NoStyle Keywords
ClassOptions
Other probth
End
Style Title
Font
Family Roman
@ -62,3 +99,104 @@ Style Author
Shape Up
EndFont
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
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 Top_Environment
LabelString "Abstract."
LabelFont
Series Bold
EndFont
End