SkillAgentSearch skills...

OneHotkey

\a → \alpha → α: Simplify formula inputs in OneNote/Word. 简化OneNote/Word中的数学公式输入

Install / Use

/learn @RUSRUSHB/OneHotkey
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

OneHotkey: Faster Math Input in OneNote/Word

  • 中文版介绍:README_CN.md
  • 这是一个用于简化 OneNoteWord 中数学公式输入的 AutoHotKey 脚本,例如,\a 代表 $\alpha$ (\alpha)。

This is a script that simplifies math formula inputs in OneNote and Word with AutoHotKey script, e.g., \a for $\alpha$ (\alpha).

Demonstration video (Early version):

If the formulas aren't displayed correctly, go to README_EN.pdf.

How to Use

  1. Download and run OneHotkey.exe.
  2. Input the code of the symbol, then press Space to get the symbol. For example, input \a and press Space to get $\alpha$.
  3. For editting the symbol mapping, please refer to Code Editing Guide. If you need help, go to the AutoHotKey official website.
  4. To stop the script, right click the H icon in the system tray and select Exit.

Table of Contents

<!-- TOC --> <!-- /TOC -->

Symbol Mapping

Overview

The script contains multiple symbol mappings, including Greek letters, math fonts, frequently used letters, and structures. The following is a list of some typical mappings. Make sure that you have entered the formula input mode with Alt+=.

If the formulas aren't displayed correctly, go to README_EN.pdf.

|Code|Output|Category|Source| |----|------|----|---| |\a| $\alpha$ |lowercase Greek letters|\alpha | |\D| $\Delta$ |uppercase Greek letters|\Delta | |\R, \C, \Z, \N, \J| ℝ, ℂ, ℤ, ℕ, 𝕁 |frequently used letters|\doubleR , ...| |\do X, \sc X, \fr X| 𝕏, 𝒳, 𝔛 |fancy letter forms|\doubleX , \scriptX , \frakturX | |\m3, \m4, ...|specific shape matrices|matrices|[\matrix(@@&&)] , ...| |x\h, x\~, x\d2| $\hat{x}$, $\tilde{x}$, $\ddot{x}$ |modifiers|\hat , \tilde , \ddot | |\x, \X, \sq, \pa, \eq| $\cdot$, $\times$, $\sqrt{⬚}$, $\parallel$, $\equiv$ |operators|\cdot , \times, \sqrt , \parallel , \equiv| |\pd, \d, \dt, \inf| $\partial$, $\text{d}$, $\frac{\text{d}}{\text{d}t}$, $\infty$ |frequently used symbols|\partial , "d" , "d" /"d" t , \infty | |\limx, \limx0| $ \lim_{x \rightarrow \infty} $, $ \lim_{x \rightarrow 0} $ |limits|lim_(x->\infty ) , lim_(x->0 ) | |\ls| $^⬚_⬚ P$ |left super-and-lowerscript|^_ P | |\i, \j, \k| $\text{i}$, $\text{j}$, $\text{k}$ |imaginary/quaternion symbols|"i", "j", "k"| |\ejw| $e^{j\omega}$ |complex exponential factor|e^j\omega |

You shall notice that (space) is commonly used, which is the key feature of OneNote formula input.

Full Table

Frequently Used Letters

| Code | Output | Source | Code | Output | Source | |------|--------|--------|------|--------|--------| | \pd | $\partial$ | \partial{Space} |\d|$\text{d}$|"d"{Space}| | \inf | $\infty$ | \infty{Space} | \dt | $\frac{\text{d}}{\text{d}t}$ | "d"{Space}/"d"{Space}t{Space}{Left 4}^i | | \R | $\mathbb{R}$ | \doubleR{Space} | \E|$\mathbb{E}[⬚]$|\doubleE{Space}[]{Space}{Left}| | \Q | $\mathbb{Q}$ | \doubleQ{Space} | \Z | $\mathbb{Z}$ | \doubleZ{Space} | | \N | $\mathbb{N}$ | \doubleN{Space} | \C | $\mathbb{C}$ | \doubleC{Space} | | \J | $\mathbb{J}$ | \doubleJ{Space} | \n | $\nabla$ | \nabla{Space} |

Operators

| Code | Output | Source | Code | Output | Source | |------|--------|--------|------|--------|--------| | \x | $\cdot$ | \cdot{Space} | \X | $\times$ | \times{Space} | | \sq | $\sqrt{⬚}$ | \sqrt{Space 2}{Left} | \pa | $\parallel$ | \parallel{Space} | | \ss | $\subset$ | \subset{Space} | \sse | $\subseteq$ | \subseteq{Space} | | \op | $\oplus$ | \oplus{Space} | \ox | $\otimes$ | \otimes{Space} | | \od | $\odot$ | \odot{Space} | \dd | $\ddots$ | \ddots{Space} | | \cd | $\cdots$ | \cdots{Space} | \vd | $\vdots$ | \vdots{Space} | | \map | $\mapsto$ | \mapsto{Space} | \pro | $\propto$ | \propto{Space} | | \as | $\because$ | \because{Space} | \so | $\therefore$ | \therefore{Space} | | \eq | $\equiv$ | \equiv{Space} | \deq | $\triangleq$ | \Deltaeq{Space} | | \xe | $\times 10^{⬚}$ | \times{Space}10{^}{Space}{Left} | \ex | $\exists$ | \exists{Space} | | \fa | $\forall$ | \forall{Space} | \ppd | $\frac{\partial}{\partial}$ | \partial{Space}/\partial{Space 2}{Left 3} | | \ppd | $\frac{\partial}{\partial}$ | \partial{Space}/\partial{Space 2}{Left 3} |

Greek Letters

| Code | Output | Source | Code | Output | Source | |------|--------|--------|------|--------|--------| | \a | $\alpha$ | \alpha{Space} | \b | $\beta$ | \beta{Space} | | \e | $\varepsilon$ | \varepsilon{Space} | \ve | $\epsilon$ | \epsilon{Space} | | \de | $\delta$ | \delta{Space} | \D | $\Delta$ | \Delta{Space} | | \s | $\sigma$ | \sigma{Space} | \S | $\Sigma$ | \Sigma{Space} | | \l | $\lambda$ | \lambda{Space} | \L | $\Lambda$ | \Lambda{Space} | | \t | $\theta$ | \theta{Space} | \T | $\Theta$ | \Theta{Space} | | \p | $\phi$ | \phi{Space} | \P | $\Phi$ | \Phi{Space} | | \o | $\omega$ | \omega{Space} | \O | $\Omega$ | \Omega{Space} | | \g | $\gamma$ | \gamma{Space} | \G | $\Gamma$ | \Gamma{Space} |

  • ve means variant epsilon. For convenience, \e is set to $\varepsilon$ and \ve is set to $\epsilon$, which is different from their original code.

Matrix

| Code | Output | Source | |------|--------|--------| | \m4 | 4 by 4 empty matrix | [\matrix(@@@&&&){Space}]{Space} | | \m3 | 3 by 3 empty matrix | [\matrix(@@&&){Space}]{Space} | | \m2 | 2 by 2 empty matrix | [\matrix(@&){Space}]{Space} | | \m | empty matrix awaiting & @ to set size | []{Space}{Left}\matrix(){Left} |

Modifiers

| Code | Output | Source | |------|--------|--------| | \d1 | $\dot{x}$ | \dot{Space 2} | | \d2 | $\ddot{x}$ | \ddot{Space 2} | | \d3 | 3 dots above | \dddot{Space 2} | | \d4 | 4 dots above | \ddddot{Space 2} | | \~ | $\tilde{x}$ | \tilde{Space 2} | | \v | $\vec{x}$ | \vec{Space 2} | | \h | $\hat{x}$ | \hat{Space 2} | | \ub | $\underline{x}$ | \underbar{Space 2}{Left} |

  • For the above codes, you should input like x\h .

Arrows

| Code | Output | Source | Code | Output | Source | |------|--------|--------|------|--------|--------| | \lr | $\leftrightarrow$ | \leftrightarrow{Space} | \Lr | $\Leftrightarrow$ | \Leftrightarrow{Space} | | \lrs | $\leftrightarrows$ | \leftrightarrows{Enter}{Left} | \la | $\leftarrow$ | \leftarrow{Space} | | \La | $\Leftarrow$ | \Leftarrow{Space} | \ra | $\rightarrow$ | \rightarrow{Space} | | \Ra | $\Rightarrow$ | \Rightarrow{Space} | \down | $\downarrow$ | \downarrow{Space} | | \up | $\uparrow$ | \uparrow{Space} |

Symbols

| Code | Output | Source | Code | Output | Source | |------|--------|--------|------|--------|--------| | \deg | $\degree$ | \degree{Space} | \st | $\star$ | \star{Space} |

Structures

  • If the formulas aren't displayed correctly, go to README_EN.pdf.

| Code | Output | Source | |------|--------|--------| | \r | $\lbrace⬚$ | \right.{Left} | | \leb | $⬚\rbrace$ | \left\box{Space 2}{Left} | | \ceil | $\lceil⬚\rceil$ | \lceil{Space}\rceil{Space 2}{Left} | | \floor | $\lfloor⬚\rfloor$ | \lfloor{Space}\rfloor{Space 2}{Left} | | \brak | ⟨⬚⟩ |\bra{Space}\ket{Space 2}{Left}| | \ls | $^⬚⬚ P$ | ^_ P {Left 4} | | \ab | $\stackrel{⬚}{x}$ | \above{Space 2}{Left} | | \be | $\underset{⬚}{x}$ | \below{Space 2}{Left} | | \abb | $\overbrace{x}$ | \overbrace{Space 2} | | \beb | $\underbrace{x}$ | \underbrace{Space 2} | | \fu | $\text{myfunction}{⬚}$ | \funcapply | | \Norm | $\Vert⬚\Vert$ | \norm{Space}\norm{Space 2}{Left} | | \limx, \limx0 | $ \lim{x \rightarrow \infty} $, $ \lim_{x \rightarrow 0} $ | lim_(x->\infty{Space}){Space}, lim_(x->0{Space}){Space} | | \limt, \limt0 | $ \lim_{t \rightarrow \infty} $, $ \lim_{t \rightarrow 0} $ | lim_(t->\infty{Space}){Space}, lim_(t->0{Space}){Space} | | \limn, \limk | $ \lim_{n \rightarrow \infty} $, $ \lim_{k \rightarrow \infty} $ | lim_(n->\infty{Space}){Space}, lim_(k->\infty{Space}){Space} | | \limh | $ \lim_{h \rightarrow 0} $ | lim_(h->0{Space}){Space} | | \BO | $\boxed{⬚}$ | \boxed{Enter}{Left 2} | | \qu | Quad space | \quad{Enter}{Left} | | \diverge | $\frac{\partial}{\partial x}+\frac{\partial}{\partial y}+\frac{\partial}{\partial z}$ | Omitted | | \gradient | $\frac{\partial}{\partial x}\vec{a}_x+\frac{\partial}{\partial y}\vec{a}_y+\frac{\partial}{\partial z}\vec{a}_z$ | Omitted | | \curl | Curl matrix | |

  • \funcapply is a little different from \of. Have a try by yourself!

Prefix for Fancy Letters

| Code | Output | Source | |------|---

Related Skills

View on GitHub
GitHub Stars8
CategoryDevelopment
Updated20d ago
Forks0

Languages

AutoHotkey

Security Score

75/100

Audited on Mar 14, 2026

No findings