mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-14 12:25:11 +00:00
The \text macro does not require the full AMS package. Also load amstext
when a text-in-math environment is used, such that super and subscripts are typeset in the correct size. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29098 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
67cbe895fe
commit
8f52d3b7db
@ -88,8 +88,9 @@ void InsetMathFont::validate(LaTeXFeatures & features) const
|
||||
// Fraktur used:
|
||||
if (key_->name == "mathfrak" || key_->name == "mathbb")
|
||||
features.require("amssymb");
|
||||
if (key_->name == "text")
|
||||
features.require("amsmath");
|
||||
if (key_->name == "text" || key_->name == "textnormal"
|
||||
|| (key_->name.length() == 6 && key_->name.substr(0, 4) == "text"))
|
||||
features.require("amstext");
|
||||
if (key_->name == "textipa")
|
||||
features.require("tipa");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user