quick fix for tables
This commit is contained in:
parent
778f5297d1
commit
78e06ed17d
1 changed files with 5 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
||||||
__HEADER__(Hacky code setup for verbatim code)
|
__HEADER__(Hacky code setup for verbatim code)
|
||||||
|
|
||||||
|
|
||||||
\catcode`_=13
|
\catcode`_=13
|
||||||
\let_\_
|
\let_\_
|
||||||
\catcode`_=8
|
\catcode`_=8
|
||||||
|
@ -25,3 +26,7 @@ __HEADER__(Hacky code setup for verbatim code)
|
||||||
\ttfamily
|
\ttfamily
|
||||||
\fi
|
\fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
% Quick fix for tables
|
||||||
|
\AddToHook{env/tabular/begin}[code]{\catcode`|=13}
|
||||||
|
\AddToHook{env/tabular/end}[code]{\catcode`|=8}
|
||||||
|
|
Loading…
Reference in a new issue