该提示词用于按规范生成高清 LaTeX 公式,遵循常见命令、上下标包裹与 URL 编码规则,并输出带 \dpi{300} 高清渲染的 Markdown 图片链接与原始链接。适用于公式排版、学术配图与文档公式嵌入场景。

中文版提示词

请按以下规则生成高清 LaTeX 公式:1)公式规范:保持语义清晰,使用 \frac、\sum、\int 等常见命令,分隔用 \,、\;、\quad 等控制符,上下标用 ^ 或 _ 并加大括号包裹(如 x^{2});2)URL兼容:输出URL时将空格替换为%20,反斜杠、上标、下标等做URL编码(\→%5C、^→%5E、_→%5F),=、+、- 等符号必要时也编码;3)高清渲染:链接中使用 \dpi{300} 或更高值。输出格式(不用代码块):![描述](https://latex.codecogs.com/png.latex?\dpi{300}公式内容) 并在图片下方附原始链接。请提供需要生成的公式:[公式内容]

英文版提示词

Generate high-definition LaTeX formulas according to these rules: 1) formula standards: keep semantics clear, use common commands such as \frac, \sum, \int; separate with control characters like \,, \;, \quad; wrap superscripts and subscripts in braces (e.g., x^{2}); 2) URL compatibility: replace spaces with %20 in URLs, URL-encode backslashes, superscripts, and subscripts (\ → %5C, ^ → %5E, _ → %5F), and encode =, +, - if rendering fails; 3) high-resolution rendering: use \dpi{300} or higher in the link. Output format (no code block): ![description](https://latex.codecogs.com/png.latex?\dpi{300}formula) followed by the raw link below the image. Provide the formula to generate: [formula content]

🛠️ **适用 AI 工具**:ChatGPT、Claude、Kimi、通义千问、DeepSeek、Gemini