Skip to content

Instantly share code, notes, and snippets.

@esobchenko
Created June 13, 2019 08:24
Show Gist options
  • Save esobchenko/836cb0f39675287b825d9b6cc85b4a7d to your computer and use it in GitHub Desktop.
Save esobchenko/836cb0f39675287b825d9b6cc85b4a7d to your computer and use it in GitHub Desktop.
csvreader
\documentclass[a4paper,14]{report}
\usepackage[utf8]{inputenc} % Commented out due to Cautionary error.
\usepackage{csvsimple,graphicx}
\usepackage{geometry}
\usepackage{setspace}
\geometry{
a4paper,
total={170mm,257mm},
left=20mm,
top=20mm,
}
\begin{document}
\begingroup\catcode`"=9
\csvreader[
separator=semicolon,
respect all,
autotabular
]{t.csv}{}{\csvlinetotablerow}
{\small\tabcolsep1.4mm%
\csvreader[
separator=semicolon,
respect all,
tabular=|r|l|l|l|l|l|l|,
nohead,column count=7,
table head=\hline,
late after first line=\\\hline,
table foot=\hline
]{t.csv}{}{\csvlinetotablerow}
}
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment