Print matrix as html/pdf table

This worked for me:

  1. print out your matrix into a CSV file with writecsv
  2. run xelatex with the following on your generated CSV file (a.csv in this example):
\documentclass{standalone}
\usepackage{fontspec}
\usepackage{csvsimple}
\setmainfont{Symbola}
\begin{document}
\csvautotabular{a.csv}
\end{document}
1 Like