Skip to content

Commit

Permalink
fix: physicsphysica
Browse files Browse the repository at this point in the history
  • Loading branch information
YDX-2147483647 committed Sep 8, 2023
1 parent 3fe8096 commit fb92169
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)$
```
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions demo.typ
Original file line number Diff line number Diff line change
@@ -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),
Expand Down
2 changes: 1 addition & 1 deletion physica.typ
Original file line number Diff line number Diff line change
@@ -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.
Expand Down

0 comments on commit fb92169

Please sign in to comment.