在没有 RSI 的情况下输入乳胶

发布于 2024-12-14 17:00:15 字数 192 浏览 2 评论 0原文

我无法在笔记本电脑上打字乳胶而不感到手酸痛。我在组织模式下使用乳胶写数学笔记,我的右手小指总是拉伸 _{}\。

有人建议输入大量乳胶吗?欢迎使用替代输入法或盲打提示,以及明显的提示或替代方案。我无法理解人们是如何做到的。

I can't type latex on my laptop without sore hands. I use latex in org-mode to write math notes and my right pinky is always stretching for _, {, }, and \.

Does anyone advice for typing large amounts of latex? Alternative input methods or touch typing tips are welcome, as are obvious tips or alternatives. I can't understand how people do it.

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

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

发布评论

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

评论(3

鸠书 2024-12-21 17:00:24

您可以尝试更改键盘布局。 qwerty 布局的设计不符合人体工程学。它的设计目的是防止打字机中的金属臂卡住,我认为这在您的笔记本电脑上不应该成为问题。

Dvorak 是一种可能性,其中字符被重新排列,以便您最常输入的字符位于主行,需要小手指的移动。

Neo 是另一种布局,它不仅重新排列字符。它还引入了两个新的修饰键。这些修饰符可以将您提到的所有角色放在合适的位置。用作修饰符的一个键是大写锁定,因此 CAPS-a 变为 \、CAPS-d {、CAPS-f } 和 CAPS- e<代码>_。 这里是一张图片。

Neo 是德语布局,因此前两层(小写和大写字符)不适合英文文本,但您可以下载 xmodmap 并仅使用第三层“编程字符”。

You could try changing your keyboard layout. The qwerty layout was not designed to be ergonomic. It was designed to prevent the metal arms in typewriters from jamming, something that shouldn't be a problem on your laptop I think.

Dvorak is one possibility, where the characters are rearranged, so that the characters you type most often are on the home row, where little finger movement is needed.

Neo is another layout, which not only rearranges the characters. It also introduces two new modifier keys. Those modifiers make it possible to put all the characters you mention in good positions. One key used as a modifier is caps lock, so CAPS-a becomes \, CAPS-d {, CAPS-f } and CAPS-e _. Here is an image.

Neo is a German layout, so the first two layers (lowercase and uppercase characters) are not good for English text, but you can download the xmodmap and just use the third layer for "programming characters".

韶华倾负 2024-12-21 17:00:23

Auctex 为编写 LaTeX 提供了比 org-mode 更好的支持(我记得,还没有经常使用组织模式)。最常见的需要 _{}\ 的 LaTeX 结构通过更方便的键绑定提供:< code>Cc Ce 添加环境,Cc Cm 添加宏等。它还包含一整套数学模式快捷方式,因此一旦您熟悉了它,您就可以将能够更多地留在“本位”。

您可以兼得两者的优点 - 只需绑定一个键即可从 org 模式切换到 auctex
如果您想在大部分时间使用 org-mode,并且仅在添加特定 LaTeX 代码时才利用 Auctex。

Auctex provides much better support for writing LaTeX than org-mode (as I recall, haven't used org-mode much). The most frequent LaTeX constructs that require _, {, } and \ are provided via more convenient keybindings: C-c C-e to add an environment, C-c C-m to add a macro etc. It also includes a whole suite of math-mode shortcuts too, so once you're familiar with it you'll be able to stay in "home position" more.

You can have the best of both - just bind a key to switch from org-mode to auctex
if you want to use org-mode most of the time, and take advantage of Auctex only when adding specific LaTeX code.

诗笺 2024-12-21 17:00:20

缓解 RSI 基本上就是

  1. 尽可能少地打字,
  2. 尽可能少地输入对您的手造成影响的命令,并
  3. 暂停一下,以便您的手可以休息。

第一点显然可以通过在不需要时不写来解决。从技术上讲,第一点可以通过减少不必要的输入来解决,例如通过构建 LaTeX 代码来减少冗余,但过度这样做可能会混淆您的代码(您希望它可读)。从技术上解决第一点的另一种方法是使用不同的工具,例如编辑器的功能或配置您的环境。从技术上讲,第二点可以与第一点相同的方式处理。第三点显然可以通过暂停来解决,暂停可以通过诸如 https://superuser.com/questions/305940/linux-software-for- periodical-work-break/306276#306276 但如果您正在做讲座笔记或类似内容,这一点似乎并不相关。因此,我将重点讨论第一点和第二点的技术解决方案。

片段管理器

为了简化您经常编写的编写结构,您可以使用片段管理器/模板系统,例如 yasnippet。通过这样的解决方案,您可以创建自己的片段,以提高效率并更好地使用您的手指。例如,您可以制作一个片段,如果您编写 align 并按 Tab 它会打印

\begin{align}

\end{align}

并将光标放置在环境中。

AUCTeX 的 LaTeX 数学模式

数学符号通常写起来很麻烦,因为它们中的许多都以 \ 开头。 AUCTeX 附带了可以更轻松地输入数学符号的功能,请参阅 http://www.gnu.org/s/auctex/manual/auctex/Mathematics.html。要使用它,请按调用 (LaTeX-math-mode) 的键(默认键是 `,但这可能不是您的键盘的最佳选择,因此请对其进行良好的绑定)和定义的键编写一个数学符号,例如,如果您键入`,然后键入f,则会打印\phi。这是默认绑定的参考 ftp://ftp.gnu .org/gnu/auctex/11.82-extra/tex-ref.pdf

重新映射

您可以重新映射按键,以便更轻松地输入那些对您来说很麻烦的命令。如果您使用的是 Linux,则可以通过 xmodmap 和 XKB 完成重新映射,您还可以在 Emacs 内部重新映射键。有关特定于 LaTeX 的重新映射的详细信息,请参阅以下优秀答案 https: //tex.stackexchange.com/questions/1979/good-keyboard-layouts-for-typing-latex/1985#1985(还有一个博客介绍它的帖子 http://tex.blogoverflow。 com/2011/08/great-questions-i-save-your-fingers/)并注意链接问题的其他答案可能会让您感兴趣。

Easing RSI is basically about

  1. typing as little as possible,
  2. typing as few commands that are trying on your hands as possible, and
  3. taking pauses so that your hands may rest.

The first point can obviously be taken care of by not writing when you don't have to. Technically the first point can be taken care of by reducing unnecessary input, e.g. by constructing your LaTeX code so that you have less redundancies, but overly doing this may obfuscate your code (you want it readable). Another way to technically take care of the first point is by using different tools such as the features of an editor or by configuring your environment. The second point may technically be taken care of the same way as the first. The third point may obviously taken care of by taking pauses which may be enforced by tools such as those in https://superuser.com/questions/305940/linux-software-for-periodical-work-break/306276#306276 but this point does not seem relevant if you're taking lectures notes or similar. Thus, I'll focus on technical solution to the first and the second point.

Snippets manager

To ease writing construct that you often write you could use a snippets manager/template system such as yasnippet. With such a solution you can create your own snippets to be more efficient and nicer to your fingers. For example you can make a snippet such that if you write align and press Tab it prints

\begin{align}

\end{align}

and places the cursor inside the environment.

AUCTeX's LaTeX-math-mode

Math symbols are often cumbersome to write because many of them starts with \. AUCTeX comes with functionality that makes it easier to type math symbols, see http://www.gnu.org/s/auctex/manual/auctex/Mathematics.html. To use it you press the key that calls (LaTeX-math-mode) (the default key is ` but that may not be optimal for your keyboard, so give it a good bind) and a defined key to write a math symbol, e.g. if you type ` and then f it prints \phi. Here's a reference for the default bindings ftp://ftp.gnu.org/gnu/auctex/11.82-extra/tex-ref.pdf.

Remapping

You could remap your keys so that the commands that hurts for you to type gets easier to type. If you're on Linux remapping can be done by xmodmap and XKB and you can also remap the keys internally in Emacs. For details on remapping specific to LaTeX see the following excellent answer https://tex.stackexchange.com/questions/1979/good-keyboard-layouts-for-typing-latex/1985#1985 (there's also a blog post introducing it http://tex.blogoverflow.com/2011/08/great-questions-i-save-your-fingers/) and note that the other answers to the linked question might interest you.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文