mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +00:00
6b49b6b129
This makes the defaults of Inset::inheritFont() and Inset::resetFontEdit() compatible. There is no user visible change except for the Chunk inset which does not produce invalid LaTeX after editing operations anymore. This is the safe version for 2.1.0, for later there are still open questions: - All insets with ResetsFont true should be audited: Is this really needed, or do they show similar editing problems as the Chunk inset? - Does inheritFont() need to be customizable in the layout file as well? - Is resetFontEdit() != !inheritFont() needed at all? I did not use change tracking for the docs, since I updated all existing translations.
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 49
|
|
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
|