mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-27 22:41:09 +00:00
b92ceba9a1
Remove the trimming operation on LabelString, LabelStringAppendix,
EndLabelString and LabelCounter. This trimming meant that quotes
strings were not preserved, which is wrong.
To preserve layouts, the Layout format has been updated to 64, so that
layout2layout can remove extra spaces on existing strings, which
ensures that behavior is unchanged for old layouts (courtesy of rgheck).
It is now possible to re-add spaces in label strings where it makes
sense.
Fixes bug #10723.
(cherry picked from commit 5c54557350
)
201 lines
3.9 KiB
Plaintext
201 lines
3.9 KiB
Plaintext
#% Do not delete the line below; configure depends on this
|
|
# \DeclareLaTeXClass[svjour,svprobth.clo]{Springer SV Jour/PTRF}
|
|
# \DeclareCategory{Articles}
|
|
# 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 64
|
|
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 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
|
|
ResetsFont true
|
|
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 Above
|
|
LabelString "Abstract."
|
|
LabelFont
|
|
Series Bold
|
|
EndFont
|
|
End
|