Can spread dictionary in attach #3477
Answered
by
PgBiel
LamprosPitsillos
asked this question in
Q&A
-
let X(pre: [],att:(), post: []) = {
let args = arguments(..att,[A])
let name = [#pre] + [$attach(..args)$] + [#post];
align(center)[#name]
// matrix_dim(dim: ("n", "k"))[#name]
}
X(pre:2,post:4,att:(t:h))
X(pre:2)
|
Beta Was this translation helpful? Give feedback.
Answered by
PgBiel
Feb 22, 2024
Replies: 1 comment
-
Math mode does not support the spread operator; use |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
LamprosPitsillos
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Math mode does not support the spread operator; use
#math.attach(..args)
instead.