Are there plans to create a microtype
type package for typst? How does the current state of typst’s typography compare to LaTeX + microtype?
Is there a memoir
class available for typst?
Are there plans to create a microtype
type package for typst? How does the current state of typst’s typography compare to LaTeX + microtype?
Is there a memoir
class available for typst?
Hello and welcome @untouched_coliseum!
Looking at microtype’s features, it seems it is already available in Typst in most parts:
text(overhang)
.text(stretch)
?text(tracking)
,text(spacing)
, text(cjk-latin-spacing)
,text(kerning)
,text(ligatures)
, text(discretionary-ligatures)
, text(historical-ligatures)
I don’t think control is as precise as it is in microtype, but most usecases should be satisfied with this amount of customization. I’m not even sure a package would be the right tool to modify typography at this level… In any case, don’t hesitate to go through each argument in text, it’s pretty long, but also pretty exhaustive.
As for the memoir
template, I can’t say I have seen a typst template named “memoir”, but there are plenty of thesis templates.
You can look at officially affiliated templates for example here.
Hello @untouched_coliseum, I have changed your post title to
“Are there equivalent to the LaTeX microtype package and the memoir document class?”, tell me if you think that’s incorrect!
@quachpas, you showed that Typst has all the primitives to do what is required but what expansion and tracking are about in the context of microtype
performing tiny per-paragraph alterations that are hardly noticeable by eye but makes spacing more even overall.
Edit: I was wrong about tracking.
You’re quite right. The stretch parameter in Typst is completely manual unlike microtype’s feature expansion
, where like you said the package does automatic expansion (pdfTeX>1.20).
I don’t think it would be possible to implement that kind of customization within Typst itself (I might be wrong, some people are creating crazy packages everyday…)