aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--theories/ZArith/Zsyntax.v5
1 files changed, 5 insertions, 0 deletions
diff --git a/theories/ZArith/Zsyntax.v b/theories/ZArith/Zsyntax.v
index 68cb6dd54d..8d65afb680 100644
--- a/theories/ZArith/Zsyntax.v
+++ b/theories/ZArith/Zsyntax.v
@@ -250,6 +250,11 @@ Notation "x <> y" := ~(eq Z x y) (at level 5) : Z_scope.
(* Notation "| x |" (Zabs x) : Z_scope.(* "|" conflicts with THENS *)*)
Notation "|| x ||" := (Zabs x) (at level 1) : Z_scope.
+(* Overwrite the printing of "`x = y`" *)
+Syntax constr level 0:
+ Zeq [ (eq Z $n1 $n2) ] -> [[<hov 0> $n1 [1 0] "= " $n2 ]].
+
+
(* Warning: this hides sum and prod and breaks sumor symbolic notation *)
Open Scope Z_scope.