summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/guides/tables.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/guides/tables.md b/docs/guides/tables.md
index dbeb3955..9a61117d 100644
--- a/docs/guides/tables.md
+++ b/docs/guides/tables.md
@@ -242,10 +242,10 @@ Let's start with an example of a horizontally striped table:
#set text(font: "IBM Plex Sans")
// 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.
-#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!
#let frame(stroke) = (x, y) => (