- assure amsthm is loaded if a theorem is defined with \theoremstyle.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@23578 a592a061-630c-0410-9148-cb99ea01b6c8
- backport an improvement of scrlttr2.layout from trunk (r22811)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22875 a592a061-630c-0410-9148-cb99ea01b6c8
directing to use memoir's capitalized latex macros.
* src/LaTeXFeatures.cpp (getPackages): act on feature "SetSpace".
* src/output_latex.cpp (TeXOnePar): ditto
* lib/layouts/memoir.layout: provide feature SetSpace, indicating that
memoir provides the setspace functionality, but with a different syntax.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22552 a592a061-630c-0410-9148-cb99ea01b6c8
* lib/layouts/numarticle.inc: set TocLevel here, although chapters
do not appear in articles (there will be a NoStyle Chapter later
anyway).
* lib/layouts/numreport.inc: remove the above code from here.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21744 a592a061-630c-0410-9148-cb99ea01b6c8
* layouts/amsmaths.inc: make sure that the preamble of the Theorem
layout is output when using other theorem like layouts that
need its counter (bug 4282).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21176 a592a061-630c-0410-9148-cb99ea01b6c8
* lib/layouts/foils.layout:
* lib/layouts/powerdot.layout:
* lib/layouts/slides.layout:
- put slides/foils in the TOC/outliner. This fixes bug 78 [sic!].
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21054 a592a061-630c-0410-9148-cb99ea01b6c8
* lib/layouts/ams*.inc:
- updates from Paul A. Rubin.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20488 a592a061-630c-0410-9148-cb99ea01b6c8
This means:
- added subsection style in moderncv.layout
(I had to promise to JMarc when I added the moderncv support to add this as soon as the new noderncv version is out.)
- actualize preamble of modernCV.lyx to make it compile with the new version
- better explanation of customization possibilities in the preamble of modernCV.lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18808 a592a061-630c-0410-9148-cb99ea01b6c8
* lib/layouts/IEEEtran.layout: Add a proper definition to the
preamble when using the MarkBoth environment (fix bug 3510).
Allow inserting an optional argument for theorem like environments.
Remove white space from begin of line in preamble stuff.
* lib/templates/IEEEtran.lyx: Reintroduce the MarkBoth environment
in the document body thanks to the fix above. Use optional argument
instead of ERT in Theorem environment. Use the new --Separator--
environment for splitting biography environments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18767 a592a061-630c-0410-9148-cb99ea01b6c8
faced some problems with trailing spaces. The quotes turned out to be
a good means to avoid these problems
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17807 a592a061-630c-0410-9148-cb99ea01b6c8
* 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