From 638d0581e2e9996ea23d90f116ebf0f707e72f20 Mon Sep 17 00:00:00 2001 From: John Levon Date: Mon, 9 Sep 2002 15:53:20 +0000 Subject: [PATCH] add latex_deco git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5239 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/controllers/ChangeLog | 5 +++++ src/frontends/controllers/ControlMath.C | 11 +++++++++++ src/frontends/controllers/ControlMath.h | 2 ++ 3 files changed, 18 insertions(+) diff --git a/src/frontends/controllers/ChangeLog b/src/frontends/controllers/ChangeLog index 9b5eb4fa34..9751be4a90 100644 --- a/src/frontends/controllers/ChangeLog +++ b/src/frontends/controllers/ChangeLog @@ -1,3 +1,8 @@ +2002-09-09 John Levon + + * ControlMath.h: + * ControlMath.C: add latex_deco + 2002-09-06 John Levon * ControlMath.C: terminate dots diff --git a/src/frontends/controllers/ControlMath.C b/src/frontends/controllers/ControlMath.C index d0cf5d4808..bbf11dfd9c 100644 --- a/src/frontends/controllers/ControlMath.C +++ b/src/frontends/controllers/ControlMath.C @@ -28,6 +28,17 @@ char const * latex_dots[] = { int const nr_latex_dots = sizeof(latex_dots) / sizeof(char const *) - 1; +char const * latex_deco[] = { + "widehat", "widetilde", "overbrace", "overleftarrow", "overrightarrow", + "overline", "underbrace", "underline", "underleftarrow", "underrightarrow", + "underleftrightarrow", "overleftrightarrow", + "hat", "acute", "bar", "dot", + "check", "grave", "vec", "ddot", + "breve", "tilde", "" +}; + +int const nr_latex_deco = sizeof(latex_deco) / sizeof(char const *) - 1; + char const * latex_arrow[] = { "downarrow", "leftarrow", "Downarrow", "Leftarrow", "hookleftarrow", "rightarrow", "uparrow", "Rightarrow", "Uparrow", diff --git a/src/frontends/controllers/ControlMath.h b/src/frontends/controllers/ControlMath.h index b75369ebfb..b5f2e22712 100644 --- a/src/frontends/controllers/ControlMath.h +++ b/src/frontends/controllers/ControlMath.h @@ -25,6 +25,8 @@ extern char const * latex_dots[]; extern int const nr_latex_dots; extern char const * latex_greek[]; extern int const nr_latex_greek; +extern char const * latex_deco[]; +extern int const nr_latex_deco; extern char const * latex_misc[]; extern int const nr_latex_misc; extern char const * latex_varsz[]; -- 2.39.5