Typst: An easy to learn alternative for LaTex
Typst is a user-friendly markup typesetting system on GitHub as an alternative to LaTeX. It offers formatting, scripting, math typesetting, and bibliography management. Find installation and usage details on the repository.
Read original articleTypst is a markup-based typesetting system available on the Typst GitHub repository. It aims to provide a powerful alternative to LaTeX while being more user-friendly. The system includes built-in markup for formatting, flexible functions, a scripting system, math typesetting, and bibliography management. The repository houses the Typst compiler and its command-line interface for local document compilation. For further details on Typst, including installation instructions, usage guidelines, community resources, contribution guidelines, and design principles, visit the Typst GitHub Repository at the provided URL.
Related
Polytype: A Rosetta Stone for typesetting engines
Polytype is a project like Rosetta Code but for typesetting engines. It compares how different engines handle layout and orthographic features. Contributions are welcome via GitHub for new samples and improvements. Users can build examples locally and test the website.
Stamp: A Mini-Language for Templates
Stamp is a concise mini-language for project templates, enabling easy creation and management of files and directories for various programming languages. Created by Breck Yunits and Guillaume Papin, it requires Scroll for installation and offers a simple alternative to tools like cookiecutter.
Chr – terminal editor inspired by Turbo Pascal editor from 1997
A terminal-based text editor "chr" on GitHub mimics desktop editors' shortcuts, blending modern GUI with retro text mode. Developed with Tui Widget, it welcomes contributions. Installation involves cloning, building, and compiling.
Alternative File-Type extension for TypeScript files (.ts = MPEG-2 video)
The TypeScript repository on GitHub enhances JavaScript with optional types for large-scale applications. It includes GitHub Actions CI, npm version tracking, download statistics, and an OpenSSF Scorecard for security assessment. Access it on GitHub.
Building the New Hypermedia Systems
The new edition of Hypermedia Systems was redesigned using Typst, a LaTeX replacement, improving design fidelity. Challenges in PDF generation were overcome, enhancing typesetting quality and design flexibility significantly.
- Many users find Typst to be significantly faster and more resource-efficient than LaTeX, especially for large-scale PDF generation.
- Typst is praised for its intuitive and user-friendly templates, making it easier for developers and academics to use compared to LaTeX.
- Some users express concerns about Typst's long-term viability and support, comparing it to the established and widely-used LaTeX.
- There are mixed opinions on Typst's handling of complex mathematical typesetting and fine typographic features, with some preferring LaTeX for these tasks.
- Typst's integration with tools like VSCode and its ability to handle JSON input are appreciated, but some users miss LaTeX's extensive package library and versatility.
We’ve written more about this large-scale PDF generation stack in our blog here: https://zerodha.tech/blog/1-5-million-pdfs-in-25-minutes
In comparison to LaTeX, overall document typesetting is far more straightforward. However, for long multi-page stretches of equations solving, I feel that LaTeX is easier to type than Typst because its syntax is not that of a functional programming language but more akin to markdown. Thus, one does not need to think as far in advance when typesetting equations with lots of functions, superscript, and subscript.
1 year ago, 146 comments: https://news.ycombinator.com/item?id=35250210
8 months ago, 34 comments: https://news.ycombinator.com/item?id=38354422
2 years ago, 53 comments: https://news.ycombinator.com/item?id=34423590
2 years ago 30 comments: https://news.ycombinator.com/item?id=32209794
LaTeX's awkward relationship with the web seems like something a competing greenfield project would try to nail right out of the gate (to mix metaphors painfully).
I've been using Jinja2 templates to generate TeX files, but Typst can take a JSON over the command line and is easy to use and powerful enough that I can completely remove the Python step.
Not to speak of the compile time that is measured in milliseconds.
The LaTex output was indeed better. My boss loved my work and had no idea that I wasn’t using Word. Feedback from the working group members was also positive. Wow, this kid has real talent! As a startup, making a positive impression on the giant companies represented in the working group was extremely important for the future of the company, if not its survival.
Unfortunately for me, one day my boss said, “could you send that Word doc over to big-whig so-and-so at massive-company-we-might-be-acquired-by? They want to use it as a template for a new document they’re writing.”
I got that sinking feeling similar to when my mom found out my friend and I had peed in my closet as an experiment at age four.
I then hired a friend to work all weekend painstakingly rewriting it in Word. Boss man got the document. Company was acquired for $100M 18 months later.
Either way, LaTex still looks 1,000x better than Word.
[1] https://github.com/overleaf/overleaf
[2] https://github.com/hackmdio/codimd
My guessed probability that LaTex is free and maintained in 15 years: 99.9999%
My guessed probability that $OTHER_NEW_TOOL is free and maintained in 15 years: 5%
LaTex is positively arcane, but I still use it for all my writing since it's so incredibly versatile: Academic papers, letters, contracts, forms, invoices, tons of packages, pretty easy to apply regional standards, ...
How I manage to not go insane is Org Mode: I can write almost everything in something similar to Markdown but do inline LaTex as needed (since it compiles from Org to Latex to PDF). I find that incredibly powerful.
I cannot, reasonably, start using this for work until journals begin accepting papers in the format. But I am following until either that starts happening, or some workaround exists.
- https://typst.app/universe/package/hydra,
- https://typst.app/universe/package/chic-hdr
- https://typst.app/universe/package/wonderous-book
However I believe this functionality should be available in the typst core.
It's comparable to LaTeX, but better in my opinion.
It looks similar to Gilles Castel's famous note-taking setup:
https://castel.dev/post/lecture-notes-1/
I would love to see someone combine this with Anki for quick math flashcard creation
I'm a mature undergrad, I've never used LaTeX, actively avoided it in fact and am forced to produce word documents. My current workflow is pandoc style markdown and obviously pandoc for conversion, with zotero for citations. I make use of pandoc-crossref for figures, tables, sections, etc.
I'm hopefully moving to a different uni for a masters this year. Can anyone who uses typst comment on whether I should consider moving from my fairly complicated workflow to typst?
Plus this doesn’t seem to compile down to latex so I also lose the engine. From experience, latex makes beautiful documents and choices which I’ll always prefer over ease of use.
More templates than LaTeX. I have made PDF presentations in LaTeX, which look good, but they all look the same. Some variety is good.
Unicode chars support. I prefer to type α instead of \alpha.
That's it, both things together will make a LaTeX killer for me.
Re-did my resume using one of their templates, and it’s much easier to maintain now.
I've been searching for a good solution for the past 15 years. Never been happy with the solutions, and my PDFs are always very ugly.
I need to generate udemy-style certificates for a project I am working on. are there any guides on generating PDFs with typst?
You want inspiration for some strange table layouts? There are gazillion ready made; some graph? TiKz/PGF have gazillions of ready made examples... Want a programming language in the middle? Python, Lua etc can be embedded straight away.
So far I've seen few tentative to "replace or hide LaTeX", from the old DocBook to ConTeXt, no one succeed simply because of all the LaTeX already made and easy to import. Having alternatives, especially seen the actual "fragmented" development is nice, but honestly I doubt it can take off. Proprietary products are fast to wane in popularity if a serious competitor pops up because the users does not own them, FLOSS are much calmer since anyone can grab a piece and integrate ideas of someone else without the need to switch.
Related
Polytype: A Rosetta Stone for typesetting engines
Polytype is a project like Rosetta Code but for typesetting engines. It compares how different engines handle layout and orthographic features. Contributions are welcome via GitHub for new samples and improvements. Users can build examples locally and test the website.
Stamp: A Mini-Language for Templates
Stamp is a concise mini-language for project templates, enabling easy creation and management of files and directories for various programming languages. Created by Breck Yunits and Guillaume Papin, it requires Scroll for installation and offers a simple alternative to tools like cookiecutter.
Chr – terminal editor inspired by Turbo Pascal editor from 1997
A terminal-based text editor "chr" on GitHub mimics desktop editors' shortcuts, blending modern GUI with retro text mode. Developed with Tui Widget, it welcomes contributions. Installation involves cloning, building, and compiling.
Alternative File-Type extension for TypeScript files (.ts = MPEG-2 video)
The TypeScript repository on GitHub enhances JavaScript with optional types for large-scale applications. It includes GitHub Actions CI, npm version tracking, download statistics, and an OpenSSF Scorecard for security assessment. Access it on GitHub.
Building the New Hypermedia Systems
The new edition of Hypermedia Systems was redesigned using Typst, a LaTeX replacement, improving design fidelity. Challenges in PDF generation were overcome, enhancing typesetting quality and design flexibility significantly.