Commit Graph

73 Commits

Author SHA1 Message Date
Max dd95f7d594
Fix bottom accent positioning in math (#6187) 2025-06-03 14:08:18 +00:00
Andrew Voynov 3e6691a93b
Fix frac syntax section typo (#6193) 2025-04-18 14:27:07 +00:00
Max 4f0fbfb7e0
Add dotless parameter to `math.accent` (#5939)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-03-31 09:17:49 +00:00
Laurenz 029ae4a5ea
Export target docs (#5812)
Co-authored-by: Martin Haug <3874949+reknih@users.noreply.github.com>
2025-02-05 13:24:10 +00:00
Laurenz eee903b0f8
Refactor `Scope` (#5797) 2025-02-03 16:04:54 +00:00
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 fecdc39846 Use SymbolElem in more places and add `char` cast for content 2025-01-23 16:28:29 -05:00
Ian Wrzesinski c47b71b435 Basic SymbolElem addition 2025-01-23 16:28:29 -05:00
SekoiaTree 58dbbd48fe
Add lcm as an operator in math mode (#5718)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-01-23 12:35:29 +00:00
Laurenz 52ee33a275
Rework outline (#5735) 2025-01-23 11:50:51 +00:00
Laurenz b90ad470d6
Remove redundant doc comments on standard arguments (#5725) 2025-01-21 11:10:06 +00:00
Laurenz 6b9b78596a
Don't generate accessors for required fields (#5680) 2025-01-10 16:54:11 +00:00
Max be6629c7cb
Better math argument parsing (#5008) 2025-01-09 10:49:06 +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
Malo 5c37a1cfea
Use `codex` for symbols (#5421) 2024-11-17 19:08:23 +00:00
Laurenz be7cfc85d0
Split out four new crates (#5302) 2024-10-27 18:04:55 +00:00
Laurenz 7eebafa783 Merge `typst` and `typst-library` 2023-11-24 12:30:02 +01:00
Laurenz 36c7301608 Tidy up some imports 2023-11-21 15:20:49 +01:00
Laurenz 2da619e17c Streamline imports 2023-11-19 16:34:38 +01:00
Sébastien d'Herbais de Thun f39a8bc015
Add span information to realized `ParElem` (#2675) 2023-11-15 14:49:29 +01:00
Dimitri Kokkonis 897447e859
Translate local names to Greek (#2684)
Additionally, add support for single and double quotes in Greek.
2023-11-14 15:59:30 +01:00
frozolotl 67422e664b
Allow non-string contents for math operators (#2663) 2023-11-13 12:26:58 +01:00
frozolotl 97bb0fbce3
Fix bug where inline equations were displayed in the outline (#2662) 2023-11-13 12:04:34 +01:00
Sébastien d'Herbais de Thun 241a6d9e5a
Gradient Part 5b: Fix gradients in math (#2604) 2023-11-07 12:09:51 +01:00
Sébastien d'Herbais de Thun c0f6d2004a
Content rework 2 - Electric Boogaloo (#2504) 2023-11-06 21:37:50 +01:00
Andrew Voynov 0f274f8edb
Fixed doc typo for math > cancel > angle (#2535) 2023-10-31 20:50:21 +01:00
Thomas Aldrian 866bd27d2e
Add `csch` and `sech` operators (#2378) 2023-10-25 17:12:11 +02:00
LU Jialin f81a8d00e3
Refactor `cancel`, now able to take absolute angle or functions (#2466) 2023-10-22 14:07:30 +02:00
SekoiaTree 3faad6bc5d
Add support for negative augment indexes (#2372) 2023-10-22 13:22:34 +02:00
tingerrr 372476323f
Add `reverse` parameter to `cases` (#2370) 2023-10-17 11:48:46 +02:00
TheJosefOlsson 6dab95473b
Multinomial coefficients (#2237) 2023-10-09 13:46:16 +02:00
HydroH b584617c8d
Add `size:` argument for `abs`, `norm`, `floor`, `ceil` and `round` (#2292) (#2322) 2023-10-06 17:13:38 +02:00
Sébastien d'Herbais de Thun a4e357fb37
Gradient Part 2 - Linear gradients (#2279) 2023-10-03 19:31:02 +02:00
LU Jialin 34ebbaeb10
Passing color to the augment line in matrix (#2281) 2023-10-02 16:22:33 +02:00
DVDTSB e84cd13ce7
initial Romanian support (#2246) 2023-09-28 11:15:45 +02:00
DVDTSB 34b3f72370
Add `wide` spacing for math (#2224) 2023-09-26 10:29:43 +02:00
FlyinPancake 44bbfded5f
feat: inital Hungarian language support (#2229) 2023-09-25 13:52:26 +02:00
LU Jialin 04b4536772
Fixing the baseline in math content (#2220) 2023-09-25 13:13:16 +02:00
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 f9feea3f29 Bump dependencies 2023-09-13 14:44:45 +02:00
Laurenz 68b365b351 Fix newline in text in math
Fixes #1948
2023-09-13 13:45:05 +02:00
Laurenz 8fb225feb4 Fix box in 100% width block
Fixes #2128
2023-09-13 13:44:28 +02:00
Laurenz b471ac7d59 First-class types
Makes types first-class values.
2023-09-11 14:40:22 +02:00
LU Jialin 71dccde031
Provide `highlight` function for setting the background color of text (#2076) 2023-09-11 10:46:39 +02:00
Laurenz 65aeea3142 Fix spacing after number in math
Fixes #1052
2023-09-06 12:15:27 +02:00
Szymon Bęczkowski 6b7db851e9
Modify sqrt example (#2028) 2023-08-31 09:52:12 +02:00
sitandr b2d6cb58dc
Fix weak spacing broken in math (#1966) 2023-08-26 17:36:52 +02:00