From 8cc977d63c906b2485b958a4ccc356455d140ad2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Sat, 16 Aug 2008 22:37:49 +0000 Subject: [PATCH] layout for the svjour3 class, it is adoption of the existing svjour layout by John Perry, fixes http://bugzilla.lyx.org/show_bug.cgi?id=5154 git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26194 a592a061-630c-0410-9148-cb99ea01b6c8 --- development/scons/scons_manifest.py | 2 + lib/Makefile.am | 2 + lib/layouts/svglobal3.layout | 50 +++ lib/layouts/svjour3.inc | 482 ++++++++++++++++++++++++++++ 4 files changed, 536 insertions(+) create mode 100644 lib/layouts/svglobal3.layout create mode 100644 lib/layouts/svjour3.inc diff --git a/development/scons/scons_manifest.py b/development/scons/scons_manifest.py index 0151270f19..80b6649655 100644 --- a/development/scons/scons_manifest.py +++ b/development/scons/scons_manifest.py @@ -2607,6 +2607,7 @@ lib_layouts_files = Split(''' slides.layout spie.layout svglobal.layout + svglobal3.layout svjog.layout svprobth.layout tarticle.layout @@ -2654,6 +2655,7 @@ lib_layouts_inc_files = Split(''' stdstruct.inc stdtitle.inc svjour.inc + svjour3.inc theorems.inc theorems-ams.inc theorems-order.inc diff --git a/lib/Makefile.am b/lib/Makefile.am index c1e51b0398..163c47c5b7 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -1063,8 +1063,10 @@ dist_layouts_DATA =\ layouts/stdstruct.inc \ layouts/stdtitle.inc \ layouts/svglobal.layout \ + layouts/svglobal3.layout \ layouts/svjog.layout \ layouts/svjour.inc \ + layouts/svjour3.inc \ layouts/svprobth.layout \ layouts/tarticle.layout \ layouts/tbook.layout \ diff --git a/lib/layouts/svglobal3.layout b/lib/layouts/svglobal3.layout new file mode 100644 index 0000000000..b846d93643 --- /dev/null +++ b/lib/layouts/svglobal3.layout @@ -0,0 +1,50 @@ +#% Do not delete the line below; configure depends on this +# \DeclareLaTeXClass[svjour3,svglov3.clo]{article (Springer svjour3/global)} +# svjour3/global3 (article) textclass definition file. +# for various Springer Verlag Journals for which no specific file exists (Global). +# -------- +# +# Taken from initial LyX source code +# Author : Matthias Ettrich +# Transposed by Pascal André +# Heavily modified and enhanced by serveral developers. +# +# -------- +# Adapted from svjour/jog by Cengiz Gunay in 2003. +# +# General textclass parameters +# (global) ? +# +# see www.springer.de/author/tex/help-journals.html for class files +# +# The standard Springer Journal sections +Format 8 +Input svjour3.inc + +ClassOptions + Other global +End + +# Abstract style definition +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 +End diff --git a/lib/layouts/svjour3.inc b/lib/layouts/svjour3.inc new file mode 100644 index 0000000000..9780590b89 --- /dev/null +++ b/lib/layouts/svjour3.inc @@ -0,0 +1,482 @@ +# svjour3 (article) textclass definition file for inclusion. +# for Springer Verlag journals +# -------- +# +# Taken from initial LyX source code +# Author : Matthias Ettrich +# Transposed by Pascal André +# Heavily modified and enhanced by serveral developers. +# +# -------- +# ejour2 made originally by Martin Vermeer based on article.layout. +# Modified for LyX 1.2 by Jean-Marc Lasgouttes and MV. +# Minor change for LyX 1.3.3 by Cengiz Gunay. +# +# Adapted for new svjour3 LaTeX2e classes published by Springer in 1999; +# work done by MV in 2000. +# +# see www.springer.de/author/tex/help-journals.html for class files + + +Format 8 +Columns 2 +Sides 1 +PageStyle Plain + + +Style Standard + Margin Static + LatexType Paragraph + LatexName dummy + ParIndent MM + ParSkip 0.4 + Align Block + AlignPossible Block, Left, Right, Center + LabelType No_Label +End + + +Input stdsections.inc +Input stdstarsections.inc +Input stdlayouts.inc +Input stdlists.inc +Input stdfloats.inc +Input stdcounters.inc + +NoStyle Part +NoStyle Part* +NoStyle Chapter +NoStyle Chapter* + + +Style Section + Font + Series Medium + Series Bold + Size Normal + EndFont +End + + +Style Subsection + Font + Series Medium + Shape Italic + Size Normal + EndFont +End + + +Style Subsubsection + Font + Series Medium + Shape Up + Size Normal + EndFont +End + + +Style Paragraph + Font + Series Medium + Shape Italic + Size Normal + EndFont +End + + +Style Subparagraph + Font + Series Medium + Shape Up + Size Normal + 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 + AlignPossible Left + LabelType Static + LabelString "Headnote (optional):" + LabelFont + Series Bold + Shape Italic + Color Red + EndFont +End + + +Style Dedication + CopyStyle Headnote + LatexName dedication + LeftMargin Dedication:xxx + LabelString "Dedication:" +End + + +Style Title + Margin Static + LatexType Command + InTitle 1 + LatexName title + NextNoIndent 1 + ParSkip 0.4 + TopSep 1.3 + BottomSep 0.7 + ParSep 0.7 + Align Left + AlignPossible Block, Center, Left, Right, Center + LabelType No_Label + Fill_Top 1 + Fill_Bottom 1 + Font + Family Sans + Series Bold + Size Largest + EndFont +End + + +Style Subtitle + Margin Static + LatexType Command + InTitle 1 + LatexName subtitle + NextNoIndent 1 + ParSkip 0.4 + ItemSep 0 + TopSep 0 + BottomSep 0 + ParSep 0 + Align Left + AlignPossible Left + LabelType No_Label + Font + Family Sans + Series Bold + Size Large + EndFont +End + + +Style Running_LaTeX_Title + CopyStyle Headnote + LatexName titlerunning + LeftMargin "Running title:xxx" + LabelString "Running title:" +End + + +Style Author + Margin Static + LatexType Command + InTitle 1 + LatexName author + NextNoIndent 1 + ParSkip 0.4 + TopSep 0.7 + BottomSep 0.7 + ItemSep 0 + ParSep 0 + Align Left + AlignPossible Left + LabelType No_Label + Font + Series Bold + Shape Italic + EndFont +End + + +Style Author_Running + CopyStyle Headnote + LatexName authorrunning + LeftMargin "Author Running:xxx" + LabelString "Author Running:" +End + + +Style Institute + Margin Static + LatexType Command + InTitle 1 + LatexName institute + NextNoIndent 1 + ParSkip 0.4 + TopSep 1.3 + BottomSep 0.7 + ParSep 0.7 + Align Left + AlignPossible Left + LabelType No_Label + Font + Size Small + EndFont +End + + +Style Date + CopyStyle Institute + LatexName date +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 Environment + LatexName abstract + 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 + + +Style Keywords + Margin First_Dynamic + LatexType Command + LatexName keywords + NextNoIndent 0 + ParIndent MM + LabelSep xx + ItemSep 0 + TopSep 0.7 + BottomSep 0.7 + ParSep 0 + Align Block + AlignPossible Block, Left + LabelType Static + LabelString "Key words:" + LabelFont + Series Bold + EndFont +End + + +Style Acknowledgements + Margin First_Dynamic + LatexType Environment + LatexName acknowledgements + NextNoIndent 0 + ParIndent MM + LabelSep xx + ItemSep 0 + TopSep 0.7 + BottomSep 0.7 + ParSep 0 + Align Block + AlignPossible Block, Left + LabelType Static + LabelString "Acknowledgements." + Font + Size Small + EndFont + LabelFont + Shape Italic + Size Small + EndFont +End + + +Style Acknowledgement + CopyStyle Acknowledgements + LatexName acknowledgement + LabelString "Acknowledgement." +End + + +Style Bibliography + Margin First_Dynamic + LatexType Bib_Environment + LatexName thebibliography + NextNoIndent 1 + LeftMargin MM + ParSkip 0.4 + ItemSep 0 + TopSep 0.7 + BottomSep 0.7 + ParSep 0.5 + Align Block + AlignPossible Block, Left + LabelType Bibliography + LabelString "References" + LabelBottomSep 0.7 + LabelFont + Series Bold + EndFont +End + + +Style Claim + Margin First_Dynamic + LatexType Environment + LatexName claim + NextNoIndent 0 + ParIndent MM + LabelSep xx + ItemSep 0 + TopSep 0.5 + BottomSep 0.5 + ParSep 0 + Align Block + AlignPossible Block, Left + LabelType Static + LabelString "Claim." + LabelFont + Shape Italic + EndFont +End + + +Style Conjecture + CopyStyle Claim + LatexName conjecture + LabelString "Conjecture #." +End + + +Style Corollary + CopyStyle Claim + LatexName corollary + LabelString "Corollary #." + Font + Shape Italic + EndFont + LabelFont + Shape Up + Series Bold + EndFont +End + + +Style Definition + CopyStyle Corollary + LatexName definition + LabelString "Definition #." +End + + +Style Example + CopyStyle Claim + LatexName example + LabelString "Example #." +End + + +Style Exercise + CopyStyle Claim + LatexName exercise + LabelString "Exercise #." + LabelFont + Shape Up + Series Bold + EndFont +End + + +Style Lemma + CopyStyle Corollary + LatexName lemma + LabelString "Lemma #." +End + + +Style Note + CopyStyle Claim + LatexName note + LabelString "Note #." +End + + +Style Problem + CopyStyle Exercise + LatexName problem + LabelString "Problem #." +End + + +Style Proof + CopyStyle Claim + LatexName proof + LabelString "Proof." +End + + +Style Property + CopyStyle Claim + LatexName property + LabelString "Property #." +End + + +Style Proposition + CopyStyle Claim + LatexName proposition + LabelString "Proposition #." +End + + +Style Question + CopyStyle Claim + LatexName question + LabelString "Question #." +End + + +Style Remark + CopyStyle Claim + LatexName remark + LabelString "Remark #." +End + + +Style Solution + CopyStyle Exercise + LatexName solution + LabelString "Solution #." +End + + +Style Theorem + CopyStyle Corollary + LatexName theorem + LabelString "Theorem #." +End -- 2.39.2