#\LaTeX macro

10 messages · Page 1 of 1 (latest)

shrewd sundial
#

Not actually trolling, but in my CV I'd like to mention Latex, and it's nice to typeset it with the proper logo. Has anyone ported the positions and scales to something Typst can munch?

#

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%
}
visual shuttle
#

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.

shrewd sundial
#

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)

visual shuttle
#

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... 😵‍💫

spiral zephyr
shrewd sundial
#

It's particularly useful when the font is non-standard – in Latex it's a bit of a pain...

shrewd sundial
#

I wish there was a Discourse-like platform to keep those tidbits of code; I find it impossible to find anything here :/