lyx_mirror/lib/layouts/svprobth.layout
Richard Heck df5409d1c8 Updates to sv* layouts, from Marcus Kriele.
Notes from his email:

=====================

The following issues still persist:

1) LyXHTML export generates incorrect html files.  The problem is due to the table of contents, but I am not at all familiar with html and do not know how to fix this.

2) "Short title" for optional arguments does not work.  This is intentional in order to guarantee backward compatibility.  One can use ERT instead of "Short title".  (By the way, wouldn't it be advisable to change the GUI?  For a new user it would be hard to guess the general  meaning of  "Short title".)

3) Numbering of theorems within LyX does not work.  I tried to copy the implementation of  the theorem-sec.module but LyX does not pick up the correct \thetheorem value.  I have a hunch that this is due to Springer's replacement of the "\newtheorem" command with their own "\spnewtheorem" command.  \thetheorem is still defined and provides the correct value via ERT, but but I was unable to use it through through the layout mechanism.

4) Book authors may need the LaTeX commands \sidecaption and \sidecaption[t] for the correct placement of figure captions. tex2lyx does not know \sidecaption[t]. Georg wrote this command would be imported correctly if it was registered in the file "lib/synlib/syntax.default".

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39114 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-16 21:25:52 +00:00

203 lines
3.8 KiB
Plaintext

#% Do not delete the line below; configure depends on this
# \DeclareLaTeXClass[svjour,svprobth.clo]{article (Springer svjour/PTRF)}
# svjour/probth (article) textclass definition file.
# for Springer Verlag Journal of Geodesy.
# --------
#
# Taken from initial LyX source code
# Author : Matthias Ettrich <ettrich@informatik.uni-tuebingen.de>
# Transposed by Pascal André <andre@via.ecp.fr>
# Heavily modified and enhanced by serveral developers.
#
# --------
# ejour2 made originally by Martin Vermeer based on article.layout.
# Modified for LyX 12 by Jean-Marc Lasgouttes and MV.
#
# Adapted to svjour/jog (new 1999 Springer LaTeX2e classes) by
# MV in 2000.
#
# Adapted to Probability Theory and Related Fields by JMarc
#
# General textclass parameters
# (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 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
Series Bold
Size Larger
EndFont
End
Style Subtitle
Font
Family Roman
Series Bold
Size Large
EndFont
End
Style Author
Font
Series Medium
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