mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-13 17:20:55 +00:00
Require amsmath when using the cases environment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_3_X@9614 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
300075334c
commit
047b8a3abc
@ -1,3 +1,7 @@
|
||||
2005-02-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
|
||||
|
||||
* math_casesinset.C (validate): New method. Requires amsmath.
|
||||
|
||||
2005-01-20 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* math_spaceinset.C (validate):
|
||||
|
@ -4,6 +4,9 @@
|
||||
#include "math_parser.h"
|
||||
#include "math_mathmlstream.h"
|
||||
#include "math_support.h"
|
||||
|
||||
#include "LaTeXFeatures.h"
|
||||
|
||||
#include "support/LOstream.h"
|
||||
|
||||
|
||||
@ -64,3 +67,10 @@ void MathCasesInset::infoize(std::ostream & os) const
|
||||
{
|
||||
os << "Cases ";
|
||||
}
|
||||
|
||||
|
||||
void MathCasesInset::validate(LaTeXFeatures & features) const
|
||||
{
|
||||
features.require("amsmath");
|
||||
MathGridInset::validate(features);
|
||||
}
|
||||
|
@ -24,6 +24,8 @@ public:
|
||||
void maplize(MapleStream &) const;
|
||||
///
|
||||
void write(WriteStream & os) const;
|
||||
///
|
||||
void validate(LaTeXFeatures & features) const;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
@ -45,6 +45,9 @@ What's new
|
||||
- Make sure that the amsmath package is used in LaTeX output when
|
||||
using some over and under arrows in equations.
|
||||
|
||||
- Make sure that the amsmath package is used in LaTeX output when
|
||||
using the cases environment in equations.
|
||||
|
||||
- Make sure that the wasysym package is used in LaTeX output when
|
||||
using symbols from the wasy font.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user