latex
Installation
SKILL.md
Skill: LaTeX Academic Documents
Activation Contract
Load when creating, editing, or fixing .tex files for academic documents (articles, theses, essays, notes, guides) or when diagnosing compilation errors from .log files.
Hard Rules
hyperrefMUST be the last package loaded in the preamble.- Never use
\\to separate paragraphs — use blank lines.\\is for tables, alignments, and line breaks inside special environments only. Pair with\usepackage{parskip}for visual paragraph separation. - Remove file extensions from
\includegraphics,\include,\input— let LaTeX resolve them. - Use
\enquote{text}(fromcsquotes) for quotation marks, never raw"text". - Brace command names before text:
\LaTeX{}not\LaTeX. - Always provide a working compilation command with every document.
- Default fonts are Lora (serif) + Lato (sans) via
fontspec. Engine is always lualatex. - For Spanish documents:
babel[spanish](works with lualatex).