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 11b78a2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
Binary file modified physica-manual.pdf
Binary file not shown.
11 changes: 10 additions & 1 deletion physica-manual.typ
Original file line number Diff line number Diff line change
Expand Up @@ -791,14 +791,23 @@ In the default font, the Typst built-in symbol `planck.reduce` $planck.reduce$ l

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.
This conversion is disabled if the base is an integral symbol.

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 11b78a2

Please sign in to comment.