跳到正文

LaTeX NH

作者:ABKQPO

A Minecraft 1.7.10 mod that renders LaTeX formulas and Markdown formatting in all text-rendering locations in the game

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

LaTeXNH

A Minecraft 1.7.10 mod that renders LaTeX formulas and Markdown formatting in all text-rendering locations in the game.

Features

  • Inline LaTeX rendering — wrap any formula with $* formula *$ and it will be rendered as a GL-textured image inline with the surrounding text.
  • Block LaTeX rendering — wrap multi-line formulas with $$* formula *$$ for a larger display.
  • Markdown support — **bold**, *italic*, ~~strikethrough~~, ` code `
  • Alt+hover tooltip — hold Alt while hovering over a rendered formula to see its raw LaTeX source in a tooltip.
  • Parse-error tooltip — invalid formulas are shown in red; Alt+hover reveals the exact parse-error message with a column indicator.
  • Live text-field preview — when typing in any GuiTextField, a rendered preview or error description appears automatically while your cursor is inside a formula.
  • Configurable chat limit — the chat input length cap can be raised (default 256, up to 4096) to accommodate long formulas.
  • § colour-code compatibility — Minecraft formatting codes in plain-text segments pass through unaffected.

Syntax

| Input | Effect |
|——-|——–|
| $* E=mc^2 *$ | Inline LaTeX |
| $$* \hat{H} = -\frac{\hbar^2}{2m}\nabla^2 + V *$$ | Block LaTeX |
| **bold** | Bold |
| *italic* | Italic |
| ~~strike~~ | Strikethrough |
| ` code | Monospace` |

Configuration

Open Mods → LaTeXNH → Config in-game to adjust:

| Option | Default | Description |
|——–|———|————-|
| Enable LaTeX Rendering | true | Master switch |
| Enable Alt+Hover Tooltip | true | Raw source / error tooltip |
| Tooltip Scale | 1.0 | Preview image scale factor |
| Inline Formula Height | 16 | GUI units; ~2× font height |
| Chat Input Max Length | 256 | Maximum chat characters |

常见问题

LaTeX NH 支持哪些 Minecraft 版本?

LaTeX NH 支持 Minecraft Java 版 1.7.10,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

LaTeX NH 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅客户端。

评论

登录后评论和评分

ABKQPO 的其他作品

查看全部 →