Skip to content

Commit

Permalink
Create custom_matrix_func.md
Browse files Browse the repository at this point in the history
  • Loading branch information
flaribbit authored Jan 20, 2025
1 parent 0771c0c commit 51d882b
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/FAQ/custom_matrix_func.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
tags: [equation, code]
---

# 矩阵的方括号感觉距离数字有点近

可以搞点 trick,自己造个 mat,加空格(

```typst
#let mat(..args)=$lr([med #math.mat(..args, delim: none) med])$
$ mat(2,3,4;5,6,7;8,9,9) $
```

0 comments on commit 51d882b

Please sign in to comment.