I would like to have the following table with notes at the end
Which I can have with the ctable package
\documentclass[]{article}
\usepackage{ctable}
\begin{document}
\ctable[nosuper
]{p{1cm}p{6cm}p{1cm}p{2cm}p{2cm}}{
\tnote[a)]{My notes can be very long so then won't fit nicely
inside the table}
\tnote[b)]{note 2}
}{\FL
Item & Designation & Qty & Price & Comment \ML
IT10 & Item1 & 2 & xxx & a) \NN
IT20 & Item2 & 1 & xxx & b) \ML
& Total price & & xxx & \LL
}
\end{document}
But is there a way to have the note inline in the cell with an automatic increment of the counter? I am using a macro in excel to create this table and it would be easier to have the comment in a cell I can wrap instead of writing code to insert in the table parameters,
something like :
IT10 & Item1 & 2 & xxx & \tnote{this is my note} \NN
