From 4c7f8414966b723956b03eaf6f2da75a6a34d1c8 Mon Sep 17 00:00:00 2001
From: Ralf Jung <jung@mpi-sws.org>
Date: Wed, 13 Dec 2017 10:44:07 +0100
Subject: [PATCH] superscript looks better

---
 docs/iris.sty | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/iris.sty b/docs/iris.sty
index 835e70bcf..afae4f8ec 100644
--- a/docs/iris.sty
+++ b/docs/iris.sty
@@ -259,8 +259,8 @@
 \newcommand{\gmapsto}{\hookrightarrow}%
 \newcommand{\fgmapsto}[1][\mathrm{-}]{\xhookrightarrow{#1}}%
 
-\NewDocumentCommand\wpre{o m O{} m}%
-  {\textlog{wp}{\IfValueT{#1}{(#1)}}_{#3}\spac#2\spac{\left\{#4\right\}}}
+\NewDocumentCommand\wpre{O{} m O{} m}%
+  {\textlog{wp}^{#1}_{#3}\spac#2\spac{\left\{#4\right\}}}
 
 \newcommand{\stateinterp}{S}
 
-- 
GitLab