76 Commits

Author SHA1 Message Date
damaxwell
51a21403ba
Improved #box baselines in math (#1755)
* Improved #box baselines in math

* add a test
2023-07-20 12:59:22 +02:00
damaxwell
c72952b512
Center delimiters vertically about the axis (#1756) 2023-07-20 12:50:12 +02:00
damaxwell
6a396ae214
Center large operators on axis (#1735) 2023-07-20 09:47:29 +02:00
damaxwell
7dc605307c
Improved math root layout (#1743) 2023-07-18 15:41:35 +02:00
damaxwell
e43903d625
split attach test (#1744) 2023-07-18 10:26:20 +02:00
damaxwell
7a1cd362aa
Support for bounding box text edges (#1626) 2023-07-17 18:19:46 +02:00
Liam Murphy
e0e797c27d
Classify dots.c, dots.down, dots.up and dots.v as normal (#1726)
Fixes #713. They were previously classified by Unicode as relations, which caused a '+' sign after one of them to be treated as a unary operator rather than a binary operator. This PR overrides the Unicode classification and classifies them as normal instead, which causes a '+' sign after one of them to be properly treated as a binary operator.
2023-07-17 16:08:19 +02:00
sitandr
dfe361ec6a
Better primes in math (#1614) 2023-07-10 12:09:09 +02:00
Eric Biedert
be0f8fe6d7
Customizable math classes (#1681) 2023-07-10 11:00:12 +02:00
bluebear94
cba200d4ec
Handle single and alternate substs for single glyphs in math mode (#1592) 2023-07-06 10:11:42 +02:00
bluebear94
a4756d8576
Add support for weak elements in math (#1633) 2023-07-06 09:37:19 +02:00
damaxwell
9eb350d7de
support optical sizes for script/scriptscript when available (#1580) 2023-06-26 13:51:27 +02:00
damaxwell
1861ceb179
math under/overline now draws simple lines based on parameters in math font table (#1568) 2023-06-26 13:42:38 +02:00
sitandr
c5e82b3fa8
Added argument to disable limits in inline math, closes #1522 (#1552) 2023-06-24 14:28:36 +02:00
bluebear94
ececd07424
Make factorial take precedence over fraction in math expressions (#1487)
Fixes #1475.
2023-06-20 16:59:42 +02:00
sitandr
03675fc429
Created new system for limits (fixes #1443) (#1452) 2023-06-20 16:58:22 +02:00
Alex Saveau
635ef03273
Treat function-looking code in attachment as function (#985) 2023-06-09 11:36:44 +02:00
Alex Saveau
61effc350a
Don't type check matrices (#1442) 2023-06-09 10:25:12 +02:00
sitandr
5dbc15ef0c
Forced size command in math (#1128) 2023-05-23 11:22:27 +02:00
sitandr
42c3a6fa72
Fixed symbol style reset in stretching (#1195) 2023-05-19 15:33:15 +02:00
sitandr
4b17c3f5c6
Show rules for symbols (fixes #1130) (#1175) 2023-05-12 12:26:26 +02:00
Leedehai
e8de8a49c5
Adjust attach() per TeXbook Appendix G 18a (#1129) 2023-05-11 17:38:04 +02:00
Alex Saveau
e472b0347f
Alternate between right/left alignment in equations (#936) 2023-05-11 14:56:17 +02:00
Marmare314
edc0632d8c
Add shorthand for root operation (#929) 2023-05-03 11:16:38 +02:00
Martin Haug
17cef8dcee
Add ICC profiles to images in PDF and update usvg, svg2pdf (#822) 2023-05-02 13:53:20 +02:00
Pg Biel
0d8c3254b7
Initial fix for spacing on decorated math operators (#1023) 2023-04-28 18:49:02 +02:00
Alex Saveau
1235d52c52
Make ast == ast.op (fixes #1004) (#1017) 2023-04-27 22:34:46 +02:00
Leedehai
62361b4127
Support indices preceding the base symbol, revamping #699 (#825)
Breaking change: abbreviate attach() attachment params, top -> t, bottom -> b
2023-04-25 11:24:07 +02:00
Alex Saveau
fb99090208
Support implicit alignment (#749) 2023-04-25 11:22:32 +02:00
Alex Saveau
bc802bd8fb
Fix broken matrices with alignment and optimize code while we're at it (#935) 2023-04-24 11:16:13 +02:00
Alex Saveau
5ccc687619
Obey alignment in matrices (#892) 2023-04-24 11:04:04 +02:00
Pg Biel
a4075f8b9b
Implement math cancel function (#793) 2023-04-21 11:28:46 +02:00
Alex Saveau
851b154a6c
Convert math alignment to single-pass algorithm (#891) 2023-04-20 19:48:11 +02:00
Alex Saveau
b285bea41d
Make dot be multiplication and add dot.period for periods (#747) 2023-04-19 19:08:59 +02:00
Alex Saveau
03d2ec9f81
Strip trailing line breaks in math equations (#750) 2023-04-13 10:42:03 +02:00
Laurenz
24e26b8c77 Fix styling of text operators 2023-03-29 19:21:01 +02:00
Laurenz
66de90437f Update fibonacci example and add round function 2023-03-27 20:23:37 +02:00
Laurenz
c5fb34123c Fix parsing of unbalanced delimiters in math 2023-03-27 16:09:26 +02:00
Laurenz
13ece5ec26 Allow disabling vector and matrix delimiters 2023-03-27 14:52:25 +02:00
Laurenz
51d972ec24 Fix matrix delimiters
Fixes #200.
2023-03-27 13:14:21 +02:00
Laurenz
2c7f2c005a Parse decimals as a unit
Fixes #257.
2023-03-27 12:50:00 +02:00
Alexander Ekdahl
766d1be72b
Newton's notation for derivatives (#281) 2023-03-25 13:32:25 +01:00
Laurenz
b934a2fd83 Embed standard fonts in binary 2023-03-21 23:18:56 +01:00
Laurenz
c7f4d6b12e Equation numbering 2023-03-18 19:54:00 +01:00
Laurenz
7597b99789 New default style 2023-02-25 20:04:30 +01:00
Laurenz
cc9b52ddd4 Better table lines 2023-02-14 12:08:05 +01:00
Laurenz
d689d706ea Vertically center non-math content in math by default 2023-02-12 21:14:12 +01:00
Laurenz
93138e2d4b Fix font switch in math 2023-02-03 17:47:05 +01:00
Laurenz
2bb0135d2a Fix inconsistency between text and idents in math 2023-02-02 22:33:12 +01:00
Laurenz
255044e04e Ignore accent when positioning superscript 2023-02-02 21:21:04 +01:00