Limitless power to write, create, and automate anything that you can fit on a page.
Set the standard with automations and beautiful typesetting
Members of over 3,500 universities and laboratories and over 1,000 businesses are using Typst.
Write your content as markup with a focus on structure. No distractions.
= Introduction
Our concept suggests three
ways that A-Mail can be best
utilized.
- First is to reduce the
probability of the failure of
a space mission. This problem
is known as the Mars problem
and suggests problems with
human communication.
#figure(
image("a-mail.svg"),
caption: [
Visualization of the FTL
Earth-to-Mars
comms capabilities
enabled by A-Mail.
],
) Pick a template, create your own, or just start writing. All the formatting happens automatically.
Export as a PDF, image, or a website (in preview), without touching your markup.
Different documents have different needs. Typst supports common types of content out of the box while giving you the power to build the rest.
Visualizations. No matter whether a Gantt chart or an arrow diagram: Visualizations always stay up-to-date with your data.
Mathematics. With beautiful equations as a first-class citizen, Typst is ready for research.
Plots and charts. Box plots, contours, paths, or just a bar chart: Pick a package and draw just the right plot for your data.
Tables. Write tables by hand or plug in CSVs or JSON. Style them all at once or tweak them individually.
Code. Syntax highlighting, line numbers, themes, and callouts. Present code snippets just like in your IDE.
Bibliographies. Automatically format citations and references and sync with Zotero or Mendeley.
Slides. Take your content straight from the page to a slideshow. You can even present right from the app.
Anything else. Your own building blocks: With the integrated scripting features, the only limit is your imagination.
The tutorial sets you up to start writing in less than 30 minutes. And you can learn about advanced topics later in the reference.
Fuse content and scripting to make your documents reactive. In the realm of a Typst document, there is nothing you can’t automate.
= Markup <markup>
With built-in syntax for the most common document elements, Typst markup is designed to be pleasant to write and read:
- *Strong* and _normal_ emphasis
- A reference to @markup
- Math: $a, b in { 1/2, sqrt(4 a b) }$
But that's just the surface!
The compiler is a command line tool that turns Typst markup into PDFs, images, and web pages. It forms the basis of the Typst ecosystem, including our collaborative web app.
This philosophy has given rise to the "Trading Hall"—a sprawling architectural anomaly often hidden underground. Rows upon rows of cells house hundreds of villagers, each programmed to provide a specific resource: infinite bottles o' enchanting, endless diamond gear, or racks of Mending books.
If you’ve ever spent a rainy afternoon in your Minecraft world frantically breaking and placing a lectern for the 47th time trying to get that Perfect Librarian, you already know the pain. You finally get Unbreaking III, make the trade, and... poof. The trade locks.
1.21 and beyond, making them less reliable for modern 2026 gameplay. 3. Data Packs and Mods (The "True" Infinite) If you're on a server or a world you control, you can remove the limits entirely: InfiniteVillagerTrades: A popular plugin for Spigot/Paper (v1.21+) that lets admins grant specific players Infinite Trades without ever seeing a red "X". Unlimited Trading Data Pack: Available on Modrinth , this pack sets villager trade uses to the 32-bit integer limit, effectively making stock infinite forever. Easy Villages Mod: Adds a "cycle trades" button and configurable restock intervals as fast as every 1 minute. Summary: Which Method Should You Use? Method Speed Difficulty Recommended For Optimized Hall Slow (2x/day) Easy Survival Purists Curing Loop Medium Hard Emerald Grinders Data Packs Instant Easy Creative/Casual play Are you looking to villager infinite stock
In Minecraft Bedrock Edition, a villager strictly requires a link to a bed to reset their trades. They do not need to sleep in it, but a bed must exist within the village boundary. The Optimized Layout Table
However, for every engineer building a trading hall, there is an adventurer decrying the practice. The "Infinite Stock" debate touches on the heart of Minecraft’s survival loop. This philosophy has given rise to the "Trading
The "Villager Infinite Stock" mechanic is the single most powerful non-cheat way to beat Minecraft’s endgame economy. Once you master the restocking cycle (2 minutes of waiting) and the curing discount (1 emerald prices), you effectively turn emeralds into a renewable resource and every enchantment into a shopping list item.
Here is the actual mechanic: Villagers have two types of trades: You finally get Unbreaking III, make the trade, and
If you want truly infinite materials (like buying 16 Obsidian for 1 Emerald), you need to combine restocking mechanics with curing.
However, the community term "Infinite Stock" refers to —specifically their enchanted book trades or armor trades—without them running out of stock mid-session.
is the true "Villager Infinite Stock." It isn't a bug; it's an economic exploit of supply and demand.
Automatically convert Word, LaTeX, Markdown, or OpenDocument Text files to Typst projects on your dashboard.
Use one of the 1100+ community packages and templates on Typst Universe. Browse the available categories below:
Our web app is the best place to use Typst and collaborate on projects. The Free Plan is rock solid, and Typst Pro takes you even further.
Typst is designed for secure, reliable, and scalable operation in big and small organizations.

A 2000-page contract note takes approximately 1 minute to compile with Typst, in stark contrast to lualatex’s 18 minutes.
Learn more about us and our journey to build a new foundation for document creation.