mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 02:14:50 +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
86 lines
2.0 KiB
Plaintext
86 lines
2.0 KiB
Plaintext
#% Do not delete the line below; configure depends on this
|
|
# \DeclareLaTeXClass{article (AMS)}
|
|
# AMS-Article textclass definition file. Taken from initial LyX source code
|
|
# and from the Article textclass definition file, following the AMS sample
|
|
# paper "testmath.tex" of January, 1995
|
|
# Author : David L. Johnson <dlj0@lehigh.edu>
|
|
# Probably broken by Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
|
|
# modified and modularized by Emmanuel GUREGHIAN <gureghia@boston.bertin.fr>
|
|
|
|
Format 4
|
|
Columns 1
|
|
Sides 2
|
|
PageStyle Headers
|
|
|
|
|
|
ClassOptions
|
|
FontSize 8|9|10|11|12
|
|
End
|
|
|
|
|
|
Style Standard
|
|
Margin Static
|
|
LatexType Paragraph
|
|
LatexName dummy
|
|
ParIndent MM
|
|
ParSkip 0.4
|
|
Align Block
|
|
AlignPossible Block, Left, Right, Center
|
|
LabelType No_Label
|
|
End
|
|
|
|
|
|
Preamble
|
|
\theoremstyle{plain}
|
|
\newtheorem{thm}{Theorem}[section]
|
|
\numberwithin{equation}{section} %% Comment out for sequentially-numbered
|
|
\numberwithin{figure}{section} %% Comment out for sequentially-numbered
|
|
EndPreamble
|
|
|
|
|
|
Input stdsections.inc
|
|
Input stdstarsections.inc
|
|
Input lyxmacros.inc
|
|
Input amsdefs.inc
|
|
Input stdlayouts.inc
|
|
Input stdlists.inc
|
|
Input stdfloats.inc
|
|
Input stdcounters.inc
|
|
|
|
NoStyle Chapter
|
|
NoStyle Paragraph
|
|
NoStyle Subparagraph
|
|
NoStyle Chapter*
|
|
#NoStyle Paragraph*
|
|
#NoStyle Subparagraph*
|
|
|
|
NoStyle Verse # Although mathematicians tend to be poets at times,
|
|
# we don't need this.
|
|
|
|
|
|
Style Section
|
|
Align Center
|
|
AlignPossible Block, Center, Left
|
|
Font
|
|
Series Medium
|
|
Shape Smallcaps
|
|
Size Large
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Subsection
|
|
Font
|
|
Series Bold
|
|
Size Normal
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Subsubsection
|
|
Font
|
|
Shape Italic
|
|
Size Normal
|
|
EndFont
|
|
End
|