Open Andrew15-5 opened 1 month ago
#show heading.where(level: 2): set heading(numbering: (..n) => [#n.pos().at(1).])
with typstyle -c 80:
typstyle -c 80
#show heading.where(level: 2): set heading(numbering: ( ..n, ) => [#n.pos().at(1).])
I think it's much more readable to prefer first breaking by 1 parameter per line:
#show heading.where(level: 2): set heading( numbering: (..n) => [#n.pos().at(1).], )
I'm not entirely sure what's happending but it looks like this falls into a special handling for single parameter function call. I will look into it later.
with
typstyle -c 80
:I think it's much more readable to prefer first breaking by 1 parameter per line: