Skip to content

Commit

Permalink
Switch from tabu to tabularray (#142)
Browse files Browse the repository at this point in the history
* Include tabularray package
* Remove tabu and side packages
* Define a custom zdstblr environment
  • Loading branch information
StaloneLab authored Apr 22, 2024
1 parent c285c1c commit c27f576
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions zmdocument.cls
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@
\RequirePackage{pagecolor}

%%% TABLE PACKAGES
\RequirePackage{multirow}
\RequirePackage{longtable}
\RequirePackage{tabu}
\RequirePackage{tabularray}

%%% GRAPHIC PACKAGES
\RequirePackage{graphicx}
Expand Down Expand Up @@ -593,6 +591,18 @@
\printglossary[title=Liste des abréviations]
}

%%% TABLES
% Remove default caption
\DefTblrTemplate{contfoot-text}{default}{}
\DefTblrTemplate{conthead-text}{default}{}
\DefTblrTemplate{caption}{default}{}
\DefTblrTemplate{conthead}{default}{}
\DefTblrTemplate{capcont}{default}{}

\NewTblrEnviron{zdstblr}
\SetTblrInner[zdstblr]{hlines,vlines,hspan=minimal}
\SetTblrOuter[zdstblr]{long}

%%% TITLE PAGE

\def\@imagesPath{./img}
Expand Down

0 comments on commit c27f576

Please sign in to comment.