Skip to content

Commit

Permalink
fix: fixed #2551
Browse files Browse the repository at this point in the history
  • Loading branch information
arnog committed Nov 25, 2024
1 parent 01cc65d commit febffc8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
- **#2545** (?) Use `\rightarrow` instead of `\rarr` in the virtual keyboard.
- **#2543** The `MathfieldElement.fractionNavigationOrder` was not respected
when navigating in a fraction with the arrow keys.
- **#2251** Fixed the serialization of `\displaylines{}`

## 0.101.1 _2024-10-15_

Expand Down
2 changes: 1 addition & 1 deletion src/atoms/array.ts
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ export class ArrayAtom extends Atom {
_serialize(options: ToLatexOptions): string {
const result: string[] = [];

if (this.environmentName === 'lines') result.push(`{\\displaylines`);
if (this.environmentName === 'lines') result.push(`\\displaylines{`);
else result.push(`\\begin{${this.environmentName}}`);

if (this.environmentName === 'array') {
Expand Down

0 comments on commit febffc8

Please sign in to comment.