Zulip Chat Archive

Stream: lean4

Topic: notation recommendations


Dean Young (May 11 2023 at 19:34):

I have defined categorical completion [Cᵒᵖ,Set] in my category theory library and wanted to notate it with some variant of a circumflex/hat/carat. The notation also needs a Latex equivalent which works with the minted environment. Does anyone have a recommendation for what to do here?

Eric Wieser (May 11 2023 at 19:43):

Any unicode notation can be made to work with minted, so that's not really a constraint

Dean Young (May 11 2023 at 19:45):

What about the over and under characters?

Eric Wieser (May 11 2023 at 20:02):

You can tell LaTeX to render unicode characters in whatever way you please, so sure

Alex Keizer (May 11 2023 at 22:18):

I switched to XeLatex spefically for its unicode support, and it's been very easy to have it render unicode heavy Lean code nicely!

Dean Young (May 12 2023 at 05:23):

Hmm... I think I'll switch to Xelatex then.


Last updated: Dec 20 2023 at 11:08 UTC