I would like to know if there is a way, some package, to directly call my spreadsheets directly in a latex document, just as it is done with images. This would be very useful. That way, any data changes could be made directly in the spreadsheet file.
Update 1
I tried pgfplotstable:
\documentclass{standalone}
\usepackage{pgfplotstable}
\usepackage{booktabs}
\begin{document}
\pgfplotstabletypeset[
every head row/.style={ before row=\toprule,after row=\midrule},
every last row/.style={after row=\bottomrule},
columns/Fruit/.style={string type},
columns/Animal/.style={string type}
]
{
Number Fruit Animal
1.23456 Banana Dog
2.871 Orange Cat
3.141592 Apple Bear
} % A file can be called here too
\end{document}
I took the PgfplotsTable package manual as a reference (http://linorg.usp.br/CTAN/graphics/pgf/contrib/pgfplots/doc/pgfplotstable.pdf).
I put the table as plain text, but a CSV file can be called as well.
It works fine!
\inputspreadsheet{table.xlsx}{"A1:B5"}. – Felipe Pfirmer Dec 29 '20 at 14:09pgfplotstable,datatoolor direct Lua. – Davislor Dec 29 '20 at 14:19