Skip to content

Commit

Permalink
Add an instruction on limiting the tanspose show rule
Browse files Browse the repository at this point in the history
  • Loading branch information
Leedehai committed Dec 21, 2023
1 parent aaf4d55 commit c07df3d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
Binary file modified physica-manual.pdf
Binary file not shown.
17 changes: 14 additions & 3 deletions physica-manual.typ
Original file line number Diff line number Diff line change
Expand Up @@ -789,16 +789,27 @@ In the default font, the Typst built-in symbol `planck.reduce` $planck.reduce$ l

#v(1em)

Matrix transposition can be simply written as `..^T`, where the `T` will be
formatted properly to represent transposition instead of a normal letter $T$.
This conversion is disabled if the base is integral symbol.
Matrix transposition can be simply written as `..^T`, just like handwriting,
and the `T` will be formatted properly to represent transposition instead of a
normal letter $T$. This conversion is disabled if the base is an integral symbol.
As a fallback, this package also provides symbol `TT` to represent the
transpose: `A^TT`.

To enable this feature, users need to first import this and call
```typ
#import "...(this physica package)...": super-T-as-transpose
#show: super-T-as-transpose
```

If you'd like to only apply this show rule within a scope, you may do
```typ
#import "...(this physica package)...": super-T-as-transpose
#[
#show: super-T-as-transpose
... // Only enabled inside this #[..] scope.
]
```

#align(center, [*Examples*])

#show: super-T-as-transpose // Necessary!
Expand Down

0 comments on commit c07df3d

Please sign in to comment.