Skip to content

[201_93] fix \det input producing plain text instead of determinant matrix#2947

Open
divyansharma001 wants to merge 1 commit intoMoganLab:mainfrom
divyansharma001:da/201_93/fix_det_input
Open

[201_93] fix \det input producing plain text instead of determinant matrix#2947
divyansharma001 wants to merge 1 commit intoMoganLab:mainfrom
divyansharma001:da/201_93/fix_det_input

Conversation

@divyansharma001
Copy link
Contributor

Summary

Test plan

  • Open Mogan STEM, create new document, enter math mode
  • Type \det, select from autocomplete, press Enter
  • Verify a determinant matrix with vertical bar delimiters is inserted (not plain text)

…atrix

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings March 6, 2026 08:49
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes Mogan STEM’s LaTeX input/autocomplete behavior so that \det in math mode inserts a proper determinant (vertical-bar delimited matrix) instead of the plain text det, aligning with the existing det macro and other insertion paths (menu/shortcuts).

Changes:

  • Update LaTeX keyboard binding for det from plain text insertion to structured determinant creation.
  • Add a development note documenting the issue, rationale, and manual test steps.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
TeXmacs/plugins/latex/progs/latex-kbd.scm Switch det binding to (make 'det) to produce a determinant matrix structure.
devel/201_93.md Document the bug, reasoning, fix, and how to test the corrected \det insertion behavior.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

\det 输入出现纯文本,而不是行列式

2 participants