diff options
author | Chloe Brown <chloe.brown.00@outlook.com> | 2025-06-12 14:36:30 +0100 |
---|---|---|
committer | Chloe Brown <chloe.brown.00@outlook.com> | 2025-06-12 14:36:30 +0100 |
commit | 85905c93f74238b056f4b0ee0864782947ae02a6 (patch) | |
tree | 1a324a69d6242dd0e6edcaeb32a7dd3e725363ef /main.tex | |
parent | 31dcef8a998341145f0b08ae25d20395eaeb9d34 (diff) |
Change syntax of `\judgement`
Diffstat (limited to 'main.tex')
-rw-r--r-- | main.tex | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -162,7 +162,9 @@ \newcommand\rangeover[2]{\overrightarrow{#1}} % Judgements for typing and such -\newcommand\judgement[4][]{{#2} \vdash^{#1} {#3} : {#4}} +\NewDocumentCommand\judgement{momO{:}m}{% + {#1} \vdash^{\IfNoValueF{#2}{#2}} {#3} \mathrel{#4} {#5} +} \newcommand\jdgmnt[3]{{#2} \vdash {#3}~\mathrm{#1}} % List operators |