mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-04 22:32:19 +00:00
9e5eebc14c
* src/TextClass{cpp,h}: - implement Requires tag for class and InsetLayout. * src/Layout.{cpp,h}: - implement Requires tag for layouts. - increase layouts format to 6. * src/Paragraph.cpp: - request required features for paragraph layouts. * src/LaTeXFeatures.cpp: - add some packages needed by modules. - remove Preamble method for InsetLayout. This is now done in InsetFlex::validate. * src/BufferParams.cpp (validate): - request required features for the class. * src/insets/InsetLayout.h: - new member "requires". * src/insets/InsetFlex.{cpp,h}: - implement validate method and request required features and preamble snippets. * lib/layouts/*.{layout,module,inc}: - increase layouts format to 6. - use Requires tags in some modules (more can be done later). * lib/doc/Customization.lyx: - document Requires tag. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22414 a592a061-630c-0410-9148-cb99ea01b6c8
123 lines
2.1 KiB
Plaintext
123 lines
2.1 KiB
Plaintext
#% Do not delete the line below; configure depends on this
|
|
# \DeclareLaTeXClass[article,latex8.sty,times.sty]{article (Latex8)}
|
|
# Latex8 textclass definition file.
|
|
# Author : Allan Rae <rae@elec.uq.edu.au>
|
|
|
|
Format 6
|
|
Preamble
|
|
\usepackage{latex8}
|
|
\usepackage{times}
|
|
EndPreamble
|
|
|
|
|
|
Input stdclass.inc
|
|
|
|
Columns 1
|
|
|
|
ClassOptions
|
|
FontSize 10
|
|
End
|
|
|
|
NoStyle Part
|
|
NoStyle Part*
|
|
NoStyle Chapter
|
|
NoStyle Chapter*
|
|
NoStyle Section*
|
|
NoStyle Subsection*
|
|
NoStyle Subsubsection
|
|
NoStyle Subsubsection*
|
|
NoStyle Paragraph
|
|
NoStyle Subparagraph
|
|
|
|
|
|
Style Title
|
|
Font
|
|
Series Bold
|
|
Size Larger
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Section
|
|
TopSep 1.0
|
|
BottomSep 1.0
|
|
ParSep 1.0
|
|
latexname "Section"
|
|
End
|
|
|
|
|
|
Style Subsection
|
|
TopSep 1.0
|
|
BottomSep 1.0
|
|
ParSep 1.0
|
|
latexname "SubSection"
|
|
End
|
|
|
|
|
|
Style Email
|
|
Margin Dynamic
|
|
LatexType Command
|
|
InTitle 1
|
|
LatexName email
|
|
LabelSep xxx
|
|
ParSkip 0.4
|
|
TopSep 0.9
|
|
BottomSep 0.5
|
|
ParSep 1
|
|
Align Center
|
|
AlignPossible Center
|
|
LabelType Static
|
|
LabelString "E-mail:"
|
|
Font
|
|
Size Large
|
|
Family Typewriter
|
|
EndFont
|
|
LabelFont
|
|
Family Roman
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Affiliation
|
|
Margin Dynamic
|
|
LatexType Command
|
|
InTitle 1
|
|
LatexName affiliation
|
|
LabelSep xxx
|
|
ParSkip 0.4
|
|
TopSep 0.9
|
|
BottomSep 0.5
|
|
ParSep 1
|
|
Align Center
|
|
AlignPossible Center
|
|
LabelType No_Label
|
|
Font
|
|
Size Large
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Abstract
|
|
LeftMargin ""
|
|
RightMargin ""
|
|
Font
|
|
Size Normal
|
|
Shape Italic
|
|
EndFont
|
|
|
|
LabelFont
|
|
Size Large
|
|
Shape Up
|
|
Series Bold
|
|
EndFont
|
|
End
|
|
|
|
|
|
|
|
|
|
Style Bibliography
|
|
LabelFont
|
|
Size Large
|
|
EndFont
|
|
End
|