Commit Graph

175 Commits

Author SHA1 Message Date
sitandr 5dbc15ef0c
Forced size command in math (#1128) 2023-05-23 11:22:27 +02:00
Laurenz f4fd6855e7 Fix and simplify reference supplements
- Fixes #873 by properly handling `none` supplement for`ref`.
- Fixes #523 by adding a `supplement` parameter to `math.equation`
- In the future, we can remove supplement functions in favor of show-set rules with fine-grained selectors. Currently, this is not possible because show-set + synthesis doesn't play well together
2023-05-22 20:56:30 +02:00
Leedehai 74b818fe40
Reduce redundant ops when computing sup/sub shifts (#1190) 2023-05-19 16:48:57 +02:00
sitandr 42c3a6fa72
Fixed symbol style reset in stretching (#1195) 2023-05-19 15:33:15 +02:00
Laurenz 551ea99d05 Show default values in documentation
Fixes #169
Fixes #1102
2023-05-17 14:41:46 +02:00
Laurenz 42afa410ae Better documentation outlines 2023-05-17 14:38:03 +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
Laurenz ad347632ab Make ligatures copyable and searchable
Fixes #479
Fixes #1040
2023-05-03 10:33:18 +02:00
Matt Fellenz b41cce191c
Optimize `.count() > 1` check (#1053)
This can be trivially optimized to `.nth(1).is_some()` which obviates evaluating every element in the iterator.
2023-05-01 13:29:59 +02:00
Leedehai 1efbcad46e
Slight improvement to attach.rs's doc (#996) 2023-04-28 18:49:51 +02:00
Leedehai b0c088740e
Nit: sort and annotate codepoints which should attach as limits (#999) 2023-04-28 18:49:32 +02:00
Pg Biel 0d8c3254b7
Initial fix for spacing on decorated math operators (#1023) 2023-04-28 18:49:02 +02:00
pan93412 e0d5930405
Add translation for Chinese (Traditional) (#1000) 2023-04-27 13:16:27 +02:00
Laurenz 3680c854a2 Touch up docs 2023-04-26 15:37:21 +02:00
pan93412 a6df909a8d
Allow passing `region` to LocalName (#926) 2023-04-26 11:30:03 +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
Sébastien d'Herbais de Thun 561ff979d5
Add instrumentation (Part 1) (#761) 2023-04-23 14:33:56 +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
Laurenz 5a6330dbfc Fix math hiding once more 2023-04-19 16:51:47 +02:00
Laurenz f8966f9e86 Fix realize in math 2023-04-19 11:06:52 +02:00
Marek Barvíř dd5e9723e0
clippy::wrong_self_convention (#857) 2023-04-18 11:19:16 +02:00
Marek Barvíř ee32e7ad1c
Clippy fixes (#581) 2023-04-16 11:10:35 +02:00
Birk Tjelmeland d1cd814ef8
Add support for more complex strokes (#505) 2023-04-13 16:05:56 +02:00
Alex Saveau 03d2ec9f81
Strip trailing line breaks in math equations (#750) 2023-04-13 10:42:03 +02:00
Laurenz 2606034ac7 Fix heading supplement
Fixes #730
2023-04-11 16:59:38 +02:00
classabbyamp 022b945fb3
add `sinc` operator (#720)
this is for the sinc function (https://en.wikipedia.org/wiki/Sinc_function)
2023-04-11 14:13:34 +02:00
Radim Sückr 6f625fc73c
Add Czech translation (#683) 2023-04-11 14:04:44 +02:00
Abdul Rahman Sibahi 9046678610
Added Arabic translations (#688) 2023-04-11 14:04:29 +02:00
ichxorya 31eb3b571e
Add Vietnamese Translation (#684) 2023-04-11 14:04:13 +02:00
Eric Biedert a7dfed86c6
Docs for Newton's notation for derivatives (#670) 2023-04-11 13:56:08 +02:00
Leedehai d356a303f5
Remove '#' from FracElem docs (#691) 2023-04-11 13:55:23 +02:00
Leedehai 1254393ac9
Swap the misplaced top/bottom style (#642) 2023-04-07 10:36:13 +02:00
_rqy bb30911282
realize before layout_math (#637) 2023-04-07 10:30:34 +02:00
Laurenz 1e5a100d6a Reorganize matches on languages 2023-04-06 14:59:05 +02:00
jakobrs cca85a572a
Add Norwegian language support (#628) 2023-04-06 14:56:11 +02:00
zymon 6f13a3f8b9
add support for polish language (#623) 2023-04-06 14:53:18 +02:00
Vid Drobnič a3055a7a71
add support for slovenian language (#621) 2023-04-06 14:52:25 +02:00
Raphaël CV d569f6b33b
Fix inversion cal frak R (#593) 2023-04-05 13:37:54 +02:00
felipeacsi df7160f5b2
Spanish support (#548) 2023-04-05 12:17:07 +02:00
Nazar Serhiichuk 69ba8884f7
Add support for ukrainian lang (#578) 2023-04-05 12:13:25 +02:00
Daniel Csillag f548223663
Fix hiding of math (#587) 2023-04-05 12:04:11 +02:00
Laurenz 23715e813e Refactor and document figures 2023-04-04 23:15:03 +02:00
Sébastien d'Herbais de Thun f347ed4314
Improved figure numbering, labelling and referencing (#491) 2023-04-04 19:21:25 +02:00