SkillAgentSearch skills...

latex-to-typst

Translates LaTeX documents (.tex) to Typst (.typ), focusing on article-class documents

Install / Use

npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill latex-to-typst

Installs into whichever agent you are using.

About this skill
📄

SKILL.md

Installable skill definition

Quality Score

88/100

Supported Platforms

Universal

Tags

Our assessment of latex-to-typst

latex-to-typst scores 88/100 on our quality scale, 249th of 574 Content & Media skills we index (top 44%).

Its SKILL.md is 5.2 KB long, well organised into 10 sections with 4 code examples: a solid amount of guidance for an agent.

With 4,360 GitHub stars, it is one of the more widely adopted skills in the catalogue.

Substance
26/30
Structure
20/20
Description
12/15
Adoption
15/20
Freshness
15/15

Maintenance, license and trust

  • The repository was last updated 3 days ago, so latex-to-typst is actively maintained.
  • No license is declared. By default that means all rights are reserved: you can read it, but reusing or redistributing it is not clearly permitted. Ask the author before building on it commercially.
  • Its trust signals score 88/100, with 1 caution from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.

latex-to-typst compared with similar skills

All 4 of these similar skills score higher than latex-to-typst; compare them before choosing.

SkillScoreStarsUpdatedFormat
latex-to-typst (this skill)by brycewang-stanford884.4k3d agoSKILL.md
siyuanby siyuan-note10046.5ktodayMCP Server
algorithmic-artby anthropics100177.9k4d agoSKILL.md
pptxby anthropics100177.9k4d agoSKILL.md
designby nextlevelbuilder100130.2k5d agoSKILL.md

Frequently asked questions

How do I install latex-to-typst?
Run npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill latex-to-typst. The install tabs above show the steps for each supported agent.
Which AI agents does latex-to-typst work with?
It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
Is latex-to-typst safe to use?
It declares no license and scores 88/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
Is latex-to-typst still maintained?
The repository was last updated 3 days ago, so latex-to-typst is actively maintained.

name: latex-to-typst description: 'Translates LaTeX documents (.tex) to Typst (.typ), focusing on article-class documents. Use when asked to convert, port, migrate, or translate LaTeX to Typst. Covers document structure, text formatting, page layout, math equations and symbols, figures, tables, TikZ-to-CeTZ diagrams, bibliography, cross-references, footnotes, and code blocks. Includes comprehensive symbol mapping tables.'

LaTeX to Typst Translation Guide

A comprehensive reference for converting LaTeX article-class documents to Typst.

When to Use This Skill

  • User asks to convert, port, or translate a .tex file to .typ
  • User wants to know the Typst equivalent of a LaTeX command
  • User is migrating an academic paper or report from LaTeX to Typst
  • User needs help with specific LaTeX environments in Typst

Quick Navigation: Use What Reference

| Task | Reference File | |------|---------------| | Overall document structure, preamble → set rules | 01-document-structure.md | | Bold, italic, fonts, font sizes, colors | 02-text-formatting.md | | Margins, page size, columns, headers/footers | 03-page-layout.md | | \section, \subsection, numbering | 04-headings-sections.md | | itemize, enumerate, description | 05-lists.md | | Math mode, equations, aligned, matrices, operators | 06-math.md | | Symbol table: arrows, Greek, operators, sets, logic | 07-math-symbols.md | | \includegraphics, figure environment, subfigures | 08-figures.md | | tabular, booktabs, tabularx, multirow/multicolumn | 09-tables.md | | BibTeX, biblatex, natbib → bibliography, cite | 10-bibliography.md | | \label, \ref, \eqref, \autoref | 11-cross-references.md | | TikZ → CeTZ diagrams | 12-diagrams-cetz.md | | verbatim, lstlisting, minted; footnotes, links | 13-misc.md |

Key Conceptual Differences

Preamble → set and show Rules

LaTeX uses a \documentclass{article} preamble with \usepackage calls. Typst replaces this with set rules (for properties) and show rules (for transformations), placed at the top of the document.

% LaTeX
\documentclass[12pt,a4paper]{article}
\usepackage[margin=1in]{geometry}
\usepackage{fontenc}
\setmainfont{Times New Roman}
// Typst equivalent
#set page(paper: "a4", margin: 1in)
#set text(font: "Times New Roman", size: 12pt)

No \begin/\end Environments

Most LaTeX environments have direct Typst function equivalents. For example:

| LaTeX | Typst | |-------|-------| | \begin{equation}...\end{equation} | $ ... $ (block, with space) | | \begin{figure}...\end{figure} | #figure(...) | | \begin{tabular}...\end{tabular} | #table(...) | | \begin{itemize}...\end{itemize} | - item (markup) |

Content vs. Code Mode

In Typst, # switches from markup mode into code mode. Inside #{ } blocks or function arguments, you write code. Markup is the default.

Units

| LaTeX | Typst | Notes | |-------|-------|-------| | pt | pt | Same | | em | em | Same | | cm | cm | Same | | mm | mm | Same | | in | in | Same | | \textwidth | 100% (relative to container) | — | | 0.5\textwidth | 50% | — |

Minimal Article Template

% LaTeX article
\documentclass[12pt]{article}
\usepackage[margin=1in]{geometry}
\usepackage{amsmath}
\title{My Paper}
\author{Jane Doe}
\date{\today}
\begin{document}
\maketitle
\begin{abstract}
This paper...
\end{abstract}
\section{Introduction}
Hello world.
\end{document}
// Typst equivalent
#set page(margin: 1in)
#set text(size: 12pt)

#align(center)[
  = My Paper
  Jane Doe \
  #datetime.today().display()
]

#set par(justify: true)

*Abstract.* This paper...

= Introduction

Hello world.

For a more polished article template with abstract box, see 01-document-structure.md.

Workflow for Full Document Conversion

  1. Convert preamble → #set page(), #set text(), #set par() (see 03-page-layout.md, 02-text-formatting.md)
  2. Convert sectioning → =, ==, === (see 04-headings-sections.md)
  3. Convert math → inline $...$, block $ ... $ (see 06-math.md, 07-math-symbols.md)
  4. Convert figures → #figure(image(...), caption: [...]) (see 08-figures.md)
  5. Convert tables → #table(...) or #figure(table(...), ...) (see 09-tables.md)
  6. Convert bibliography → #bibliography("refs.bib") + @key citations (see 10-bibliography.md)
  7. Convert TikZ → #canvas({...}) with CeTZ (see 12-diagrams-cetz.md)
  8. Fix cross-references → <label> + @label (see 11-cross-references.md)

Related Skills

View on GitHub
GitHub Stars4.4k
CategoryContent
Updated3d ago
Forks527

Languages

Stata

Trust signals

88/100

From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.

1 medium