mkorje
b30a38046c
Add delim-size
parameter to mat
, vec
, and cases
...
Takes either a function or a relative length, just like with `lr`,
`stretch`, and `accent` which was changed in the previous two commits.
The short fall was changed in the first commit, so no test updates here.
The default is now much clearer to the user: `x => x * 1.1 - 0.1em`.
2025-04-27 21:04:39 +10:00
mkorje
92d06fbd9a
Allow a function as an argument to size in accent
...
The short fall is now only applied in the default for `accent`
(`x => x - 0.5em`). This is the reason for the updated tests.
2025-04-25 22:36:21 +10:00
mkorje
3506ef446d
Allow a function as an argument to size
in stretch
and lr
...
Previously there was always a short fall when scaling delimiters, even if
the user requested a specific size. This is no longer the case; the short
fall is only present in the default for `lr` (`x => x - 0.1em`), and is
the reason for the updated tests - the size of the delimiters is now
actually what was specified in the size argument. This also makes the
default for `lr` much clearer to the user.
A slight hack was used by exploiting the `name` property in the `func`
attribute macro so that the default value in the docs for `lr.size` would
clearly show what the default function was (instead of just its name
`default_lr_size` which is meaningless and inaccessible to the user).
2025-04-25 22:14:57 +10:00
mkorje
d4d3d55348
Subtract short fall from target size in glyph assemblies
...
Previously the short fall was only considered when selecting a pre-made
variant glyph and was not propogated to the target size in a glyph
assembly.
2025-04-25 15:24:27 +10:00
Andrew Voynov
3e6691a93b
Fix frac syntax section typo ( #6193 )
2025-04-18 14:27:07 +00:00
Max
7e072e2493
Add test for flattened accents in math ( #6188 )
2025-04-17 14:10:27 +00:00
Malo
c21c1c391b
Use measure
width
argument in layout
doc ( #6160 )
2025-04-10 09:27:42 +00:00
Approximately Equal
94a497a01f
Add HTML meta tags for document authors and keywords ( #6134 )
2025-04-07 20:18:52 +00:00
alluring-mushroom
9829bd8326
Document exceptions and alternatives to using type
( #6027 )
...
Co-authored-by: Zedd Serjeant <Zedd.Serjeant@PumpkinEng.com.au>
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-04-07 19:56:20 +00:00
Andrew Voynov
43c3d5d3af
Improved ratio and relative length docs ( #5750 )
...
Co-authored-by: PgBiel <9021226+PgBiel@users.noreply.github.com>
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-04-07 19:47:02 +00:00
+merlan #flirora
14a0565d95
Show warnings from eval ( #6100 )
...
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-04-07 18:42:29 +00:00
Laurenz
bd2e76e11d
Bump OpenSSL ( #6153 )
2025-04-07 18:20:27 +00:00
Andrew Voynov
14928ef962
Fix typo in module docs ( #6146 )
...
Co-authored-by: Alberto Corbi <alberto_corbi@icloud.com>
2025-04-07 17:47:29 +00:00
Laurenz
d55abf0842
Update community section in README ( #6150 )
2025-04-07 17:46:46 +00:00
Markus Langgeng Iman Saputra
ea336a6ac7
Add Indonesian translation ( #6108 )
...
Co-authored-by: Malo <57839069+MDLC01@users.noreply.github.com>
2025-04-04 15:50:13 +00:00
Malo
387a8b4895
Display color spaces in the order in which they are presented in the doc ( #6140 )
2025-04-04 11:53:14 +00:00
Laurenz
bf8751c063
Switch to released krilla
version ( #6137 )
2025-04-04 08:35:51 +00:00
Malo
ed2106e28d
Disallow empty font lists ( #6049 )
2025-04-02 11:47:42 +00:00
Malo
417f5846b6
Support comparison functions in array.sorted
( #5627 )
...
Co-authored-by: +merlan #flirora <uruwi@protonmail.com>
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-04-02 09:41:45 +00:00
Ian Wrzesinski
12699eb7f4
Parse multi-character numbers consistently in math ( #5996 )
...
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-04-02 09:30:04 +00:00
Laurenz Stampfl
96dd67e011
Switch PDF backend to krilla
( #5420 )
...
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-04-01 14:42:52 +00:00
Max
012e14d40c
Unify layout of vec
and cases
with mat
( #5934 )
2025-03-31 09:38:04 +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
+merlan #flirora
a64af130dc
Add default parameter for array.{first, last} ( #5970 )
2025-03-31 09:06:18 +00:00
Malo
1082181a6f
Improve french smartquotes ( #5976 )
2025-03-31 09:01:01 +00:00
+merlan #flirora
e60d3021a7
Add env setting for ignore_system_fonts ( #6092 )
2025-03-31 08:17:37 +00:00
Astra3
326bec1f0d
Correcting Czech translation in typst-library
( #6101 )
2025-03-31 08:16:47 +00:00
Myriad-Dreamin
758ee78ef5
Make World::font
implementations safe ( #6117 )
2025-03-31 08:08:55 +00:00
Matt Fellenz
efdb75558f
IDE: complete jump-to-cursor impl ( #6037 )
2025-03-28 17:33:16 +00:00
frozolotl
20ee446eba
Fix descriptions of color maps ( #6096 )
2025-03-28 15:30:30 +00:00
Philipp Niedermayer
b7a4382a73
Fix typo ( #6104 )
2025-03-28 15:28:03 +00:00
Laurenz Stampfl
838a46dbb7
Test all exif rotation types and fix two of them ( #6102 )
2025-03-27 10:59:32 +00:00
PgBiel
1f1c133878
Refactor grid header and footer resolving ( #5919 )
2025-03-24 20:42:48 +00:00
Laurenz
1e591ac8dc
Bump zip
( #6091 )
2025-03-24 18:17:29 +00:00
Eduardo Sánchez Muñoz
38213ed534
Use u64
instead of usize
to store counter and enumeration item numbers, so behavior does not vary from 64-bit to 32-bit platforms ( #6026 )
2025-03-24 18:16:33 +00:00
Andrew Voynov
636eea18bc
Expand page breaks' triggers for page(height: auto) in docs ( #6081 )
2025-03-24 18:08:39 +00:00
Ian Wrzesinski
91956d1f03
Use std::ops::ControlFlow
in Content::traverse
( #6053 )
...
Co-authored-by: Max Mynter <maxmynter@me.com>
2025-03-24 18:07:19 +00:00
Wolf-SO
1b2714e1a7
Update 1-writing.md to improve readability ( #6040 )
2025-03-12 18:29:35 +00:00
Laurenz
95a7e28e25
Make two typst-kit functions private ( #6045 )
2025-03-12 12:46:03 +00:00
Kevin K.
37bb632d2e
Fix missing words and paren in docs ( #6046 )
2025-03-12 12:45:57 +00:00
Michael Fortunato
24b2f98bf9
Fix typo in 4-template.md ( #6047 )
2025-03-12 12:45:22 +00:00
Andrew Voynov
0214320087
Fix parallel package installation ( #5979 )
...
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-03-11 20:20:41 +00:00
Max
96f6957371
Fix math.root
frame size ( #6021 )
2025-03-11 10:18:15 +00:00
evie
3650859ae8
Fix cargo clippy
warnings (mostly about .repeat.take
and .next_back
) ( #6038 )
2025-03-11 10:00:53 +00:00
Caleb Maclennan
bd531e08dc
Bump rustybuzz
(and adjacent crates) ( #5407 )
2025-03-10 12:45:08 +00:00
Ludovico Gerardi
e66e190a21
Fix typo in docs ( #6034 )
2025-03-10 11:39:30 +00:00
Laurenz
db9a83d9fc
Bump version on main
...
The tagged commit itself is on the 0.13 branch.
2025-03-07 11:19:12 +01:00
Laurenz
8d3488a07d
0.13.1 changelog ( #6025 )
2025-03-07 10:03:52 +00:00
Laurenz
476c2df312
Mark breaking symbol changes as breaking in 0.13.0 changelog ( #6024 )
2025-03-07 09:17:11 +00:00
Malo
e0b2c32a8e
Mention that sym.ohm
was removed in the 0.13.0 changelog ( #6017 )
...
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-03-07 09:05:16 +00:00