Skip to content

[Bug]: Unstable styling with wrap-text #401

@NeilGirdhar

Description

@NeilGirdhar

What happened?

Running typstyle twice is not stable:

❯ typstyle -i thesis.typ -l 100 -t 2 --wrap-text -v

Turns this:

To this neural network, we also add another convex term:
$
  [frac(abs(x_i)^k x_i, ell)]_i
$ <eqn:odd_power_term>

into this

To this neural network, we also add another convex term: $
  [frac(abs(x_i)^k x_i, ell)]_i
$ <eqn:odd_power_term>

and back, ad infinitum.

IMO, the $ should stay on the following line.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions