diff --git a/lecture.cls b/lecture.cls index caff339..cf7c3de 100644 --- a/lecture.cls +++ b/lecture.cls @@ -105,3 +105,9 @@ % activate my colour style \lstset{style=mystyle} + +% better stackrel +\let\oldstackrel\stackrel +\renewcommand{\stackrel}[2]{% + \oldstackrel{\mathclap{#1}}{#2} +}%