Skip to content

Commit

Permalink
Update demo, rearrange manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
Leedehai committed Nov 28, 2023
1 parent 8f64609 commit ae714fb
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 12 deletions.
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
# The physica module (for physics)
# The `physica` package for Typst

[![CI](https://github.com/Leedehai/typst-physics/actions/workflows/ci.yml/badge.svg)](https://github.com/Leedehai/typst-physics/actions/workflows/ci.yml)
[![Latest release](https://img.shields.io/github/v/release/Leedehai/typst-physics.svg?color=gold)][latest-release]

The [manual](https://github.com/Leedehai/typst-physics/blob/master/physica-manual.pdf).
Download releases [here](https://github.com/Leedehai/typst-physics/releases/).
:green_book: The [manual](https://github.com/Leedehai/typst-physics/blob/master/physica-manual.pdf).

Available at the official collection of [Typst packages](https://typst.app/docs/packages/).
Available in the collection of [Typst packages](https://typst.app/docs/packages/): `#import "@preview/physica:0.8.1": *`

This [Typst](https://typst.app) package provides handy typesetting utilities for
physics, including:
Expand All @@ -30,9 +29,9 @@ everybody", this package was renamed from `physics` to `physica`.

See the [manual](https://github.com/Leedehai/typst-physics/blob/master/physica-manual.pdf) for more details.

![demo1](https://github.com/Leedehai/typst-physics/assets/18319900/b0e2753e-ba72-46d4-809f-d6a12d8d1d6d)
![demo-quick](https://github.com/Leedehai/typst-physics/assets/18319900/4a9f40df-f753-4324-8114-c682d270e9c7)

![demo2](https://user-images.githubusercontent.com/18319900/236073825-e91b4601-7e92-490b-a7e4-e9e405a2147b.png)
![demo-larger](https://user-images.githubusercontent.com/18319900/236073825-e91b4601-7e92-490b-a7e4-e9e405a2147b.png)

## Using physica in your Typst document

Expand Down
Binary file modified physica-manual.pdf
Binary file not shown.
6 changes: 3 additions & 3 deletions physica-manual.typ
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

#align(center)[
Version #version, October 25, 2023 \
Doc updated: November 21, 2023
Doc updated: November 26, 2023
]

#set par(justify: true)
Expand Down Expand Up @@ -56,10 +56,10 @@ With `typst`'s #linkurl("package management", "https://github.com/typst/packages
```typst
#import "@preview/physica:0.8.1": *
$ curl (grad f), pdv(,x,y,[1,2]), tensor(Gamma,+k,-i,-j) = pdv(vb(e_i),x^j)vb(e^k) $
$ curl (grad f), pdv(,x,y,z,[2,k]), tensor(Gamma,+k,-i,-j) = pdv(vb(e_i),x^j)vb(e^k) $
```

$ curl (grad f), pdv(,x,y,[1,2]), tensor(Gamma,+k,-i,-j) = pdv(vb(e_i),x^j)vb(e^k) $
$ curl (grad f), pdv(,x,y,z,[2,k]), tensor(Gamma,+k,-i,-j)=pdv(vb(e_i),x^j)vb(e^k) $

= The symbols

Expand Down
6 changes: 3 additions & 3 deletions typst.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
[package]
name = "physica"
version = "0.8.1"
entrypoint = "physica.typ"
license = "MIT"
description = "Physics: derivative, differential, field, matrix, braket, tensor, hbar, etc."
description = "Neat derivative, differential, field, matrix, braket, tensor, hbar, etc."
authors = ["Leedehai"]
repository = "https://github.com/Leedehai/typst-physics"
keywords = [
Expand All @@ -14,3 +12,5 @@ keywords = [
]
compiler = "0.8.0"
exclude = ["*.pdf", "*.py"]
entrypoint = "physica.typ"
license = "MIT"

0 comments on commit ae714fb

Please sign in to comment.