Skip to content
Snippets Groups Projects
Commit c4857c8a authored by Jonas Kastberg's avatar Jonas Kastberg
Browse files

Renamed internal macro

parent 006ab914
No related branches found
No related tags found
No related merge requests found
...@@ -344,12 +344,12 @@ ...@@ -344,12 +344,12 @@
\; #4 \;% \; #4 \;%
\copy1{#5}\copy2} \copy1{#5}\copy2}
\newcommand{\bracket}[4][]{% \newcommand{\irisbracketgen}[4][]{%
\setbox0=\hbox{$\mathsurround=0pt{#1}{#4}\mathstrut$}% \setbox0=\hbox{$\mathsurround=0pt{#1}{#4}\mathstrut$}%
\scalerel*[1ex]{#2}{\copy0}% \scalerel*[1ex]{#2}{\copy0}%
{#4}% {#4}%
\scalerel*[1ex]{#3}{\copy0}} \scalerel*[1ex]{#3}{\copy0}}
\newcommand{\curlybracket}[2][]{\bracket[{#1}]\{\}{#2}} \newcommand{\curlybracket}[2][]{\irisbracketgen[{#1}]\{\}{#2}}
\NewDocumentCommand \hoare {m m m O{}}{ \NewDocumentCommand \hoare {m m m O{}}{
\curlybracket{#1}\spac #2 \spac \curlybracket{#3}_{#4}% \curlybracket{#1}\spac #2 \spac \curlybracket{#3}_{#4}%
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment