quick fix for tables

This commit is contained in:
Maximilian Keßler 2022-02-10 00:27:01 +01:00
parent 778f5297d1
commit 78e06ed17d

View file

@ -1,5 +1,6 @@
__HEADER__(Hacky code setup for verbatim code)
\catcode`_=13
\let_\_
\catcode`_=8
@ -25,3 +26,7 @@ __HEADER__(Hacky code setup for verbatim code)
\ttfamily
\fi
}
% Quick fix for tables
\AddToHook{env/tabular/begin}[code]{\catcode`|=13}
\AddToHook{env/tabular/end}[code]{\catcode`|=8}