mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 03:36:39 +00:00
bad608a9fa
- svmult.layout: fix wrong margin of the Preface style, add required LaTeX-package git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39061 a592a061-630c-0410-9148-cb99ea01b6c8
239 lines
4.2 KiB
Plaintext
239 lines
4.2 KiB
Plaintext
#% 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>
|
|
#
|
|
# Class and style files and templates are found at:
|
|
# ftp://ftp.springer.de/pub/tex/latex/svmultgl/
|
|
#
|
|
|
|
Format 35
|
|
Input svjour.inc
|
|
|
|
ClassOptions
|
|
FontSize 10
|
|
End
|
|
|
|
NoStyle Acknowledgements
|
|
NoStyle Date
|
|
NoStyle Dedication
|
|
NoStyle Headnote
|
|
NoStyle Mail
|
|
NoStyle Offprints
|
|
|
|
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
|
|
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 List_of_Abbreviations_&_Symbols
|
|
InTitle 1
|
|
CopyStyle Description
|
|
LatexName abbrsymblist
|
|
End
|
|
|
|
# Additional paragraphs
|
|
Style Petit
|
|
CopyStyle Standard
|
|
Category MainText
|
|
LatexType Environment
|
|
LatexName petit
|
|
LeftMargin MMM
|
|
RightMargin MMM
|
|
Font
|
|
Size Small
|
|
EndFont
|
|
End
|
|
|
|
# Additional math environments
|
|
Style Case
|
|
CopyStyle Claim
|
|
LatexName case
|
|
LabelString "Case #."
|
|
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"
|
|
Margin First_Dynamic
|
|
LatexType Item_Environment
|
|
LatexName svmultlstcnt
|
|
NextNoIndent 1
|
|
InTitle 0
|
|
LabelType Counter
|
|
LabelCounter svmultlsti
|
|
LabelSep xxx
|
|
LabelFont
|
|
Series Bold
|
|
Shape Italic
|
|
Color Blue
|
|
EndFont
|
|
ParSkip 0.0
|
|
ItemSep 0.2
|
|
TopSep 0.7
|
|
BottomSep 0.7
|
|
ParSep 0.3
|
|
Align Block
|
|
AlignPossible Block, Left
|
|
Preamble
|
|
\newenvironment{svmultlstcnt}{%
|
|
\let\svmultitem\item%
|
|
\renewcommand{\item}{%
|
|
\ifthenelse{\value{svmultlsti} = 0}{}{\and}%
|
|
\stepcounter{svmultlsti}}%
|
|
\newcounter{svmultlsti}\begin{thecontriblist}}{%
|
|
\end{thecontriblist}\let\item\svmultitem}
|
|
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
|
|
End
|
|
|
|
Style Main_Matter
|
|
CopyStyle Front_Matter
|
|
Category "For editors"
|
|
LatexName mainmatter
|
|
LabelString "--- Main Matter ---"
|
|
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"
|
|
Decoration Classic
|
|
LabelString "Institute #"
|
|
LatexType Command
|
|
LatexName inst
|
|
LyxType custom
|
|
Font
|
|
Size Small
|
|
Color Green
|
|
EndFont
|
|
End
|