From 316e3d19eabde2d7153a4db7b932b32f208b5fc1 Mon Sep 17 00:00:00 2001 From: flavis Date: Sat, 18 Jan 2020 16:17:53 +0100 Subject: [PATCH] update lecture cls --- lecture.cls | 6 ++++++ 1 file changed, 6 insertions(+) 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} +}%