88 Commits

Author SHA1 Message Date
SekoiaTree
3dcbe859fb
Add gaps for matrix, case, and vector (#2186) 2023-09-21 10:26:47 +02:00
Eric Biedert
b10f9ae7b7
Fix "set align" for block equations (#2157) 2023-09-18 14:51:34 +02:00
Laurenz Stampfl
a5e39d814c
Update to usvg 0.35 (#2113) 2023-09-13 16:41:45 +02:00
Laurenz
65aeea3142 Fix spacing after number in math
Fixes #1052
2023-09-06 12:15:27 +02:00
Laurenz
fe402759c0 Don't automatically match fences
Fixes #306
2023-09-06 12:07:37 +02:00
sitandr
b2d6cb58dc
Fix weak spacing broken in math (#1966) 2023-08-26 17:36:52 +02:00
lolstork
c00fc14905
Initial support for augmented matrices (#1679) 2023-08-25 11:16:03 +02:00
sitandr
2f81089995
Fix single prime in subscript (#1909)
* Fix single prime in subscript (a_' producing wrong result)

* Clippy
2023-08-10 21:36:05 +02:00
damaxwell
ba0990f189
Period and slash are ordinary characters in math (#1855) 2023-08-05 12:02:38 +02:00
damaxwell
ad55755f33
Correct spacing between closing delimiter and large operators (#1857) 2023-08-05 12:01:53 +02:00
damaxwell
20eb284318
Ensure normal weight math font face is consistent (#1774) 2023-08-03 00:34:54 +02:00
damaxwell
cd163868f5
large operators have limits in displays; relations have limits always (#1748) 2023-08-03 00:27:33 +02:00
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