I am new to the forum, a bit less to LaTeX but mostly learned through website.
I made a new command to include table a bit more easily. It is working but I have some compilator warning / error that I can bypass saying there's a missing item or undefined control sequence.
Here's the code
Code: Select all
Code, edit and compile here:
\newcommand{\dtoprule}{\specialrule{1pt}{0pt}{0.4pt}%\specialrule{0.3pt}{0pt}{\belowrulesep}%}\newcommand{\dbottomrule}{\specialrule{0.3pt}{0pt}{0.4pt}%\specialrule{1pt}{0pt}{\belowrulesep}%}\newcommand{\autotable}[5]{\begin{table}[!htb]\centering\caption{#2}\begin{threeparttable}\begin{tabular*}{\linewidth}{@{\extracolsep{\fill}} l*{#3}{c}}\dtoprule\input{#1}\midrule\dbottomrule\end{tabular*}\begin{tablenotes}[flushleft]{\small \item[] \input{#4}}\end{tablenotes}\end{threeparttable}\label{table:#5}\end{table}}
\item[]
inside the tablenotes but still. Does anyone have an idea or already experienced that ? Maybe there is also a better way to do, let me know.
Thanks for any guess
