I use cfr-lm to get oldstyle figures for regular text but they look bad in tables. Of course I could switch to lining figures manually (
\textl) every single time but this is quite tedious. Also, lining figures are used automatically in math mode. Is there a way to enforce lining figures in tables too?