Update all tests to see how it behaves
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 551 B After Width: | Height: | Size: 542 B |
Before Width: | Height: | Size: 877 B After Width: | Height: | Size: 880 B |
Before Width: | Height: | Size: 756 B |
Before Width: | Height: | Size: 419 B |
Before Width: | Height: | Size: 358 B |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 812 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 327 B After Width: | Height: | Size: 321 B |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 497 B After Width: | Height: | Size: 502 B |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 627 B After Width: | Height: | Size: 631 B |
Before Width: | Height: | Size: 7.3 KiB After Width: | Height: | Size: 7.3 KiB |
Before Width: | Height: | Size: 775 B After Width: | Height: | Size: 778 B |
Before Width: | Height: | Size: 436 B After Width: | Height: | Size: 442 B |
Before Width: | Height: | Size: 177 B After Width: | Height: | Size: 172 B |
Before Width: | Height: | Size: 8.0 KiB After Width: | Height: | Size: 7.8 KiB |
Before Width: | Height: | Size: 529 B After Width: | Height: | Size: 526 B |
Before Width: | Height: | Size: 884 B After Width: | Height: | Size: 902 B |
Before Width: | Height: | Size: 470 B After Width: | Height: | Size: 470 B |
Before Width: | Height: | Size: 262 B After Width: | Height: | Size: 262 B |
Before Width: | Height: | Size: 234 B After Width: | Height: | Size: 280 B |
Before Width: | Height: | Size: 685 B After Width: | Height: | Size: 691 B |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 605 B After Width: | Height: | Size: 604 B |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1001 B After Width: | Height: | Size: 999 B |
Before Width: | Height: | Size: 965 B After Width: | Height: | Size: 956 B |
Before Width: | Height: | Size: 392 B After Width: | Height: | Size: 392 B |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 382 B After Width: | Height: | Size: 381 B |
Before Width: | Height: | Size: 822 B After Width: | Height: | Size: 821 B |
Before Width: | Height: | Size: 773 B After Width: | Height: | Size: 764 B |
Before Width: | Height: | Size: 503 B After Width: | Height: | Size: 504 B |
Before Width: | Height: | Size: 312 B After Width: | Height: | Size: 311 B |
Before Width: | Height: | Size: 239 B After Width: | Height: | Size: 239 B |
Before Width: | Height: | Size: 1020 B After Width: | Height: | Size: 1007 B |
Before Width: | Height: | Size: 765 B After Width: | Height: | Size: 766 B |
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 593 B After Width: | Height: | Size: 592 B |
Before Width: | Height: | Size: 401 B After Width: | Height: | Size: 401 B |
Before Width: | Height: | Size: 565 B After Width: | Height: | Size: 565 B |
Before Width: | Height: | Size: 694 B After Width: | Height: | Size: 695 B |
Before Width: | Height: | Size: 798 B After Width: | Height: | Size: 796 B |
Before Width: | Height: | Size: 679 B After Width: | Height: | Size: 682 B |
Before Width: | Height: | Size: 609 B After Width: | Height: | Size: 611 B |
Before Width: | Height: | Size: 605 B After Width: | Height: | Size: 606 B |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 402 B After Width: | Height: | Size: 406 B |
Before Width: | Height: | Size: 338 B After Width: | Height: | Size: 348 B |
Before Width: | Height: | Size: 598 B After Width: | Height: | Size: 600 B |
Before Width: | Height: | Size: 352 B After Width: | Height: | Size: 352 B |
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 452 B After Width: | Height: | Size: 514 B |
Before Width: | Height: | Size: 772 B After Width: | Height: | Size: 761 B |
Before Width: | Height: | Size: 735 B After Width: | Height: | Size: 723 B |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 794 B After Width: | Height: | Size: 794 B |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 682 B After Width: | Height: | Size: 676 B |
@ -101,55 +101,6 @@ a + 0.
|
||||
// Error: 22-28 invalid numbering pattern
|
||||
#set enum(numbering: "(())")
|
||||
|
||||
--- enum-number-align-unaffected ---
|
||||
// Alignment shouldn't affect number
|
||||
#set align(horizon)
|
||||
|
||||
+ ABCDEF\ GHIJKL\ MNOPQR
|
||||
+ INNER\ INNER\ INNER
|
||||
+ BACK\ HERE
|
||||
|
||||
--- enum-number-align-default ---
|
||||
// Enum number alignment should be 'end' by default
|
||||
1. a
|
||||
10. b
|
||||
100. c
|
||||
|
||||
--- enum-number-align-specified ---
|
||||
#set enum(number-align: start)
|
||||
1. a
|
||||
8. b
|
||||
16. c
|
||||
|
||||
--- enum-number-align-2d ---
|
||||
#set enum(number-align: center + horizon)
|
||||
1. #box(fill: teal, inset: 10pt )[a]
|
||||
8. #box(fill: teal, inset: 10pt )[b]
|
||||
16. #box(fill: teal,inset: 10pt )[c]
|
||||
|
||||
--- enum-number-align-unfolded ---
|
||||
// Number align option should not be affected by the context.
|
||||
#set align(center)
|
||||
#set enum(number-align: start)
|
||||
|
||||
4. c
|
||||
8. d
|
||||
16. e\ f
|
||||
2. f\ g
|
||||
32. g
|
||||
64. h
|
||||
|
||||
--- enum-number-align-values ---
|
||||
// Test valid number align values (horizontal and vertical)
|
||||
#set enum(number-align: start)
|
||||
#set enum(number-align: end)
|
||||
#set enum(number-align: left)
|
||||
#set enum(number-align: center)
|
||||
#set enum(number-align: right)
|
||||
#set enum(number-align: top)
|
||||
#set enum(number-align: horizon)
|
||||
#set enum(number-align: bottom)
|
||||
|
||||
--- issue-2530-enum-item-panic ---
|
||||
// Enum item (pre-emptive)
|
||||
#enum.item(none)[Hello]
|
||||
|
@ -29,7 +29,7 @@
|
||||
#set text(8pt)
|
||||
/ First list: #lorem(6)
|
||||
|
||||
#set terms(hanging-indent: 30pt)
|
||||
#set terms(indent: 30pt)
|
||||
/ Second list: #lorem(5)
|
||||
|
||||
--- terms-rtl ---
|
||||
|
@ -10,7 +10,7 @@ Hello *#x*
|
||||
#let fruit = [
|
||||
- Apple
|
||||
- Orange
|
||||
#list(body-indent: 20pt)[Pear]
|
||||
#list(indent: 30pt)[Pear]
|
||||
]
|
||||
|
||||
- Fruit
|
||||
@ -41,7 +41,7 @@ Hello *#x*
|
||||
#let choice = ("monkey.svg", "rhino.png", "tiger.jpg")
|
||||
#set enum(numbering: n => {
|
||||
let path = "/assets/images/" + choice.at(n - 1)
|
||||
move(dy: -0.15em, image(path, width: 1em, height: 1em))
|
||||
box(baseline: 0.25em, image(path, width: 1em, height: 1em))
|
||||
})
|
||||
|
||||
+ Monkey
|
||||
@ -69,7 +69,7 @@ Hello *#x*
|
||||
// Ensure that constructor styles aren't passed down the tree.
|
||||
// The inner list should have no extra indent.
|
||||
#set par(leading: 2pt)
|
||||
#list(body-indent: 20pt, [First], list[A][B])
|
||||
#list(indent: 20pt, [First], list[A][B])
|
||||
|
||||
--- set-vs-construct-2 ---
|
||||
// Ensure that constructor styles win, but not over outer styles.
|
||||
|