From c960aebf14013aee819e80bc7f90a5ec3bef275b Mon Sep 17 00:00:00 2001 From: "Y.D.X." <73375426+YDX-2147483647@users.noreply.github.com> Date: Mon, 20 Jul 2026 19:22:36 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=9B=B4=E6=96=B0=E8=BF=87=E6=97=B6?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - pattern → tiling - symbol 命名变化 --- src/tutorial/reference-color.typ | 2 +- src/tutorial/reference-math-symbols.typ | 22 +++++++++++----------- src/tutorial/scripting-shape.typ | 2 +- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/tutorial/reference-color.typ b/src/tutorial/reference-color.typ index 835dcee..12247ed 100644 --- a/src/tutorial/reference-color.typ +++ b/src/tutorial/reference-color.typ @@ -133,7 +133,7 @@ A gradient can be used for the following purposes: A repeating pattern fill. #ref-bookmark[`tiling`] -Typst supports the most common pattern type of tiled patterns, where a pattern is repeated in a grid-like fashion, covering the entire area of an element that is filled or stroked. The pattern is defined by a tile size and a body defining the content of each cell. You can also add horizontal or vertical spacing between the cells of the patterng. +Typst supports the most common pattern type of tiled patterns, where a pattern is repeated in a grid-like fashion, covering the entire area of an element that is filled or stroked. The pattern is defined by a tile size and a body defining the content of each cell. You can also add horizontal or vertical spacing between the cells of the pattern. #code(```typ #let pat = tiling(size: (30pt, 30pt))[ diff --git a/src/tutorial/reference-math-symbols.typ b/src/tutorial/reference-math-symbols.typ index dc38739..3f2f550 100644 --- a/src/tutorial/reference-math-symbols.typ +++ b/src/tutorial/reference-math-symbols.typ @@ -60,10 +60,10 @@ [$prec.eq$], [`prec.eq`], [$succ.eq$], [`succ.eq`], [$tilde.eq$], [`tilde.eq`], [$subset$], [`subset`], [$supset$], [`supset`], [$approx$], [`approx`], [$subset.eq$], [`subset.eq`], [$supset.eq$], [`supset.eq`], [$tilde.equiv$], [`tilde.equiv`], - [$subset.sq$], [`subset.sq`], [$supset.sq$], [`supset.sq`], [$join$], [`join`], + [$subset.sq$], [`subset.sq`], [$supset.sq$], [`supset.sq`], [$bowtie.big$], [`bowtie.big`], [$subset.eq.sq$], [`subset.eq.sq`], [$supset.eq.sq$], [`supset.eq.sq`], [$$], [``], [$in$], [`in`], [$in.rev$], [`in.rev`], [$prop$], [`prop`], - [$tack.r$], [`tack.r`], [$tack.l$], [`tack.l`], [$tack.r.double$], [`tack.r.double`], + [$tack.r$], [`tack.r`], [$tack.l$], [`tack.l`], [$tack.rr$], [`tack.rr`], [$divides$], [`divides`], [$parallel$], [`parallel`], [$tack.t$], [`tack.t`], [$:$], [`:`], [$in.not$], [`in.not`], [$!=$], [`!=, eq.not`], ), @@ -74,14 +74,14 @@ table( columns: 6, [$+$], [`+, plus`], [$-$], [`-, minus`], [$$], [``], - [$plus.minus$], [`plus.minus`], [$minus.plus$], [`minus.plus`], [$lt.tri$], [`lt.tri`], - [$dot$], [`dot`], [$div$], [`div`], [$gt.tri$], [`gt.tri`], + [$plus.minus$], [`plus.minus`], [$minus.plus$], [`minus.plus`], [$lt.closed$], [`lt.closed`], + [$dot$], [`dot`], [$div$], [`div`], [$gt.closed$], [`gt.closed`], [$times$], [`times`], [$without$], [`without`], [$star$], [`star`], [$union$], [`union`], [$inter$], [`inter`], [$*$], [`*`], [$union.sq$], [`union.sq`], [$inter.sq$], [`inter.sq`], [$circle.stroked.tiny$], [`circle.stroked.tiny`], [$or$], [`or`], [$and$], [`and`], [$bullet$], [`bullet`], - [$xor$], [`xor`], [$minus.circle$], [`minus.circle`], [$dot.circle$], [`dot.circle`], - [$union.plus$], [`union.plus`], [$times.circle$], [`times.circle`], [$circle.big$], [`circle.big`], + [$xor$], [`xor`], [$minus.o$], [`minus.o`], [$dot.o$], [`dot.o`], + [$union.plus$], [`union.plus`], [$times.o$], [`times.o`], [$circle.big$], [`circle.big`], [$product.co$], [`product.co`], [$triangle.stroked.t$], @@ -89,8 +89,8 @@ [$triangle.stroked.b$], [`triangle.stroked.b`], - [$dagger$], [`dagger`], [$lt.tri$], [`lt.tri`], [$gt.tri$], [`gt.tri`], - [$dagger.double$], [`dagger.double`], [$lt.tri.eq$], [`lt.tri.eq`], [$gt.tri.eq$], [`gt.tri.eq`], + [$dagger$], [`dagger`], [$lt.closed$], [`lt.closed`], [$gt.closed$], [`gt.closed`], + [$dagger.double$], [`dagger.double`], [$lt.closed.eq$], [`lt.closed.eq`], [$gt.closed.eq$], [`gt.closed.eq`], [$wreath$], [`wreath`], ), caption: [二元运算符], @@ -102,8 +102,8 @@ [$sum$], [`sum`], [$union.big$], [`union.big`], [$or.big$], [`or.big`], [$product$], [`product`], [$inter.big$], [`inter.big`], [$and.big$], [`and.big`], [$product.co$], [`product.co`], [$union.sq.big$], [`union.sq.big`], [$union.plus.big$], [`union.plus.big`], - [$integral$], [`integral`], [$integral.cont$], [`integral.cont`], [$dot.circle.big$], [`dot.circle.big`], - [$plus.circle.big$], [`plus.circle.big`], [$times.circle.big$], [`times.circle.big`], + [$integral$], [`integral`], [$integral.cont$], [`integral.cont`], [$dot.o.big$], [`dot.o.big`], + [$plus.o.big$], [`plus.o.big`], [$times.o.big$], [`times.o.big`], ), caption: [「大」运算符], ) @@ -135,7 +135,7 @@ table( columns: 6, [$dots$], [`dots`], [$dots.c$], [`dots.c`], [$dots.v$], [`dots.v`], - [$dots.down$], [`dots.down`], [$planck.reduce$], [`planck.reduce`], [$dotless.i$], [`dotless.i`], + [$dots.down$], [`dots.down`], [$planck$], [`planck`], [$dotless.i$], [`dotless.i`], [$dotless.j$], [`dotless.j`], [$ell$], [`ell`], [$Re$], [`Re`], [$Im$], [`Im`], [$aleph$], [`aleph`], [$forall$], [`forall`], [$exists$], [`exists`], [$Omega.inv$], [`Omega.inv`], [$partial$], [`partial`], diff --git a/src/tutorial/scripting-shape.typ b/src/tutorial/scripting-shape.typ index 69218e8..b01fd0d 100644 --- a/src/tutorial/scripting-shape.typ +++ b/src/tutorial/scripting-shape.typ @@ -102,7 +102,7 @@ Typst较LaTeX的一个有趣的特色是内置了很多方法对颜色进行计 Typst不仅支持颜色填充,还支持按照固定的模式将其他图形对元素进行填充。例如下面的pat定义了一个长为`61.8pt`,宽为`50pt`的图形。将其填充进一个矩形中,填充图形从左至右,从上至下布满矩形内容中。 #code(```typ -#let pat = pattern(size: (61.8pt, 50pt))[ +#let pat = tiling(size: (61.8pt, 50pt))[ #place(line(start: (0%, 0%), end: (100%, 100%))) #place(line(start: (0%, 100%), end: (100%, 0%))) ]