从' ctrl+ _ _&#x27更改下标的快捷方式。进入Ctrl+ l'失败的?

发布于 2025-01-20 22:17:30 字数 425 浏览 3 评论 0原文

我想将下标的快捷键从ctrl+_更改为ctrl+l。我找到KeyEventTranslations.tr文件,成功将上标从ctrl+6更改为ctrl+h。但是当我对下标做同样的事情时,即注释原始代码,将其更改为我的 ctrl+l by

Item[KeyEvent["l", Modifiers ->{Control}],  "Subscript"]

但是当我重新打开 Mathematica 时,下标不起作用。为什么没有效果?

我尝试更改绑定,发现ctrl+q效果很好,似乎ctrl+l已被其他东西使用,我该如何更改ctrl +l 到我想要的?

I want to change the shortcut of subscript from ctrl+_ into ctrl+l. I find the KeyEventTranslations.tr file, successfully change superscript from ctrl+6 into ctrl+h. But when I do the same thing to subscript, i.e., comment the original code, change it into mine ctrl+l by

Item[KeyEvent["l", Modifiers ->{Control}],  "Subscript"]

but when I reopen Mathematica, the subscript does not work. Why didn't it work?

I tried to change the binding, find that ctrl+q works well, it seems that ctrl+l has been used by something else, how can I change ctrl+l to what I want it to?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

纵山崖 2025-01-27 22:17:30

先搜索mathematica的快捷键列表,发现它原来的函数是从上面输入。因此我们需要注释 MenuSetup.tr 文件中的以下代码

MenuItem["&Input from Above", FrontEnd`DuplicatePreviousInput[After], MenuKey["l", Modifiers->{"Control"}]]

First search the shortcuts list of mathematica, find that its original function is Input from Above. So we need to comment the code below from MenuSetup.tr file

MenuItem["&Input from Above", FrontEnd`DuplicatePreviousInput[After], MenuKey["l", Modifiers->{"Control"}]]
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文