Skip to content

Commit

Permalink
fixup! Add super-T-as-transpose
Browse files Browse the repository at this point in the history
  • Loading branch information
Leedehai committed Dec 21, 2023
1 parent b9d7777 commit d55068b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ This [Typst](https://typst.app) package provides handy typesetting utilities for
natural sciences, including:
* Braces,
* Vectors and vector fields,
* Matrices, including Jacobian and Hessian,
* Matrices, including Jacobian and Hessian, interpreting `..^T` as transpose,
* Dirac braket notations,
* Common math functions,
* Differentials and derivatives, including partial derivatives of mixed orders with automatic order summation,
Expand All @@ -32,7 +32,7 @@ See the [manual](https://github.com/Leedehai/typst-physics/blob/master/physica-m

A larger [demo.typ](https://github.com/Leedehai/typst-physics/blob/master/demo.typ):

![demo-larger](https://github.com/Leedehai/typst-physics/assets/18319900/ed2d95af-4bb9-4131-957f-ffba4f932a03)
![demo-larger](https://github.com/Leedehai/typst-physics/assets/18319900/af4fcf6c-5da3-48d1-a7a7-59053f808db5)

## Using physica in your Typst document

Expand Down
4 changes: 3 additions & 1 deletion demo.typ
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@

#import "physica.typ": *

#show: super-T-as-transpose // Render "..^T" as transposed matrix

$
curl vb(E) = - pdv(vb(B), t),
A^T, curl vb(E) = - pdv(vb(B), t),
quad
tensor(Lambda,+mu,-nu) = dmat(1,RR),
quad
Expand Down

0 comments on commit d55068b

Please sign in to comment.