src.dualinventive.com/tools/template-latex/di/ditabularx.sty

18 lines
396 B
TeX

\ProvidesPackage{di/ditabularx}
\RequirePackage{di/table}
\RequirePackage{tabularx}
\RequirePackage{environ}
% Prodrive tabularx environment
\NewEnviron{pdtabularx}[2]{%
\begingroup%
\setlength{\tabcolsep}{4pt}%
\fontsize{8pt}{8pt}\selectfont%
\renewcommand*{\arraystretch}{1.4}%
\tabularx{#1}{!{\pdoutline} #2 !{\pdoutline}}%
\pdtoprule%
\BODY%
\pdbottomrule%
}[\endtabularx\endgroup]