Skip to content

[213_23] Fix piecewise function LaTeX import with aligned environment#2889

Open
cc-fuyu wants to merge 1 commit intoMoganLab:mainfrom
cc-fuyu:cc-fuyu/fix-2733-piecewise-latex-import
Open

[213_23] Fix piecewise function LaTeX import with aligned environment#2889
cc-fuyu wants to merge 1 commit intoMoganLab:mainfrom
cc-fuyu:cc-fuyu/fix-2733-piecewise-latex-import

Conversation

@cc-fuyu
Copy link

@cc-fuyu cc-fuyu commented Feb 27, 2026

Fixes #2733

  • Add 'aligned' as a recognized environment in finalize_pmatrix
  • Add END 'aligned' as a break condition in parse_pmatrix
  • This allows \left{\begin{aligned}...\end{aligned}\right. to be properly imported as a table structure with left brace delimiter

Fixes MoganLab#2733

- Add 'aligned' as a recognized environment in finalize_pmatrix
- Add END 'aligned' as a break condition in parse_pmatrix
- This allows \left\{\begin{aligned}...\end{aligned}\right. to be
  properly imported as a table structure with left brace delimiter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

分段函数的LaTeX导入的排版有问题

1 participant