]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MathParser.cpp
Use font metrics for computing the size of math decorations
[lyx.git] / src / mathed / MathParser.cpp
index 478e906308a76b706cee5953323cebe4bbfc5dce..6d1b74741e74540d2aa7ce040b7b8aa13771eb1f 100644 (file)
@@ -1546,7 +1546,8 @@ bool Parser::parse1(InsetMathGrid & grid, unsigned flags,
 
                else if (t.cs() == "ref" || t.cs() == "eqref" || t.cs() == "prettyref"
                          || t.cs() == "nameref" || t.cs() == "pageref"
-                         || t.cs() == "vpageref" || t.cs() == "vref") {
+                         || t.cs() == "vpageref" || t.cs() == "vref" 
+                         || t.cs() == "formatted" || t.cs() == "labelonly") {
                        cell->push_back(MathAtom(new InsetMathRef(buf, t.cs())));
                        docstring const opt = parse_verbatim_option();
                        docstring const ref = parse_verbatim_item();