lyx_mirror/lib
Jean-Marc Lasgouttes f96b99dcb3 Implement properly \limits and \nolimits
These are now properties of insets that can be operators :
InsetMathSymbols, InsetMathDecoration (for over/underbrace) and
InsetMathMacro (for its contents).

Each of these has a limit_ member that allows to remember a limit
forcing and a member defaultLimits() that indicates what to do in the
absence of such forcing. Moreover the write() method calls
writeLimits().

This allows to simplify the definitions of integrals in lib/symbols by
defining the integrals as macros of their "op" version, as it is done in
the style files.

Also, many hardcoded assumptions can now be removed.

The handling of LFUN_MATH_LIMITS is now done in InsetNest, which tries
successively to apply the limit change to (1) the character after
cursor, (2) the character before cursor and (3) the character at the
end of the inset (useful for script insets?)

The new code allows to define
  \newcommand\int{\intop\limits}
but not
  \newcommand\makelimits#1{#1\limits}

It is also possible to type explicitly \limits or \nolimits to modify
a symbol.
2020-07-20 23:20:26 +02:00
..
attic Use utf8 as inputenc for documentation, examples, and templates. 2019-05-08 21:29:01 +02:00
bind Add bind to Insert > Separated <Environment> Above 2020-05-23 14:36:59 -04:00
citeengines Update layout format 2020-05-23 11:45:01 -04:00
commands
doc Add support for Libertinus Math 2020-07-09 18:59:54 +02:00
examples Remove old example, as its mechanisms are now deprecated. 2020-07-02 15:27:20 +02:00
fonts Add support for the doublestroke package 2020-06-11 16:42:31 +02:00
images Add support for the doublestroke package 2020-06-11 16:42:31 +02:00
kbd
layouts DocBook: allow Tufte books to be (more) properly generated. 2020-07-20 03:01:41 +02:00
lyx2lyx Partial revert of e3027574: don't add \docbook_table_output at lyx2lyx step, let LyX do it when saving the document 2020-07-20 01:56:33 +02:00
scripts Add required elements in the layouts to support DocBook. 2020-07-07 09:49:48 +02:00
tabletemplates Use utf8 as inputenc for documentation, examples, and templates. 2019-05-08 21:29:01 +02:00
templates Remove old example, as its mechanisms are now deprecated. 2020-07-02 15:27:20 +02:00
tex
ui Add required elements in the layouts to support DocBook. 2020-07-07 09:49:48 +02:00
xtemplates Add resize facility to inkscape template. 2017-11-04 10:38:37 +01:00
.gitignore Ignore some more files when building in source tree 2020-04-23 19:17:15 +02:00
appdata.xml
autocorrect Math autocorret: cycle through dots 2019-06-03 16:55:55 +02:00
build-listerrors
chkconfig.ltx Add support for Libertinus Math 2020-07-09 18:59:54 +02:00
configure.py The new DocBook output has no prerequisite on the document, so enable it for each and every document. 2020-07-08 09:35:03 +02:00
CREDITS Add Henry Chern to credits 2020-05-26 12:45:25 +02:00
encodings Improve encoding GUI string 2019-06-26 08:57:05 +02:00
generate_contributions.py * contrib 2020-07-07 09:52:22 +02:00
languages Enhance support for Xindy 2019-12-15 12:01:59 +01:00
latexfonts Add support for Libertinus Math 2020-07-09 18:59:54 +02:00
layouttranslations * fix missing entry in ia.po 2020-03-20 20:43:39 +01:00
layouttranslations.review layouttranslations check from Giovanni 2020-03-20 17:48:36 +01:00
lyx.desktop.in Use suffixed name for desktop entry. 2017-10-20 12:17:55 +02:00
Makefile.am Remove AGU DTD style, probably doesn't work, impossible to check. 2020-07-08 13:36:08 +02:00
RELEASE-NOTES * RELEASE-NOTES 2020-07-12 11:52:06 +02:00
symbols Implement properly \limits and \nolimits 2020-07-20 23:20:26 +02:00
syntax.default syntax.default: some additions. 2018-03-09 15:17:23 +01:00
unicodesymbols unicodesymbols: force "latin capital letter Schwa" also for utf8x. 2019-08-21 09:00:10 +02:00