Research Writing
alfonso0512/research-writing-skill
科研论文写作助手,提供 30 个 Prompt 模板覆盖论文写作全流程. An agent skill from alfonso0512/research-writing-skill.
Render LaTeX math expressions to images in PNG, JPEG, and SVG
$ npx skills add wentorai/research-plugins --skill tex-render-guide -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install wentorai/research-plugins tex-render-guide --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/wentorai/research-plugins.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/writing/latex/tex-render-guide .claude/skills/tex-render-guide && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "tex-render-guide" agent skill from https://github.com/wentorai/research-plugins/tree/main/skills/writing/latex/tex-render-guide into .claude/skills/tex-render-guide/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tex-render-guide", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/wentorai/research-plugins/tree/main/skills/writing/latex/tex-render-guideType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add wentorai/research-plugins --skill tex-render-guide -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install wentorai/research-plugins tex-render-guide --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/wentorai/research-plugins.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/writing/latex/tex-render-guide .agents/skills/tex-render-guide && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "tex-render-guide" agent skill from https://github.com/wentorai/research-plugins/tree/main/skills/writing/latex/tex-render-guide into .agents/skills/tex-render-guide/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tex-render-guide", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add wentorai/research-plugins --skill tex-render-guide -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install wentorai/research-plugins tex-render-guide --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/wentorai/research-plugins.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/writing/latex/tex-render-guide .cursor/skills/tex-render-guide && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "tex-render-guide" agent skill from https://github.com/wentorai/research-plugins/tree/main/skills/writing/latex/tex-render-guide into .cursor/skills/tex-render-guide/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tex-render-guide", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/wentorai/research-plugins.git --path skills/writing/latex/tex-render-guide--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add wentorai/research-plugins --skill tex-render-guide -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install wentorai/research-plugins tex-render-guide --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/wentorai/research-plugins.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/writing/latex/tex-render-guide .gemini/skills/tex-render-guide && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "tex-render-guide" agent skill from https://github.com/wentorai/research-plugins/tree/main/skills/writing/latex/tex-render-guide into .gemini/skills/tex-render-guide/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tex-render-guide", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install wentorai/research-plugins tex-render-guideInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add wentorai/research-plugins --skill tex-render-guide -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/wentorai/research-plugins.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/writing/latex/tex-render-guide .github/skills/tex-render-guide && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "tex-render-guide" agent skill from https://github.com/wentorai/research-plugins/tree/main/skills/writing/latex/tex-render-guide into .github/skills/tex-render-guide/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tex-render-guide", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add wentorai/research-plugins --skill tex-render-guide -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install wentorai/research-plugins tex-render-guide --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/wentorai/research-plugins.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/writing/latex/tex-render-guide .opencode/skills/tex-render-guide && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "tex-render-guide" agent skill from https://github.com/wentorai/research-plugins/tree/main/skills/writing/latex/tex-render-guide into .opencode/skills/tex-render-guide/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tex-render-guide", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
tex-render-guideRender LaTeX math expressions to images in PNG, JPEG, and SVG
Tex Render Guide is an agent skill from wentorai/research-plugins. Render LaTeX math expressions to images in PNG, JPEG, and SVG
Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Documents & Office, covering LaTeX. It works with LaTeX. The repository describes itself as: 350+ academic research skills, MCP configs, and plugins for Research-Claw and AI agents. The licence is MIT.
Read from SKILL.md and the folder at commit bf44b3c. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
curlnpmFrom the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
latex.codecogs.comAlso links to:
katex.orgmathjax.orgctan.orgdvisvgm.deFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Tex Render Guide loads about 1.9k tokens when it runs. Until then it costs about 20 tokens; SKILL.md has 536 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from wentorai/research-plugins at commit bf44b3c, republished under its MIT licence (© wentorai). 536 words, ~1,910 tokens.
.claude/skills/tex-render-guide/SKILL.md (or your agent's skills folder).Researchers frequently need to render LaTeX mathematical expressions as standalone images—for inclusion in presentations, posters, web pages, documentation, social media posts, or any context where native LaTeX rendering is unavailable. Converting a LaTeX equation into a crisp PNG, JPEG, or SVG image requires selecting the right toolchain and configuring it for the appropriate output quality and format.
This skill covers multiple approaches to LaTeX-to-image rendering, from command-line tools to web APIs and JavaScript libraries. It provides guidance on choosing the right approach for your use case, achieving publication-quality output, and handling common challenges like transparent backgrounds, high DPI scaling, and color customization.
Whether you need a one-off equation image for a slide deck or a batch pipeline that renders hundreds of equations for a web application, this guide provides the tools and techniques to get it done.
This is the highest-quality approach, producing output identical to what you would see in a compiled LaTeX document.
Create a minimal LaTeX document containing only your equation:
# Create a temporary LaTeX file
cat > equation.tex << 'EOF'
\documentclass[border=2pt]{standalone}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{xcolor}
\begin{document}
$\displaystyle \int_{-\infty}^{\infty} e^{-x^2} \, dx = \sqrt{\pi}$
\end{document}
EOF
# Render to PDF, then convert to PNG
pdflatex equation.tex
# Convert PDF to high-resolution PNG (300 DPI)
convert -density 300 equation.pdf -quality 100 equation.png
# Alternative: use dvipng for direct DVI-to-PNG
latex equation.tex
dvipng -D 300 -T tight -bg Transparent equation.dvi -o equation.png-D 300 — Resolution in DPI (300 for print, 150 for screen, 600 for high-quality)-T tight — Crop tightly to the equation with minimal margins-bg Transparent — Transparent background (essential for slides and web)-fg "rgb 1.0 1.0 1.0" — White foreground (for dark backgrounds)-o output.png — Output filenameSVG is the best format for web use and scalable documents:
# Using dvisvgm (included with TeX Live)
latex equation.tex
dvisvgm --no-fonts equation.dvi -o equation.svg
# Or from PDF:
pdf2svg equation.pdf equation.svgThe --no-fonts flag in dvisvgm converts text to paths, ensuring the SVG displays correctly without requiring the original fonts to be installed.
For rendering multiple equations, use a script:
#!/bin/bash
# render_equations.sh - Render a list of LaTeX equations to PNG
INPUT_FILE="equations.txt" # One equation per line
OUTPUT_DIR="rendered"
DPI=300
mkdir -p "$OUTPUT_DIR"
counter=1
while IFS= read -r equation; do
cat > /tmp/eq_temp.tex << EOF
\documentclass[border=2pt]{standalone}
\usepackage{amsmath,amssymb}
\begin{document}
\$\displaystyle ${equation}\$
\end{document}
EOF
(cd /tmp && pdflatex -interaction=nonstopmode eq_temp.tex > /dev/null 2>&1)
convert -density $DPI /tmp/eq_temp.pdf -quality 100 -trim "$OUTPUT_DIR/eq_$(printf '%03d' $counter).png"
echo "Rendered equation $counter: $equation"
((counter++))
done < "$INPUT_FILE"KaTeX is a JavaScript library that renders LaTeX math to HTML/CSS or SVG. It is significantly faster than MathJax and is ideal for web applications and real-time rendering.
# Install KaTeX CLI
npm install -g katex
# Render to HTML
echo "E = mc^2" | katex --display-mode
# For SVG output, use the katex API programmatically:const katex = require('katex');
const html = katex.renderToString(
'\\int_{-\\infty}^{\\infty} e^{-x^2} \\, dx = \\sqrt{\\pi}',
{
displayMode: true,
output: 'html', // or 'mathml'
throwOnError: false
}
);
console.log(html);MathJax supports the widest range of LaTeX commands and produces high-quality output. Use it when KaTeX does not support the notation you need.
// Using mathjax-node
const mjAPI = require('mathjax-node');
mjAPI.config({ MathJax: {} });
mjAPI.start();
mjAPI.typeset({
math: '\\sum_{n=1}^{\\infty} \\frac{1}{n^2} = \\frac{\\pi^2}{6}',
format: 'TeX',
svg: true, // Output as SVG
// png: true, // Or output as PNG
}, function(data) {
if (!data.errors) {
// data.svg contains the SVG string
require('fs').writeFileSync('equation.svg', data.svg);
}
});If you need PNG output from MathJax SVG:
# Using Inkscape for high-quality SVG-to-PNG conversion
inkscape equation.svg --export-type=png --export-dpi=300 --export-filename=equation.png
# Or using ImageMagick
convert -density 300 equation.svg equation.pngFor quick, no-install rendering, use web APIs:
# Using the codecogs API (free for reasonable usage)
# URL-encode your LaTeX and fetch the image
curl "https://latex.codecogs.com/png.image?\dpi{300}\bg{white}\int_{0}^{1}x^2\,dx" \
-o equation.png
# SVG variant:
curl "https://latex.codecogs.com/svg.image?\int_{0}^{1}x^2\,dx" \
-o equation.svgNote: web APIs require internet access and may have usage limits. For privacy-sensitive equations (unpublished research), prefer local rendering.
| Use Case | Recommended Method | Format |
|---|---|---|
| Print publication figures | LaTeX + dvipng | PNG (600 DPI) |
| Web pages / documentation | KaTeX or MathJax | SVG or HTML |
| Presentations (PowerPoint, Keynote) | LaTeX + dvipng | PNG (300 DPI, transparent) |
| Dark-background slides | LaTeX + dvipng with white fg | PNG (transparent) |
| Batch processing (100+ equations) | LaTeX script or KaTeX | PNG or SVG |
| Quick one-off equation | Web API | PNG or SVG |
| Real-time preview | KaTeX | HTML |
For equations on dark backgrounds or with custom styling:
% White equation on transparent background
\documentclass[border=2pt]{standalone}
\usepackage{amsmath,xcolor}
\begin{document}
\color{white}
$\displaystyle E = mc^2$
\end{document}# Render with transparent background
dvipng -D 300 -T tight -bg Transparent equation.dvi -o equation.pngFor colored equations or partial coloring:
$\displaystyle \textcolor{blue}{\nabla} \times \textcolor{red}{\mathbf{E}} = -\frac{\partial \mathbf{B}}{\partial t}$© wentorai, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/writing/latex/tex-render-guide of wentorai/research-plugins.
Open the folder on GitHubat commit bf44b3c
We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in wentorai/research-plugins, which our catalogue first saw on October 7, 2026.
Tex Render Guide next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Tex Render Guide this skillwentorai/research-plugins | 298 | 1 repos | ~1.9k | Automated safety check: Pass | MIT | |
| Research Writingalfonso0512/research-writing-skill | 486 | 1 repos | ~818 | Automated safety check: Pass | MIT | |
| Paper WritingMLNLP-World/Paper-Writing-Tips | 4.7k | — | ~630 | Automated safety check: Pass | None | |
| Evomath TaoEvoScientist/EvoSkills | 474 | 2 repos | ~3.8k | Automated safety check: Pass | Apache-2.0 | |
| PaperjurySpark-To-Paper-Skills/paperjury | 1.2k | — | ~5.3k | Automated safety check: Pass | MIT | |
| Thesis Defense PPTX Builderzouchenzhen/thesis-defense-pptx-skill | 266 | — | ~2.4k | Automated safety check: Pass | Apache-2.0 |
alfonso0512/research-writing-skill
科研论文写作助手,提供 30 个 Prompt 模板覆盖论文写作全流程. An agent skill from alfonso0512/research-writing-skill.
MLNLP-World/Paper-Writing-Tips
学术论文写作检查与优化助手。基于 MLNLP-World 社区整理的论文写作技巧,帮助检查和优化学术论文。Use when: (1) 检查论文 LaTeX 格式和排版, (2) 优化公式符号使用, (3) 改进图表设计, (4) 润色英文学术表达, (5) 检查参考文献格式, (6) 投稿前终稿检查, (7) 用户询问论文写作技巧或规范。
EvoScientist/EvoSkills
A skill your agent uses whenever the user submits a non-trivial mathematical claim that needs a rigorous proof or audit.
Spark-To-Paper-Skills/paperjury
Three modes for CS-conference papers (CVPR/ICCV/ECCV vision, ACL/EMNLP/NAACL NLP, ICLR/NeurIPS/ICML/AAAI ML).
zouchenzhen/thesis-defense-pptx-skill
Builds an editable thesis defense PowerPoint from a thesis PDF or LaTeX project while preserving a supplied university or lab template, then runs a visual quality check.
handsomeZR-netizen/mathmodel-skill
CUMCM 国赛、MCM/ICM 美赛与电工杯数学建模竞赛的端到端协作工作流。Use when a user explicitly works on one of these modeling contests or asks to run/review a modeling-competition paper from problem selection through modeling…
wentorai/research-plugins
Craft structured research abstracts that maximize clarity and journal acceptance
wentorai/research-plugins
Manage academic citations across BibTeX, APA, MLA, and Chicago formats
wentorai/research-plugins
Summarize academic papers with structured extraction of key elements
wentorai/research-plugins
Evidence-based study techniques for academic learning and retention
wentorai/research-plugins
Adjust writing tone and register for academic audiences and venues
wentorai/research-plugins
Academic translation, post-editing, and Chinglish correction guide
Works with
Categories
Render LaTeX math expressions to images in PNG, JPEG, and SVG. Tex Render Guide is an agent skill from wentorai/research-plugins.
Tex Render Guide fits situations like: tasks that involve LaTeX.
Run `npx skills add wentorai/research-plugins --skill tex-render-guide -a claude-code`. Or copy the skill folder (skills/writing/latex/tex-render-guide in wentorai/research-plugins) into .claude/skills/tex-render-guide in your project. Claude Code loads it when a task matches its description.
Run `npx skills add wentorai/research-plugins --skill tex-render-guide -a codex`. Or copy the skill folder (skills/writing/latex/tex-render-guide in wentorai/research-plugins) into .agents/skills/tex-render-guide in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add wentorai/research-plugins --skill tex-render-guide -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/tex-render-guide, .gemini/skills/tex-render-guide, .github/skills/tex-render-guide and .opencode/skills/tex-render-guide in your project.
Going by SKILL.md and its folder, Tex Render Guide needs the command-line tools its instructions call (curl and npm). Our summary lists: Node.js.
SKILL.md names 5 domains. In commands or code: latex.codecogs.com; the agent is likely to contact it when it follows the instructions. As links in the text: katex.org, mathjax.org, ctan.org and dvisvgm.de. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Tex Render Guide is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.9k tokens (SKILL.md is roughly 7.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Tex Render Guide: Research Writing (alfonso0512/research-writing-skill, 486 stars), Paper Writing (MLNLP-World/Paper-Writing-Tips, 4.7k stars), Evomath Tao (EvoScientist/EvoSkills, 474 stars) and Paperjury (Spark-To-Paper-Skills/paperjury, 1.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
wentorai (a GitHub user) maintains it in wentorai/research-plugins, which has 298 GitHub stars. The repository holds 428 skills in this directory. The repository was last updated on June 19, 2026.
Source: wentorai/research-plugins on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.