Commit Graph

52 Commits

Author SHA1 Message Date
Malo f239b0a6a1
Change the default math class of U+22A5 ⊥ UP TACK to Normal (#5714) 2025-01-31 10:05:03 +00:00
Laurenz 26e65bfef5
Semantic paragraphs (#5746) 2025-01-24 12:11:26 +00:00
Ian Wrzesinski 6fe1e20afb Update math TextElem layout to separate out SymbolElem 2025-01-23 16:30:29 -05:00
Ian Wrzesinski c47b71b435 Basic SymbolElem addition 2025-01-23 16:28:29 -05:00
Ian Wrzesinski f7bd03dd76
Fix delimiter unparen syntax (#5739) 2025-01-23 12:27:38 +00:00
Max be6629c7cb
Better math argument parsing (#5008) 2025-01-09 10:49:06 +00:00
Malo a2f685483a
Improve `repr` for `arguments` (#5652) 2025-01-06 12:43:41 +00:00
Max bb38a01d06
Fix math size resolving (#5596) 2024-12-20 12:35:57 +00:00
Max c3334a55fe
Fix arbitrarily nested equations in the base of `math.attach` (#5613) 2024-12-20 10:15:18 +00:00
Max 468a60103d
Fix multiline annotations in over- elems in math changing the baseline (#5459) 2024-12-08 16:55:34 +00:00
Max 578ba640f3
Fix weak spacing being ignored unconditionally in `math.lr` (#5477) 2024-11-27 11:16:25 +00:00
Max f29fbea2fc
Use extended shape information for glyph `text_like`-ness (#5483) 2024-11-27 11:11:49 +00:00
Max 8fe8b2a239
Ignore leading and trailing ignorant fragments in `math.lr` (#5473) 2024-11-26 20:51:22 +00:00
Max fd5e642fb4
Tags shouldn't affect row height in equations (#5458) 2024-11-26 12:37:53 +00:00
Andrew Voynov cb8eaddf98
Removed deprecated `diff` symbol (#5388) 2024-11-12 12:44:45 +00:00
Ian Wrzesinski 88d86714a1 9. Parse math field access in the lexer 2024-10-31 18:26:12 -04:00
Max f85faf957f
Add `math.accent` support for `flac` and `dtls` OpenType features (#5202) 2024-10-30 15:29:15 +00:00
Max b5b92e21e9
Fix bug in `math.frac` layout code (#5177) 2024-10-10 15:52:55 +00:00
Eric Biedert f1f2de889a
Resolve lengths in math with scaled font size (#5168) 2024-10-10 12:03:11 +00:00
Eric Biedert 20ce48dc36
Fix panic for empty breakable block equations (#5116) 2024-10-07 08:13:09 +00:00
Max 8eee3ec8d1
Fix breakable block equation overflow (#5078) 2024-10-01 08:01:28 +00:00
Max 75f646c975
Fix `math.stretch` not working vertically with attachments (#5069) 2024-10-01 07:59:31 +00:00
Max 93a5b712b1
Fix `math.lr` size argument not being applied to enclosed `math.mid` (#5050) 2024-09-27 08:34:38 +00:00
Josh Soref ca1f749c08
Spelling (#5020)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2024-09-26 17:32:55 +00:00
Max e00e3e4fbf
Add `math.stretch` element function (#5030) 2024-09-26 14:46:26 +00:00
Max a40e068590
Add alignment parameter to matrices and vectors (#4998) 2024-09-26 14:30:47 +00:00
Max f8f95e5c21
Extend hint for unknown variables in math (#5038) 2024-09-26 11:40:25 +00:00
tingerrr 799eb8004e
Improve unknown variable diagnostics (#4858) 2024-09-02 12:45:50 +00:00
Max 373163dba4
Implement math kerning and fix various `math.attach` bugs (#4762) 2024-08-26 17:04:02 +00:00
Eric Biedert 326fd33801
Don't number empty regions of broken block equations (#4836) 2024-08-26 15:26:50 +00:00
Max 0b31f6039f
Fix nested attachments when the base in `math.attach` has attachments (#4832) 2024-08-26 14:49:24 +00:00
Leedehai d221a89a40
Adjust the baseline of root radicand frame (#4736) 2024-08-15 20:08:40 +00:00
Max b07607d35e
Split shorthands into math and markup, add tilde shorthand (#4706) 2024-08-09 07:41:01 +00:00
Max a6a8cdaa28
Make under/overlines behave the same as accents in attach base (#4695) 2024-08-09 07:40:29 +00:00
mkorje 810491c9d3
Add missing under/over-delimiters (#4637) 2024-08-05 11:28:17 +00:00
Leedehai f0407d4949
Wrapping with parens should not push superscripts higher (#4545)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-07-15 09:54:54 +00:00
Leedehai d1c7d08893
Primes should not further raise next superscript's position (#4492)
Co-authored-by: Ian Wrzesinski <133046678+wrzian@users.noreply.github.com>
2024-07-08 19:32:58 +00:00
Eric Biedert 59374f7370
Avoid spaces around ignorant and invisible elements in math (#4348) 2024-07-06 13:45:19 +00:00
Wenzhuo Liu 681badf76a
Pad matrix cell to make matrix have a consistent height (#4153) 2024-06-04 15:42:02 +00:00
Leedehai df6e347bc5
Align point and linebreak should not increase math row height (#4306) 2024-06-04 15:30:43 +00:00
+merlan #flirora 99b393110e
Align corner brackets to the top and bottom when scaling (#4200) 2024-06-04 15:22:56 +00:00
Eric Biedert 5f6d942519
Make block equations breakable (#4226)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-05-30 07:52:48 +00:00
LU Jialin b73b3ca335
Trim weak spacing at line start/end in paragraph layout (#4087) 2024-05-27 15:36:41 +00:00
Malo a6cf584ee9
Allow somewhat arbitrary characters as `mat`, `vec` and `cases` `delim` (#4211) 2024-05-22 19:36:53 +00:00
Leedehai 53c306e32c
Fix equation resizing when adding the equation number (#4179) 2024-05-22 17:04:46 +00:00
Laurenz 2188a4bf48
Fix equations in RTL text (#4150) 2024-05-17 08:36:07 +00:00
Leedehai 484a0e60d8
`show math.equation: set align(..)` shall not break alignment points (#4094) 2024-05-15 07:48:35 +00:00
Leedehai cbb01fc81a
Make more characters stretchable by mid() (#4092) 2024-05-07 14:08:42 +00:00
Leedehai aa38b96849
Fix: `number-align` should align line/number baselines (#4024) 2024-05-07 13:46:18 +00:00
Ian Wrzesinski 45245f0695
Fix empty 2-d math args with whitespace/trivia (#3786)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-04-19 14:31:45 +00:00