mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-08 20:32:49 +00:00
04efe3c40a
* src/LaTeXFeatures.C (mustProvide): new method; returns true when isRequired is true and the feature is not provided by the textclass. (getPackages, getLyXSGMLEntities): use mustProvide when relevant. * src/bufferparams.C (getEngine): * src/buffer.C (validate): adapt to change below. * src/lyxtextclass.C (read): replace tags ProvidesNatbib, ProvidesMakeidx, ProvidesUrl and ProvidesAmsmath by a generic "Provides". (provides): take a string as argument. * lib/scripts/layout2layout.py (convert): convert "ProvidesXxx" tags to "Provides xxx". * lib/layouts/*: update to format 4. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17740 a592a061-630c-0410-9148-cb99ea01b6c8
242 lines
4.8 KiB
Plaintext
242 lines
4.8 KiB
Plaintext
#% Do not delete the line below; configure depends on this
|
|
# \DeclareLaTeXClass{article (Int. Soc. for Photogrammetry etc) isprs}
|
|
# 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 4
|
|
Input stdclass.inc
|
|
Sides 2
|
|
Columns 2
|
|
|
|
# There are no chapters in an article.
|
|
NoStyle 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
|
|
AlignPossible Block
|
|
LabelType Top_Environment
|
|
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 Top_Environment
|
|
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
|
|
AlignPossible 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
|
|
Fill_Top 1
|
|
Fill_Bottom 1
|
|
|
|
# standard font definition
|
|
Font
|
|
Series Bold
|
|
Size LARGE
|
|
EndFont
|
|
|
|
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
|
|
Fill_Top 1
|
|
Fill_Bottom 1
|
|
|
|
# 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
|
|
Fill_Top 1
|
|
Fill_Bottom 1
|
|
|
|
# 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
|
|
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
|
|
|
|
# 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
|
|
Margin Static
|
|
LatexType Command
|
|
LatexName acknowledgements
|
|
LeftMargin ""
|
|
RightMargin ""
|
|
ParIndent ""
|
|
LabelSep X
|
|
TopSep 0.7
|
|
LabelType Top_Environment
|
|
LabelString "ACKNOWLEDGEMENTS"
|
|
|
|
Preamble
|
|
\newcommand{\acknowledgements}[1]{\section*{ACKNOWLEDGEMENTS} #1}
|
|
EndPreamble
|
|
|
|
# label font definition
|
|
Font
|
|
Size Normal
|
|
EndFont
|
|
|
|
LabelFont
|
|
Series Bold
|
|
Size Normal
|
|
EndFont
|
|
End
|
|
|