by miguelmurca on 10/19/22, 9:31 AM with 22 comments
by zauguin on 10/22/22, 8:35 AM
Instead you could do this as
\documentclass{article}
\usepackage{xparse}
\NewDocumentCommand \LambdaCalc {u{.} r()} {%
[arg:(#1) body:(#2)]
}
\DeclareUnicodeCharacter {03BB} {\LambdaCalc}
\begin{document}
λx.(2x)
\end{document}
by MayeulC on 10/21/22, 11:17 PM
Half of the post is about handling UTF-8, which AFAIK both LuaTeX and XeTeX (you really shoulduse either) do natively.
by xeonmc on 10/22/22, 4:29 AM
by c7b on 10/22/22, 10:25 AM
> LaTeX is great for typesetting math.
Q: Ok, great! So how do I typeset this bit of common math?
A: a 20-line barrage of import statements, makeatletter's and definitions that you copy-paste into your preamble and cross your fingers that it won't conflict with the half-dozen other barrages that you copied there to do other bits of common math, often hidden between other Google results with wildly different answers.
by ngcc_hk on 10/22/22, 5:35 AM
Too much to ask for I guess. Continue waiting.
by titzer on 10/22/22, 1:34 AM
There are very few bits of software that are more arcane and broken by default than this absolute crapstraction of a platform.
by b215826 on 10/21/22, 11:53 PM