56 Commits

Author SHA1 Message Date
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
Kivi Kaitaniemi
139328bb95
Add Finnish translations (#1996) 2023-08-25 14:32:11 +02:00
Beiri22
ea469c2df6
calm down clippy even more (#1997) 2023-08-25 14:27:50 +02:00
lolstork
c00fc14905
Initial support for augmented matrices (#1679) 2023-08-25 11:16:03 +02:00
Kingfree
287556bc14
Local names for Chinese and Traditional Chinese (#1919) 2023-08-20 12:09:16 +02:00
Laurenz
07c80e9a81 Touch up docs 2023-08-07 15:58:16 +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
f197a447a4
Gardening. (#1789) 2023-07-25 18:26:45 +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
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