← 返回 Skills 市场
2416
总下载
6
收藏
20
当前安装
1
版本数
在 OpenClaw 中安装
/install latex
功能描述
Write LaTeX documents with correct syntax, packages, and compilation workflow.
使用说明 (SKILL.md)
Special Characters
- Reserved chars need escape:
\# \$ \% \& \_ \{ \} extbackslash - Tilde as character:
extasciitildenot\~(that's an accent) - Caret:
extasciicircumnot\^ - Backslash in text:
extbackslashnot\\(that's line break)
Quotes & Dashes
- Opening quotes:
``not"; closing:''—never use straight"quotes - Hyphen
-, en-dash--(ranges: 1--10), em-dash---(punctuation) - Minus in math mode:
$-1$not-1in text
Math Mode
- Inline:
$...$or\(...\); display:\[...\]orequationenvironment - Text inside math:
$E = mc^2 ext{ where } m ext{ is mass}$ - Multiline equations:
alignenvironment, not multipleequations \left( ... \right)for auto-sizing delimiters—must be paired
Spacing
- Command followed by text needs
{}or\:\LaTeX{}or\LaTeX\ is - Non-breaking space:
~between number and unit:5~km - Force space in math:
\,thin,\:medium,\;thick,\quad\qquad
Packages
\usepackageorder matters—hyperrefalmost always lastinputenc+fontencfor UTF-8:\usepackage[utf8]{inputenc}\usepackage[T1]{fontenc}graphicxfor images,booktabsfor professional tables,amsmathfor advanced mathmicrotypefor better typography—load early, subtle but significant improvement
Floats (Figures & Tables)
[htbp]suggests placement: here, top, bottom, page—not commands- LaTeX may move floats far from source—use
[H]fromfloatpackage to force - Always use
\centeringinside float, notcenterenvironment - Caption before
\label—label references the last numbered element
References
- Compile twice to resolve
\refand\pageref—first pass collects, second uses \labelimmediately after\captionor inside environment being labeled- For bibliography: latex → bibtex → latex → latex (4 passes)
hyperrefmakes refs clickable—but can break with some packages
Tables
tabularfor inline,tablefloat for numbered with caption- Use
booktabs:oprule,\midrule,\bottomrule—no vertical lines @{}removes padding:\begin{tabular}{@{}lll@{}}- Multicolumn:
\multicolumn{2}{c}{Header}; multirow needsmultirowpackage
Images
- Path relative to main file or set with
\graphicspath{{./images/}} - Prefer PDF/EPS for pdflatex/latex; PNG/JPG for photos
\includegraphics[width=0.8 extwidth]{file}—no extension often better
Common Errors
- Overfull hbox: line too long—rephrase, add
\-hyphenation hints, or allow\sloppy - Missing
$: math command used in text mode - Undefined control sequence: typo or missing package
\includeadds page break,\inputdoesn't—use\inputfor fragments
Document Structure
- Preamble before
\begin{document}—all\usepackageand settings \maketitleafter\begin{document}if usingitle,\author,\datearticlefor short docs,reportfor chapters without parts,bookfor full books
安全使用建议
This skill is an offline, instruction-only LaTeX guide and appears safe to install from an internal-consistency perspective. Before installing, note: (1) it does not include a LaTeX compiler or tooling — it only gives authoring and workflow advice; (2) if you plan to compile documents produced with these instructions, be cautious when compiling untrusted .tex files because TeX engines can be configured to run external programs (e.g., shell-escape / \write18); disable shell-escape for untrusted sources; (3) because this skill has no code today, future updates that add an install script, network access, or environment variables should be re-reviewed. If you need the agent to compile or run LaTeX on your machine, prefer explicitly granting or reviewing only the minimal tooling and privileges required.
功能分析
Type: OpenClaw Skill
Name: latex
Version: 1.0.0
The skill bundle contains standard metadata in `_meta.json` and a `SKILL.md` file that provides comprehensive instructions for an AI agent on how to write LaTeX documents. The `SKILL.md` content is purely informational and instructional regarding LaTeX syntax and best practices, with no evidence of prompt injection attempts, malicious commands, data exfiltration, or any other high-risk behaviors. All content is aligned with the stated purpose of assisting with LaTeX document creation.
能力评估
Purpose & Capability
The name and description match the SKILL.md content: LaTeX syntax, packages, compilation workflow and common pitfalls. There are no unexpected requirements (no binaries, env vars, or config paths) that would be inconsistent with a documentation/authoring guide.
Instruction Scope
The instructions are purely authoring guidance (syntax, package recommendations, float handling, references, compile order). They do not instruct the agent to read local files, access environment variables, transmit data externally, or run system commands. They mention compilation workflows in conceptual terms (e.g., compile twice, latex→bibtex→latex) but do not include build commands or steps that would access credentials or system state.
Install Mechanism
No install spec and no code files are present. This is the lowest-risk format: nothing will be written to disk or fetched at install time.
Credentials
The skill requests no environment variables, no credentials, and no config paths. There is nothing disproportionate relative to the stated purpose.
Persistence & Privilege
always is false and the skill is user-invocable. It does not request persistent presence or modify other skills or system configuration.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install latex - 安装完成后,直接呼叫该 Skill 的名称或使用
/latex触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release
元数据
常见问题
LaTeX 是什么?
Write LaTeX documents with correct syntax, packages, and compilation workflow. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 2416 次。
如何安装 LaTeX?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install latex」即可一键安装,无需额外配置。
LaTeX 是免费的吗?
是的,LaTeX 完全免费(开源免费),可自由下载、安装和使用。
LaTeX 支持哪些平台?
LaTeX 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(linux, darwin, win32)。
谁开发了 LaTeX?
由 Iván(@ivangdavila)开发并维护,当前版本 v1.0.0。
推荐 Skills