#\LaTeX macro
10 messages · Page 1 of 1 (latest)
Here's what I found on some website
\renewcommand\LaTeX{%
L\kern-.3em%
\raisebox{.4ex}{\scshape a}\kern-.13em%
T\kern-.2em%
\raisebox{-.5ex}{E}\kern-.13em%
X%
}
Not exactly what you asked for, but for a quick fix you could use an SVG of the logo. If fonts and SVGs are both vector-based formats anyways, and it's just for one word/name every now and again, I don't see much harm in using an image.
Thanks, I'm just trying to learn more of the language at the moment, so I'd be curious to see how to do it with #move() etc. (haven't been able to figure it out)
I suppose a difference is that an image won't actually say LaTeX, though... Like if you try and screen-reader or copy-paste it.
I imagine it can be done with move or place but I don't even wanna imagine all the fiddling you'd have to do... 😵💫
https://github.com/jneug/typst-mantys/blob/5397373591b43095c41add7b799942df4dd4903d/manual.typ#L3-L22
that might help
It's particularly useful when the font is non-standard – in Latex it's a bit of a pain...
Neat, thanks!
I wish there was a Discourse-like platform to keep those tidbits of code; I find it impossible to find anything here :/