lyx_mirror/lib
Jean-Marc Lasgouttes f643ae7007 Merge branch 'betterspacing'
The purpose of this branch is to improve the spacing in math equations

* do not use hardcoded pixel values, but math units that depend on
  zoom and dpi. This should be good for HiDPI systems.

* implement as much as possible the math typesetting algorithm
  described in Appendix G of the TeXbook.

One typical example of the spacing algorithm is that ``-a'' has no
spacing, contrary to ``a + b''. This reflects the unitary/binary
minus that will indeed happen in typeset output.

Together with the better character substitution that has already been
implemented by Guillaume, we get a nice improvement of mathed looks.

What makes this code complicated is that it handles macros properly:
the spacing inside the macro will depend on the values of the
arguments and the elements that are before and after the macro.

As a result, many definitions in lib/symbols are now just copy/pasted
from the relevant sty file. In particular, it is now possible to make
use of \mathrel, \mathbin, etc. macros to specify spacing.

This merge is a starting point. Remaining work includes

* proper handling of sub/superscript nucleus and of font-changing
  insets (as is done in the TeX algorithm).
* proper typesetting of fractions

Thanks to Guillaume for extensive testing.
2016-11-17 09:44:01 +01:00
..
bind New LFUN tabular-feature: update bind and ui files 2016-01-27 18:22:32 +01:00
commands
doc Set default output format to XeTeX in Arabic docs 2016-11-13 22:42:18 -05:00
examples doc files: port recent changes 2016-11-07 23:53:19 +01:00
fonts Really regenerate cmex10.ttf from .sfd at af970c20 2016-01-24 11:40:03 +01:00
images More fixes for #9897 (wrong inset-icon size in PDF) 2016-05-29 17:55:43 -04:00
kbd
layouts Handle | verbatim in index insets. 2016-10-27 18:12:30 +02:00
lyx2lyx add support for Urdu and Syriac 2016-10-28 00:21:58 +02:00
scripts Implement PassThru option to arguments. 2016-10-21 10:39:55 +02:00
templates doc files: port recent changes 2016-11-07 23:53:19 +01:00
tex
ui Better title for ViewSource 2016-09-21 16:42:38 +02:00
.gitignore
appdata.xml
autocorrect
build-listerrors
chkconfig.ltx Varwidth module provided by d.iabo 2015-11-01 11:00:23 +01:00
configure.py Initial commit of Inkscape SVG LaTeX + PDF support 2016-10-04 00:01:18 +02:00
CREDITS Add Daniel to credits 2016-10-09 20:12:31 +02:00
encodings encodings: use correct encoding "latin7" for ISO 8859-13 2016-11-08 00:04:02 +01:00
external_templates Further fixes due to remarks by Pavel Sanda Sep. 5, 2016 2016-10-04 00:01:18 +02:00
generate_contributions.py Add Daniel to credits 2016-10-09 20:12:31 +02:00
languages encodings: use correct encoding "latin7" for ISO 8859-13 2016-11-08 00:04:02 +01:00
latexfonts
layouttranslations Update translation of Chart by Georger 2016-04-07 07:37:44 +02:00
layouttranslations.review Review of greek layout translations by Οδυσσέας 2016-04-04 22:05:31 +02:00
lyx.desktop.in
Makefile.am Initial commit of Inkscape SVG LaTeX + PDF support 2016-10-04 00:01:18 +02:00
RELEASE-NOTES Change default working directory from ~/ to "." 2016-10-11 22:25:42 -04:00
symbols Cleanup of lib/symbols 2016-11-17 08:48:32 +01:00
syntax.default Add missing entries in syntax.default 2016-08-19 16:02:36 +02:00
unicodesymbols lib/unicodesymbols tests and fixes. 2016-11-15 23:50:41 +01:00