mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 03:03:06 +00:00
\tfrac support, fixing #1425
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9194 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
4c7f883059
commit
354a7f0025
@ -4,6 +4,8 @@
|
||||
* math_overset.[Ch] (validate):
|
||||
* math_underset.[Ch] (validate): require ams
|
||||
|
||||
* math_tfracinset.[Ch]: new \tfrac support
|
||||
|
||||
2004-11-02 José Matos <jamatos@lyx.org>
|
||||
|
||||
* ref_inset.[Ch] (docbook):
|
||||
|
@ -141,6 +141,8 @@ libmathed_la_SOURCES = \
|
||||
math_symbolinset.h \
|
||||
math_tabularinset.C \
|
||||
math_tabularinset.h \
|
||||
math_tfracinset.C \
|
||||
math_tfracinset.h \
|
||||
math_unknowninset.C \
|
||||
math_unknowninset.h \
|
||||
math_undersetinset.C \
|
||||
|
@ -46,6 +46,7 @@
|
||||
#include "math_substackinset.h"
|
||||
#include "math_symbolinset.h"
|
||||
#include "math_tabularinset.h"
|
||||
#include "math_tfracinset.h"
|
||||
#include "math_undersetinset.h"
|
||||
#include "math_unknowninset.h"
|
||||
#include "math_xarrowinset.h"
|
||||
@ -320,6 +321,8 @@ MathAtom createMathInset(string const & s)
|
||||
return MathAtom(new MathColorInset(false));
|
||||
if (s == "dfrac")
|
||||
return MathAtom(new MathDfracInset);
|
||||
if (s == "tfrac")
|
||||
return MathAtom(new MathTfracInset);
|
||||
|
||||
if (MacroTable::globalMacros().has(s))
|
||||
return MathAtom(new MathMacro(s,
|
||||
|
@ -82,5 +82,6 @@ void MathOversetInset::normalize(NormalStream & os) const
|
||||
void MathOversetInset::validate(LaTeXFeatures & features) const
|
||||
{
|
||||
features.require("amsmath");
|
||||
MathNestInset::validate(features);
|
||||
}
|
||||
|
||||
|
@ -94,5 +94,6 @@ void MathUndersetInset::normalize(NormalStream & os) const
|
||||
void MathUndersetInset::validate(LaTeXFeatures & features) const
|
||||
{
|
||||
features.require("amsmath");
|
||||
MathNestInset::validate(features);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user