diff --git a/src/wip/code/code.pysty b/src/wip/code/code.pysty index dbff810..b9830a3 100644 --- a/src/wip/code/code.pysty +++ b/src/wip/code/code.pysty @@ -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}