lyx_mirror/src/mathed
André Pönitz e5e39c1884 bugfix: in some cases the parser created unecessary extra braces
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3499 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-07 09:47:21 +00:00
..
.cvsignore
BUGS next try, part I 2002-01-03 18:37:18 +00:00
ChangeLog support for \xrightarrow and \xleftarrow 2002-02-05 09:51:40 +00:00
formula.C some changes to make some compilers somewhat happier 2002-01-08 11:03:34 +00:00
formula.h fix nasty bug when inserting labels when cursor was in nested array 2001-12-11 15:04:02 +00:00
formulabase.C small internal stuff 2002-02-07 08:19:47 +00:00
formulabase.h small internal stuff 2002-02-07 08:19:47 +00:00
formulamacro.C partial fix for #141 2002-02-01 17:01:30 +00:00
formulamacro.h
Makefile.am support for \xrightarrow and \xleftarrow 2002-02-05 09:51:40 +00:00
math_arrayinset.C Add string << operators for the other streams as well, and removes 2001-12-05 08:04:20 +00:00
math_arrayinset.h re-enable the mathcursor->normalize() safety belt. 2001-11-28 13:09:40 +00:00
math_atom.C small stuff, perhaps you should have a look at the change in math_parser, Andre 2001-12-18 03:16:46 +00:00
math_atom.h Essentially Lars' "thread safe" patch 2001-12-11 07:38:02 +00:00
math_binaryopinset.C small stuff, perhaps you should have a look at the change in math_parser, Andre 2001-12-18 03:16:46 +00:00
math_binaryopinset.h some support for matrix operations with maple ('M-x math-extern maple evalm') 2001-11-09 08:35:57 +00:00
math_binominset.C small stuff, perhaps you should have a look at the change in math_parser, Andre 2001-12-18 03:16:46 +00:00
math_binominset.h some support for matrix operations with maple ('M-x math-extern maple evalm') 2001-11-09 08:35:57 +00:00
math_boxinset.C visual support for \displaystyle 2002-01-03 12:02:54 +00:00
math_boxinset.h preliminary support for \mbox 2001-12-18 12:21:33 +00:00
math_braceinset.C some support for matrix operations with maple ('M-x math-extern maple evalm') 2001-11-09 08:35:57 +00:00
math_braceinset.h bugfix: in some cases the parser created unecessary extra braces 2002-02-07 09:47:21 +00:00
math_casesinset.C small stuff, perhaps you should have a look at the change in math_parser, Andre 2001-12-18 03:16:46 +00:00
math_casesinset.h support for \begin{cases}...\end{cases} (for interactive creation type M-x 2001-11-12 16:45:09 +00:00
math_charinset.C Martin's validate() patch (\pm\varepsilon\smile) 2002-01-18 14:27:54 +00:00
math_charinset.h Fix fuer #209 2002-02-01 10:21:29 +00:00
math_cursor.C small internal stuff 2002-02-07 08:19:47 +00:00
math_cursor.h Somewhat better behaviour for Umlauts in math 2002-02-01 14:56:49 +00:00
math_data.C partial fix for #141 2002-02-01 17:01:30 +00:00
math_data.h partial fix for #141 2002-02-01 17:01:30 +00:00
math_decorationinset.C draw decorations closer to the place where LaTeX puts them 2002-02-01 15:53:34 +00:00
math_decorationinset.h some support for matrix operations with maple ('M-x math-extern maple evalm') 2001-11-09 08:35:57 +00:00
math_defs.h Angus' patch 2002-01-07 15:09:12 +00:00
math_deliminset.C Add string << operators for the other streams as well, and removes 2001-12-05 08:04:20 +00:00
math_deliminset.h forgotten file math_extern[Ch] 2001-11-09 10:44:24 +00:00
math_diffinset.C add paranthesis around numerator and denominator when exporting fractions 2001-11-13 16:27:06 +00:00
math_diffinset.h add paranthesis around numerator and denominator when exporting fractions 2001-11-13 16:27:06 +00:00
math_diminset.C small stuff, perhaps you should have a look at the change in math_parser, Andre 2001-12-18 03:16:46 +00:00
math_diminset.h
math_dotsinset.C Add string << operators for the other streams as well, and removes 2001-12-05 08:04:20 +00:00
math_dotsinset.h some support for matrix operations with maple ('M-x math-extern maple evalm') 2001-11-09 08:35:57 +00:00
math_exfuncinset.C Fixes for a broken std::count. 2002-01-11 17:57:02 +00:00
math_exfuncinset.h improved function function argument detection for math-extern: 2001-11-13 18:33:48 +00:00
math_exintinset.C small stuff, perhaps you should have a look at the change in math_parser, Andre 2001-12-18 03:16:46 +00:00
math_exintinset.h math-extern: some support for things like d/dx 2001-11-15 14:14:37 +00:00
math_extern.C make operator<<(*stream, ...) free functions; 2001-12-03 16:24:50 +00:00
math_extern.h forgotten file math_extern[Ch] 2001-11-09 10:44:24 +00:00
math_factory.C support for \xrightarrow and \xleftarrow 2002-02-05 09:51:40 +00:00
math_factory.h
math_fracbase.C more up/down tweaking; 2001-12-12 14:05:38 +00:00
math_fracbase.h more up/down tweaking; 2001-12-12 14:05:38 +00:00
math_fracinset.C cosmetics: move numerator and denominator in fravctions closer together 2002-01-03 13:02:43 +00:00
math_fracinset.h improved function function argument detection for math-extern: 2001-11-13 18:33:48 +00:00
math_funcinset.C Add string << operators for the other streams as well, and removes 2001-12-05 08:04:20 +00:00
math_funcinset.h search & replace for symbols & function 2001-11-16 12:00:27 +00:00
math_funcliminset.C Add string << operators for the other streams as well, and removes 2001-12-05 08:04:20 +00:00
math_funcliminset.h some support for matrix operations with maple ('M-x math-extern maple evalm') 2001-11-09 08:35:57 +00:00
math_gridinset.C bugfix (too many \\ when writing gridded structures) 2002-02-07 08:25:55 +00:00
math_gridinset.h small internal stuff 2002-02-07 08:19:47 +00:00
math_hash.C proper support for \underset 2002-02-01 10:33:06 +00:00
math_hullinset.C updates to latexfeatures stuff; allow empty \document_path 2002-01-10 10:05:45 +00:00
math_hullinset.h fix nasty bug when inserting labels when cursor was in nested array 2001-12-11 15:04:02 +00:00
math_inset.C small internal stuff 2002-02-07 08:19:47 +00:00
math_inset.h bugfix: in some cases the parser created unecessary extra braces 2002-02-07 09:47:21 +00:00
math_iterator.C some changes to make some compilers somewhat happier 2002-01-08 11:03:34 +00:00
math_iterator.h some changes to make some compilers somewhat happier 2002-01-08 11:03:34 +00:00
math_kerninset.C Fixes for a broken std::count. 2002-01-11 17:57:02 +00:00
math_kerninset.h some support for matrix operations with maple ('M-x math-extern maple evalm') 2001-11-09 08:35:57 +00:00
math_lefteqninset.C visual support for \displaystyle 2002-01-03 12:02:54 +00:00
math_lefteqninset.h some support for matrix operations with maple ('M-x math-extern maple evalm') 2001-11-09 08:35:57 +00:00
math_limitopinset.C Add string << operators for the other streams as well, and removes 2001-12-05 08:04:20 +00:00
math_limitopinset.h some work on math-extern 2001-11-09 14:23:44 +00:00
math_macro.C re-enable automatic deletion of empty super/subscripts; 2001-12-12 13:11:28 +00:00
math_macro.h re-enable automatic deletion of empty super/subscripts; 2001-12-12 13:11:28 +00:00
math_macroarg.C enable direct input of #1...#9; some whitespace changes 2002-01-11 10:26:13 +00:00
math_macroarg.h make \newcommand{\bb}[1]{\mathbf{#1}} work for read/write/display. 2002-01-10 14:02:37 +00:00
math_macrotable.C Add macros for \models and \Join. 2002-01-26 18:33:45 +00:00
math_macrotable.h
math_macrotemplate.C input support for \mathcal, \mathbb etc. 2001-12-11 11:33:43 +00:00
math_macrotemplate.h some support for matrix operations with maple ('M-x math-extern maple evalm') 2001-11-09 08:35:57 +00:00
math_mathmlstream.C Create a new support function lyx::count to use in place of std::count. 2002-01-14 13:04:06 +00:00
math_mathmlstream.h Angus: 'WriteStream::addlines' is now the only way to change 'lines_' 2002-01-11 15:23:10 +00:00
math_matrixinset.C simple MathML output for integrals 2001-11-09 18:02:20 +00:00
math_matrixinset.h some support for matrix operations with maple ('M-x math-extern maple evalm') 2001-11-09 08:35:57 +00:00
math_metricsinfo.C halfway through fixing size of math in non-standard sizesd paragraohs like 2001-10-19 17:46:13 +00:00
math_metricsinfo.h - remove MathStyles cache from those insets that don't need it 2001-10-22 15:37:49 +00:00
math_nestinset.C partial fix for #141 2002-02-01 17:01:30 +00:00
math_nestinset.h partial fix for #141 2002-02-01 17:01:30 +00:00
math_notinset.C some support for matrix operations with maple ('M-x math-extern maple evalm') 2001-11-09 08:35:57 +00:00
math_notinset.h some support for matrix operations with maple ('M-x math-extern maple evalm') 2001-11-09 08:35:57 +00:00
math_parser.C bugfix: in some cases the parser created unecessary extra braces 2002-02-07 09:47:21 +00:00
math_parser.h partial fix for #141 2002-02-01 17:01:30 +00:00
math_pos.C forward search in math insets. ugly. seems to work. don't ask why. 2002-01-03 09:41:26 +00:00
math_pos.h revert most of the stuff that got reverted yesterday but was not 2001-12-11 15:35:18 +00:00
math_replace.h *** empty log message *** 2001-11-16 11:24:55 +00:00
math_rootinset.C re-enable automatic deletion of empty super/subscripts; 2001-12-12 13:11:28 +00:00
math_rootinset.h re-enable automatic deletion of empty super/subscripts; 2001-12-12 13:11:28 +00:00
math_scriptinset.C fix #218 2002-02-01 11:57:26 +00:00
math_scriptinset.h fix #218 2002-02-01 11:57:26 +00:00
math_sizeinset.C visual support for \displaystyle 2002-01-03 12:02:54 +00:00
math_sizeinset.h some support for matrix operations with maple ('M-x math-extern maple evalm') 2001-11-09 08:35:57 +00:00
math_spaceinset.C fix 'math background wrong in selected text' problem 2001-11-20 15:20:03 +00:00
math_spaceinset.h math-extern: some support for things like d/dx 2001-11-15 14:14:37 +00:00
math_specialcharinset.C some support for matrix operations with maple ('M-x math-extern maple evalm') 2001-11-09 08:35:57 +00:00
math_specialcharinset.h some support for matrix operations with maple ('M-x math-extern maple evalm') 2001-11-09 08:35:57 +00:00
math_splitinset.C make operator<<(*stream, ...) free functions; 2001-12-03 16:24:50 +00:00
math_splitinset.h strange enough: parts not commited during the last 'cvs commit' .. 2001-11-20 17:16:21 +00:00
math_sqrtinset.C make operator<<(*stream, ...) free functions; 2001-12-03 16:24:50 +00:00
math_sqrtinset.h some support for matrix operations with maple ('M-x math-extern maple evalm') 2001-11-09 08:35:57 +00:00
math_stackrelinset.C cosmetics: move numerator and denominator in fravctions closer together 2002-01-03 13:02:43 +00:00
math_stackrelinset.h some support for matrix operations with maple ('M-x math-extern maple evalm') 2001-11-09 08:35:57 +00:00
math_streamstr.C Create a new support function lyx::count to use in place of std::count. 2002-01-14 13:04:06 +00:00
math_streamstr.h Add string << operators for the other streams as well, and removes 2001-12-05 08:04:20 +00:00
math_stringinset.C Martin's validate() patch (\pm\varepsilon\smile) 2002-01-18 14:27:54 +00:00
math_stringinset.h infrastructure for requiring "amssymb". 2002-01-17 08:07:06 +00:00
math_support.C small internal stuff 2002-02-07 08:19:47 +00:00
math_support.h visual support for \displaystyle 2002-01-03 12:02:54 +00:00
math_symbolinset.C Martin's validate() patch (\pm\varepsilon\smile) 2002-01-18 14:27:54 +00:00
math_symbolinset.h Fix fuer #209 2002-02-01 10:21:29 +00:00
math_undersetinset.C proper support for \underset 2002-02-01 10:33:06 +00:00
math_undersetinset.h proper support for \underset 2002-02-01 10:33:06 +00:00
math_unknowninset.C partial fix for #141 2002-02-01 17:01:30 +00:00
math_unknowninset.h partial fix for #141 2002-02-01 17:01:30 +00:00
math_xarrowinset.C forgotten files 2002-02-05 13:27:34 +00:00
math_xarrowinset.h forgotten files 2002-02-05 13:27:34 +00:00
math_xdata.C draw decorations closer to the place where LaTeX puts them 2002-02-01 15:53:34 +00:00
math_xdata.h brute force does not need much code... 2001-12-05 18:00:36 +00:00
math_xymatrixinset.C forgotten files 2002-02-05 13:27:34 +00:00
math_xymatrixinset.h forgotten files 2002-02-05 13:27:34 +00:00
README deep iterators for math insets; 2001-12-05 17:50:18 +00:00
texify

Inset 'Xyz' is implemented by 'MathXyzInset' in 'math_xyzinset.[hC]'


Inset hierarchy:
                                   
                                   MathInset   
                                (abstract base)

                         /            |             \

              Dim                  Char                   MacroArg
         (thing that need       (for things formerly 
          the width_/ascent_     known as characters) 
          /descent_ cache)
        
          /             \

       Nest              Dots  Func  Space  Symbol Bigop Noglyph
  (for thing with      
   nested content)     

        |         \

      Grid        Decoration   Delim   Frac  Macro  Root  Script  Sqrt

      /   \

 Array    Hull
         (base for eqnarray/align/...)



There are only two "real LyXInsets" in here:

Formula       - containing a pointer to a  MathHullInset 
FormulaMacro  - containing a pointer to a  MathMacroTemplate