Is there any way to typeset the a % b operator as \pmod{b}?

33 views
Skip to first unread message

Andrew Helwer

unread,
Mar 30, 2023, 3:21:01 PM3/30/23
to tlaplus
Been playing around with the tla2tex.TLA tool. I think it would be cool to have a % b typeset as a \pmod{b}. Is there a built-in way to do this or is editing the raw tex the way to go?

Andrew

Leslie Lamport

unread,
Mar 30, 2023, 3:41:30 PM3/30/23
to tla...@googlegroups.com

Hi Andrew,

 

Since I wrote that tool, I presume it’s easy to modify the code to make it do that.  Just note that there are probably two places where % is handled, one for when it appears in a TLA+ formula and one for when it appears in prose.

 

Cheers,

 

Leslie

--
You received this message because you are subscribed to the Google Groups "tlaplus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tlaplus+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tlaplus/c63b3ceb-23be-4f81-825b-e978c6e55123n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages