From fb9216949fd9141388558a8328c5bcdb9babd064 Mon Sep 17 00:00:00 2001 From: "Y.D.X." <73375426+YDX-2147483647@users.noreply.github.com> Date: Fri, 8 Sep 2023 11:46:17 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20`physics`=20=E2=86=92=20`physica`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 12 ++++++------ demo.typ | 4 ++-- physica.typ | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 405f4bb..6c522b6 100644 --- a/README.md +++ b/README.md @@ -45,18 +45,18 @@ $op("curl")(op("grad") f) = curl (grad f)$ ### Without `typst` package management -* To use the `physics` package, simply insert `#import "physics.typ": *` at the +* To use the `physica` package, simply insert `#import "physica.typ": *` at the beginning of your document. * To reduce the possibility of name collisions, you may want to import the -package under name scope `physics`: +package under name scope `physica`: ``` - #import "physics.typ" + #import "physica.typ" - $op("curl")(op("grad") f) = physics.curl (physics.grad f)$ + $op("curl")(op("grad") f) = physica.curl (physica.grad f)$ ``` * You may also import names specifically: ``` - #import "physics.typ": curl, grad + #import "physica.typ": curl, grad $op("curl")(op("grad") f) = curl (grad f)$ ``` @@ -76,7 +76,7 @@ typst 0.6.0 (2dfd44fe) To regenerate the manual, use command ```sh -typst watch physics-manual.typ +typst watch physica-manual.typ ``` ## Contribution diff --git a/demo.typ b/demo.typ index ff95db1..fb91f62 100644 --- a/demo.typ +++ b/demo.typ @@ -1,8 +1,8 @@ // Copyright 2023 Leedehai // Use of this code is governed by a MIT license in the LICENSE.txt file. -// For a manual on this package, see physics-manual.pdf. +// For a manual on this package, see physica-manual.pdf. -#import "physics.typ": * +#import "physica.typ": * $ curl vb(E) = - pdv(vb(B), t), diff --git a/physica.typ b/physica.typ index 5e7e523..991083a 100644 --- a/physica.typ +++ b/physica.typ @@ -1,6 +1,6 @@ // Copyright 2023 Leedehai // Use of this code is governed by a MIT license in the LICENSE.txt file. -// Current version: 0.7.5. Please see physics-manual.pdf for user docs. +// Current version: 0.7.5. Please see physica-manual.pdf for user docs. // Returns whether a Content object holds an integer. The caller is responsible // for ensuring the input argument is a Content object.