Commit Graph

175 Commits

Author SHA1 Message Date
Mateus Felipe C. C. Pinto 2dbbeaeb60
Provide support for portuguese language (#525) 2023-04-03 12:59:13 +02:00
Marek Barvíř 5e5b1bba51
Needless clone, borrows, casts and lifetimes (#504) 2023-04-01 15:53:13 +02:00
Yi Chen Chong 90e7d18f26
Fixed extraneous spacing in sign operators (#500) 2023-04-01 14:45:54 +02:00
Sébastien d'Herbais de Thun cc67e53099
Added FR language support (#483) 2023-03-31 19:56:41 +02:00
1bitbool 6c979e554b
Added ZH language support (#481) 2023-03-31 16:43:14 +02:00
Laurenz 5f97e0a773 Make `Paint` not implement `Copy` 2023-03-31 16:33:33 +02:00
Daniil Berezin 00f11ae56d
Added RU language support (#467) 2023-03-31 12:52:40 +02:00
Marco Radocchia 9737d3b754
Added IT language support (#413) 2023-03-29 19:34:18 +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 13ece5ec26 Allow disabling vector and matrix delimiters 2023-03-27 14:52:25 +02:00
Laurenz 2d16f9434f Documentation for citation, bibliography, and content 2023-03-20 22:09:10 +01:00
Laurenz ab43bd802e Renaming and refactoring 2023-03-19 22:39:19 +01:00
Laurenz 0ba99ab8aa Measurement and introspection rework 2023-03-19 10:19:34 +01:00
Laurenz c7f4d6b12e Equation numbering 2023-03-18 19:54:00 +01:00
Laurenz a69b587455 Rename formula to equation 2023-03-18 19:27:31 +01:00
Laurenz 312197b276 Counters 2023-03-17 11:45:57 +01:00
Laurenz e8435df5ec More jump targets 2023-03-17 11:30:58 +01:00
Laurenz 880b1847bd Derive `Cast` for enums 2023-03-13 21:40:06 +01:00
Laurenz ad05ba5925 Spans in math 2023-03-12 13:20:36 +01:00
Laurenz ca6edf5283 Jump to source and preview 2023-03-11 23:29:32 +01:00
Laurenz a9fdff244a Expose content representation more 2023-03-10 21:19:50 +01:00
Laurenz 62f35602a8 New #[func] macro 2023-03-10 12:55:21 +01:00
Laurenz c38d72383d Make all optional fields settable 2023-03-09 14:42:14 +01:00
Laurenz d7a65fa26d Rework style chain access 2023-03-08 14:35:33 +01:00
Laurenz e5eab73374 Streamline field names 2023-03-08 11:02:27 +01:00
Laurenz 1b2b53ecb9 Require font to be a named argument 2023-03-08 10:44:24 +01:00
Laurenz 25b5bd1175 Fully untyped model 2023-03-07 15:17:13 +01:00
Laurenz 6ab7760822 Split up `model` module 2023-03-01 16:33:28 +01:00
Laurenz 7597b99789 New default style 2023-02-25 20:04:30 +01:00
Laurenz dca478182b Update changelog 2023-02-12 23:12:22 +01:00
Laurenz a8f2e85f96 Add delimiter setting for `cases` 2023-02-12 22:43:37 +01:00
Laurenz fd90736fb6 Support fractional width for `box` 2023-02-12 22:04:27 +01:00
Laurenz d689d706ea Vertically center non-math content in math by default 2023-02-12 21:14:12 +01:00
Laurenz 78072c99eb Add `tg` and `ctg` operators 2023-02-12 20:28:17 +01:00
Laurenz 3ffa7393f0 Make all nodes block-level 2023-02-12 19:57:28 +01:00
Laurenz f4856c18b9 Remove base width 2023-02-12 17:28:17 +01:00
Laurenz ef44c3848a Add missing `.op` modifiers 2023-02-06 17:55:06 +01:00
Laurenz ea8edfa821 Make Rust happier about the inline documentation 2023-02-06 11:52:09 +01:00
Laurenz 93138e2d4b Fix font switch in math 2023-02-03 17:47:05 +01:00
Laurenz fd7b629f67 Keep font directly in `GlyphFragment` 2023-02-03 17:46:30 +01:00
Laurenz 255044e04e Ignore accent when positioning superscript 2023-02-02 21:21:04 +01:00
Laurenz 3f85d005bb Fix root index placement again 2023-02-02 19:50:14 +01:00
Laurenz 10675cd6d5 Merge text and math symbols 2023-02-02 19:50:06 +01:00
Laurenz e9ff2d6463 More robust automatic math spacing 2023-02-02 16:47:10 +01:00
Laurenz e6400861ab Matrix baseline alignment 2023-02-02 14:40:34 +01:00
Laurenz 5f5c659279 Math tests 2023-02-02 14:13:56 +01:00
Laurenz aa0f03fe04 Treat italics correction differently 2023-02-01 15:43:23 +01:00
Laurenz 8377159e21 Fix root index placement 2023-02-01 15:04:20 +01:00
Laurenz 6ca6f43703 Fix sub- and superscript ascent/descent 2023-02-01 14:57:52 +01:00
Laurenz 137d2ab317 Always apply math italics corrections 2023-02-01 13:32:46 +01:00
Laurenz 2315b5d3cc Math char style exceptions 2023-02-01 13:32:29 +01:00
Laurenz c2bd114914 Symbol improvements 2023-01-31 13:00:20 +01:00
Laurenz 69985e59bc Make lowercase greek italic 2023-01-31 02:05:53 +01:00
Laurenz 3a4c5ae4b9 Highlighting and docs fixes 2023-01-30 18:29:09 +01:00
Laurenz 1d86f41831 Remove more blocks 2023-01-29 23:41:54 +01:00
Laurenz 196d9594fb Math documentation improvements 2023-01-29 23:15:00 +01:00
Laurenz d9d2c021d6 Fix inline math bounding box 2023-01-29 20:44:33 +01:00
Laurenz 9d715fd11c Respect alignment in math formulas 2023-01-29 19:42:30 +01:00
Laurenz f7458f9533 Matrices 2023-01-29 19:11:44 +01:00
Laurenz e4e888b9ce Fix `lr` with already matched body 2023-01-29 17:53:25 +01:00
Laurenz 17f8939f86 Fix math alignment points 2023-01-29 17:44:58 +01:00
Laurenz 60dfe8f893 Fix math styling 2023-01-29 17:44:50 +01:00
Martin Haug 8fbfa594e0 Update docs so that the reference builds again 2023-01-29 12:43:44 +01:00
Laurenz 76048a8ef4 Overline, Underline, Overbracket, Underbracket 2023-01-28 23:15:03 +01:00
Laurenz 2d56e3c5e2 Fix typos 2023-01-28 16:56:28 +01:00
Laurenz 4809e685a2 More capable math calls 2023-01-28 15:36:32 +01:00
Laurenz 28c554ec21 Rework math attachments and accents 2023-01-28 12:14:03 +01:00
Laurenz 33013af37a Error message when font doesn't support math 2023-01-27 19:27:32 +01:00
Laurenz 2e039cb052 Fix math spacing bugs 2023-01-27 15:32:05 +01:00
Laurenz 1de53730bc Symbol values and modules 2023-01-27 12:04:36 +01:00
Laurenz 13efa128c8 Macro for math operators 2023-01-27 11:57:00 +01:00
Laurenz a8fd64f928 Hashtags everywhere! 2023-01-27 11:54:30 +01:00
Laurenz 33585d9a3f Small fixes 2023-01-27 11:38:04 +01:00
Laurenz 4653ffebb4 Math module 2023-01-23 15:23:52 +01:00
Laurenz 7e295d84b5 Math delimiter grouping 2023-01-22 13:32:58 +01:00
Laurenz 953bdc1859 Vector and case layout 2023-01-22 13:32:44 +01:00
Laurenz a0146b5b9b Math operator functions 2023-01-22 13:32:32 +01:00
Laurenz c5ef350cce Under- and overbraces 2023-01-22 13:31:44 +01:00
Laurenz bcf20610fc Math accent handling 2023-01-22 13:31:28 +01:00
Laurenz 2c48c8d7a1 Multi-line alignment with `&` 2023-01-22 13:31:16 +01:00
Laurenz 203d5779f8 Fraction layout 2023-01-22 13:30:59 +01:00
Laurenz 57a636b370 Math styles 2023-01-22 13:30:45 +01:00
Laurenz 13cc16b3cc Class-based math spacing 2023-01-22 13:30:20 +01:00
Laurenz cfca115804 Math sub-, superscript and limit layout 2023-01-22 13:29:55 +01:00
Laurenz f7b3b30ca1 Math root layout 2023-01-22 13:28:24 +01:00
Laurenz ea378e89b4 Better math atoms 2023-01-22 13:27:49 +01:00
Laurenz a50cb58823 Glyph stretching 2023-01-22 13:27:20 +01:00
Laurenz 83b6858146 Math framework 2023-01-22 13:26:42 +01:00
Laurenz 760936af49 Remove ReX 2023-01-22 13:19:48 +01:00
Laurenz eabbbf7eae Name handling for New Computer Modern Math 2023-01-22 13:16:03 +01:00
Laurenz e460da1ce7 Split up math library 2023-01-03 12:40:14 +01:00
Laurenz 40561e57fb Remove most fields from `SyntaxKind` enum 2023-01-15 12:40:27 +01:00
Laurenz 1a9bcaccec Fix typos 2022-12-23 00:34:17 +01:00
Laurenz c9dcf8fd83 Expand math syntax section 2022-12-22 19:13:38 +01:00
Martin Haug 947522b71a Symbol table 2022-12-22 01:33:09 +01:00
Laurenz 633d0b62c3 Document math category 2022-12-21 01:35:37 +01:00
Laurenz ee732468c7 Document text category 2022-12-21 00:26:20 +01:00
Laurenz f5f7df7247 Documentation 2022-12-20 16:11:37 +01:00
Laurenz b4b022940b Syntax and example sections 2022-12-19 01:16:35 +01:00