mirror of
https://github.com/typst/typst
synced 2025-05-14 17:15:28 +08:00
Fix table
docs guide example (#4996)
This commit is contained in:
parent
f283995c3d
commit
cb550d9c76
@ -242,10 +242,10 @@ Let's start with an example of a horizontally striped table:
|
|||||||
#set text(font: "IBM Plex Sans")
|
#set text(font: "IBM Plex Sans")
|
||||||
|
|
||||||
// Medium bold table header.
|
// Medium bold table header.
|
||||||
#show table.cell.where(x: 1): set text(weight: "medium")
|
#show table.cell.where(y: 0): set text(weight: "medium")
|
||||||
|
|
||||||
// Bold titles.
|
// Bold titles.
|
||||||
#show table.cell.where(y: 0): set text(weight: "bold")
|
#show table.cell.where(x: 1): set text(weight: "bold")
|
||||||
|
|
||||||
// See the strokes section for details on this!
|
// See the strokes section for details on this!
|
||||||
#let frame(stroke) = (x, y) => (
|
#let frame(stroke) = (x, y) => (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user