AI

apology-is-policy/hyades

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

30 stars 4 forks 质量 60 趋势 11MPL-2.0

Unicode/ASCII 数学排版引擎,支持 LaTeX 输入、VSCode 集成、MCP 服务器,以及自动渲染为源代码注释

概览

对于终端、代码注释、邮件以及各种地方,丰富的格式都不存在。 上面的每一个公式都是纯文本——你可以选择并复制粘贴到任何地方。源代码是标准的LaTeX。 Hyades 用标准的 LaTeX 数学计算如下: 并将其渲染为多行Unicode文本: 它是用纯C语言编写的原生CLI二进制。因此速度极快,不需要额外的依赖。Linux、MacOS和Windows,以及Web(WASM)都开箱即用。 —— 互动式 WASM 游乐场,包含教程和完整语法参考。无需安装。 分数、根、积分、求和、乘积、极限、矩阵、分段函数、对齐方程、希腊字母、自动缩放分隔符、大括号/下大括号、重音符号、质数、二项式系数、可扩展箭头、方程标签,应有尽有......粘贴你现有的 LaTeX 系统,它就能直接渲染。

概述(AI 翻译)

LaTeX数学作为纯Unicode文本。 对于终端、代码注释、邮件以及到处都不需要丰富的格式。

上面的每一个公式都是纯文本——你可以选择并复制粘贴到任何地方。源代码是标准的LaTeX。

这是什么?

Hyades 用标准的 LaTeX 数学计算如下:

并将其渲染为多行Unicode文本:

或者如果你要求它:

它是用纯C语言编写的原生CLI二进制。因此速度极快,不需要额外的依赖。 Linux、MacOS和Windows,以及Web(WASM)都开箱即用。

在浏览器里试试吧→——互动式WASM游乐场,包含教程和完整语法参考。无需安装。

特色

数学——95%支持LaTeX。

分数、根、积分、求和、乘积、极限、矩阵、分段函数、对齐方程、希腊字母、自动缩放分隔符、大括号/下大括号、重音符号、质数、二项式系数、可扩展箭头、方程标签,应有尽有…粘贴你现有的 LaTeX 系统,它就能直接渲染。

完整的数学特征列表

类别 命令

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Hyades

LaTeX math as pure Unicode text. For terminals, code comments, emails, and everywhere rich formatting isn’t a thing.

What Is This?

Hyades takes standard LaTeX math like this:

$$
  f(x) = \overbrace{\sum_{k=0}^{n} \frac{f^{(k)}(a)}{k!}
           (x-a)^k}^{\mathit{Taylor polynomial}}
       + \underbrace{R_n(x)}_{\mathit{Remainder}}
$$

and renders it as multi-line Unicode text:

             𝑇𝑎𝑦𝑙𝑜𝑟 𝑝𝑜𝑙𝑦𝑛𝑜𝑚𝑖𝑎𝑙
         ╭───────────┴───────────╮
           𝑛      (𝑘)
          ───    𝑓   (𝑎)         𝑘
  𝑓(𝑥) =  ╲     ───────── (𝑥 − 𝑎)  +   𝑅 (𝑥)
          ╱⎽⎽      𝑘!                   𝑛
         𝑘 = 0                       ╰───┬───╯
                                     𝑅𝑒𝑚𝑎𝑖𝑛𝑑𝑒𝑟

or plain ASCII if you ask it to:

           n      (k)
          ---    f   (a)         k
  f(x) =  \     --------- (x - a)  + R (x)
          /__      k!                 n
         k = 0

It’s a native CLI binary written in pure C. As such it is extremely fast and doesn’t require any additional dependencies. Linux, MacOS, and Windows, and Web (WASM) are all supported out of the box.

Try it in your browser → – interactive WASM playground with tutorials and a full syntax reference. No installation required.

Features

Math – 95% LaTeX compatible

Fractions, roots, integrals, summations, products, limits, matrices, piecewise functions, aligned equations, Greek letters, auto-scaling delimiters, overbrace/underbrace, accents, primes, binomial coefficients, extensible arrows, equation tags, you name it… Paste your existing LaTeX and it just renders.

Category Commands
Fractions \frac, \dfrac, \tfrac – infinitely nestable
Roots \sqrt{x}, \sqrt[n]{x}
Big operators \sum, \prod, \int, \iint, \iiint, \oint, \oiint with limits
Limits \lim, \limsup, \liminf, \max, \min, \argmax, \argmin
Matrices \pmatrix, \bmatrix, \Bmatrix, \vmatrix, \Vmatrix – \begin{pmatrix} syntax works too
Cases \cases{...} – piecewise functions
Aligned \aligned{...} with \intertext and \tag
Greek Full lowercase (\alpha–\omega) and uppercase (\Gamma–\Omega)
Delimiters \left/\right auto-scaling, \middle, invisible \left.\right|, \big–\Bigg sizing
Accents \hat, \bar, \tilde, \vec, \dot, \ddot, \acute, \grave, \breve, \check
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

# Claude Code claude mcp add hyades --transport http https://hyades-mcp.apg.workers.dev/mcp # Claude Desktop / Cursor / Windsurf -- add to config: { "mcpServers": { "hyades": { "url": "https://hyades-mcp.apg.workers.dev/mcp" } } }