mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 10:58:52 +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
)
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 64
|
|
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
|