Back to index

texmacs  1.0.7.15
edit_math.hpp
Go to the documentation of this file.
00001 
00002 /******************************************************************************
00003 * MODULE     : edit_math.hpp
00004 * DESCRIPTION: Editing mathematics
00005 * COPYRIGHT  : (C) 1999  Joris van der Hoeven
00006 *******************************************************************************
00007 * This software falls under the GNU general public license version 3 or later.
00008 * It comes WITHOUT ANY WARRANTY WHATSOEVER. For details, see the file LICENSE
00009 * in the root directory or <http://www.gnu.org/licenses/gpl-3.0.html>.
00010 ******************************************************************************/
00011 
00012 #ifndef EDIT_MATH_H
00013 #define EDIT_MATH_H
00014 #include "editor.hpp"
00015 
00016 class edit_math_rep: virtual public editor_rep {
00017 public:
00018   edit_math_rep ();
00019   ~edit_math_rep ();
00020 
00021   void make_rigid ();
00022   void make_lprime (string s);
00023   void make_rprime (string s);
00024   void make_below ();
00025   void make_above ();
00026   void make_script (bool sup, bool right);
00027   void make_fraction ();
00028   void make_sqrt ();
00029   void make_var_sqrt ();
00030   void make_wide (string wide);
00031   void make_wide_under (string wide);
00032   void make_neg ();
00033   void make_tree ();
00034   void back_around (tree t, path p, bool forward);
00035   void back_prime (tree t, path p, bool forward);
00036   void back_in_around (tree t, path p, bool forward);
00037   void back_in_long_arrow (tree t, path p, bool forward);
00038   void back_in_wide (tree t, path p, bool forward);
00039   void back_in_tree (tree t, path p, bool forward);
00040   void pre_remove_around (path p);
00041 };
00042 
00043 #endif // defined EDIT_MATH_H