News for hackers. Stuff that matters.
Re:I wrote my PhD Thesis in Typst by nextos on Sunday June 22, 2025 @07:28PM (#44351138)
LaTeX typesetting is a solved problem. Memoir or Classic Thesis, paired with microtype, provide outstanding results and you need to spend zero time on tweaking stuff.

Typst is interesting, but it doesn't yet support all microtypography features provided by microtype. IMHO, those make a big difference.

Re:I wrote my PhD Thesis in Typst by __float on Sunday June 22, 2025 @08:20PM (#44351364)
What in microtype makes "a big difference"? I don't recall using it (my LaTeX years are long behind me), but all of the examples on https://www.khirevich.com/latex/microtype/ seem incredibly minor. I don't think I'd notice any of them as the reader.
Re:I wrote my PhD Thesis in Typst by nextos on Sunday June 22, 2025 @09:06PM (#44351621)
It will tweak spacing, kerning, margin protrusion, and font size to improve readability avoid big word gaps and excessive end-of-line hyphenation.

It is what sets professional typography apart. Only Adobe InDesign provides a comparable implementation, tweaking all those details.

See https://en.wikipedia.org/wiki/Hz-program for a better explanation and an example.

IMHO, the difference is obvious and not minor. Without microtypography texts look ugly: https://upload.wikimedia.org/wikipedia/commons/0/03/Hz_Progr...

Re:I wrote my PhD Thesis in Typst by Cordiali on Monday June 23, 2025 @02:06AM (#44352860)
Sure, I don't like creeks like in your last example. But I absolutely prefer paragraphs, where the final line would be considered 'too short'. It also makes an appreciable impact for me, in how easy a text is to read.

Which is to say, half of these things are pretty subjective.

Re:I wrote my PhD Thesis in Typst by GiovanniP on Monday June 23, 2025 @07:09AM (#44354443)
> Only Adobe InDesign provides a comparable implementation, tweaking all those details.

TeXmacs claims to have implemented microtypography as well (https://www.texmacs.org/tmweb/home/news.en.html, as I am reading it, in the opening paragraph on version 2.1)

Re:I wrote my PhD Thesis in Typst by gucci-on-fleek on Monday June 23, 2025 @12:51AM (#44352545)
It depends what you're typesetting—if you're using letter/A4 paper with 1" margins, then you're unlikely to notice any difference; but if you're using narrow columns, then it will vastly reduce the number of paragraphs with ugly huge spaces between words. Margin kerning is the other big feature, but you probably won't notice that unless you're fairly picky.
Re:I wrote my PhD Thesis in Typst by catgary on Sunday June 22, 2025 @08:33PM (#44351436)
I’m going to have to disagree with you there. The compile times are long, the error messages are worse than useless, and tikz diagrams are almost always unreadable messes.

Large swathes of mathematics, computer science, and physics involve notations and diagrams that are genuinely hard to typeset, and incredibly repetitive and hard to read if you don’t make heavy use of the macro system. Integrating some actual programming features could be a game changer.

Re:I wrote my PhD Thesis in Typst by nextos on Sunday June 22, 2025 @09:14PM (#44351657)
> Integrating some actual programming features could be a game changer.

LuaTeX already lets you embed Lua code and it is really good.

However, I do agree some usability improvements are needed.

Re:I wrote my PhD Thesis in Typst by catgary on Monday June 23, 2025 @06:23PM (#44360809)
Have you ever looked at a category theory or differential geometry paper? It just doesn’t feel like you appreciate what people are up against.

Look at this thing: https://images.app.goo.gl/4WHN9Pqupxkk8Z3j7

And that’s before you get into stuff like categories of spans, etc.

Re:I wrote my PhD Thesis in Typst by Paapaa on Monday June 23, 2025 @04:05AM (#44353483)
Typst does already support some microtype fetures out of the box and more are coming: https://github.com/typst/typst/pull/6161

I'd also not overemphasize the significance of microtype features. They might help with narrow columns but on wider columnds the difference is very small and most people will never notice them at all.