mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 18:08:10 +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.
236 lines
4.8 KiB
Plaintext
236 lines
4.8 KiB
Plaintext
#% Do not delete the line below; configure depends on this
|
|
# \DeclareLaTeXClass[isprs,epsfig.sty,times.sty]{Int. Society f. Photogrammetry and Remote Sensing (ISPRS)}
|
|
# \DeclareCategory{Articles}
|
|
# Find the class file at, e.g.,
|
|
# http://www.photogrammetry.ethz.ch/tarasp_workshop/isprs.cls
|
|
# Article textclass definition file. Taken from initial LyX source code
|
|
# Author : Matthias Ettrich <ettrich@informatik.uni-tuebingen.de>
|
|
# Transposed by Pascal André <andre@via.ecp.fr>
|
|
# Heavily modifed and enhanced by serveral developers.
|
|
|
|
# Input general definitions
|
|
Format 49
|
|
Input stdclass.inc
|
|
Sides 2
|
|
Columns 2
|
|
|
|
# There are no chapters in an article.
|
|
NoStyle Chapter
|
|
NoCounter chapter
|
|
NoStyle Chapter*
|
|
|
|
SecNumDepth 3
|
|
TocDepth 3
|
|
|
|
# Abstract style definition
|
|
Style Abstract
|
|
Margin Static
|
|
LatexType Command
|
|
LatexName abstract
|
|
LeftMargin ""
|
|
RightMargin ""
|
|
ParIndent ""
|
|
NextNoIndent 1
|
|
ItemSep 0
|
|
ParSep 0
|
|
LabelSep x
|
|
Align Block
|
|
LabelType Above
|
|
LabelString "ABSTRACT:"
|
|
InTitle 1
|
|
|
|
# standard font definition
|
|
Font
|
|
Size Normal
|
|
EndFont
|
|
# label font definition
|
|
LabelFont
|
|
Series Bold
|
|
EndFont
|
|
End
|
|
|
|
# Keywords style definition
|
|
Style Keywords
|
|
Margin Static
|
|
LatexType Command
|
|
LatexName keywords
|
|
LeftMargin ""
|
|
RightMargin ""
|
|
ParIndent ""
|
|
NextNoIndent 1
|
|
ItemSep 0
|
|
ParSep 0
|
|
LabelSep x
|
|
Align Left
|
|
AlignPossible Block, Left
|
|
LabelType Above
|
|
LabelString "KEY WORDS:"
|
|
InTitle 1
|
|
|
|
# label font definition
|
|
LabelFont
|
|
Series Bold
|
|
EndFont
|
|
End
|
|
|
|
# Author style definition
|
|
Style Author
|
|
Margin Static
|
|
LatexType Command
|
|
InTitle 1
|
|
LatexName author
|
|
NextNoIndent 1
|
|
ParSkip 0.4
|
|
Align Center
|
|
LabelType No_Label
|
|
|
|
# standard font definition
|
|
Font
|
|
Size Large
|
|
EndFont
|
|
|
|
End
|
|
# Title style definition
|
|
Style Title
|
|
Margin Static
|
|
LatexType Command
|
|
InTitle 1
|
|
LatexName title
|
|
TopSep 1.3
|
|
NextNoIndent 1
|
|
Align Center
|
|
AlignPossible Block, Center, Left, Right
|
|
LabelType No_Label
|
|
# standard font definition
|
|
Font
|
|
Series Bold
|
|
Size LARGE
|
|
EndFont
|
|
HTMLTitle true
|
|
End
|
|
|
|
Style Address
|
|
Margin Static
|
|
LatexType Command
|
|
InTitle 1
|
|
LatexName address
|
|
TopSep 1.3
|
|
NextNoIndent 1
|
|
Align Center
|
|
AlignPossible Block, Center, Left, Right
|
|
LabelType No_Label
|
|
# standard font definition
|
|
Font
|
|
Size Large
|
|
EndFont
|
|
|
|
End
|
|
|
|
Style Commission
|
|
Margin Static
|
|
LatexType Command
|
|
InTitle 1
|
|
LatexName title
|
|
TopSep 1.3
|
|
NextNoIndent 1
|
|
Align Center
|
|
AlignPossible Block, Center, Left, Right
|
|
LabelType No_Label
|
|
# standard font definition
|
|
Font
|
|
Series Bold
|
|
Size Large
|
|
EndFont
|
|
|
|
End
|
|
|
|
# Section style definition
|
|
Style Section
|
|
Align Center
|
|
AlignPossible Block, Center, Left, Right
|
|
# standard font definition
|
|
Font
|
|
Series Bold
|
|
Size Normal
|
|
EndFont
|
|
TocLevel 1
|
|
End
|
|
|
|
# Subsection style definition
|
|
Style Subsection
|
|
# standard font definition
|
|
Font
|
|
Series Bold
|
|
Size Normal
|
|
EndFont
|
|
TocLevel 2
|
|
End
|
|
|
|
# Subsubsection style definition
|
|
Style Subsubsection
|
|
# standard font definition
|
|
Font
|
|
Series Bold
|
|
Size Normal
|
|
EndFont
|
|
TocLevel 3
|
|
End
|
|
|
|
# Section* style definition
|
|
Style Section*
|
|
Align Center
|
|
AlignPossible Block, Center, Left, Right
|
|
# standard font definition
|
|
Font
|
|
Series Bold
|
|
Size Normal
|
|
EndFont
|
|
End
|
|
|
|
# Subsection* style definition
|
|
Style Subsection*
|
|
# standard font definition
|
|
Font
|
|
Series Bold
|
|
Size Normal
|
|
EndFont
|
|
End
|
|
|
|
# Subsubsection* style definition
|
|
Style Subsubsection*
|
|
# standard font definition
|
|
Font
|
|
Series Bold
|
|
Size Normal
|
|
EndFont
|
|
End
|
|
|
|
# Acknowledgement(s) style definitions
|
|
Style Acknowledgements
|
|
Category BackMatter
|
|
Margin Static
|
|
LatexType Command
|
|
LatexName acknowledgements
|
|
LeftMargin ""
|
|
RightMargin ""
|
|
ParIndent ""
|
|
LabelSep X
|
|
TopSep 0.7
|
|
LabelType Above
|
|
LabelString "ACKNOWLEDGEMENTS"
|
|
|
|
Preamble
|
|
\newcommand{\acknowledgements}[1]{\section*{ACKNOWLEDGEMENTS} #1}
|
|
EndPreamble
|
|
|
|
# label font definition
|
|
Font
|
|
Size Normal
|
|
EndFont
|
|
|
|
LabelFont
|
|
Series Bold
|
|
Size Normal
|
|
EndFont
|
|
End
|