我正在尝试渲染页面宽度表,并在渲染中获取对齐字符串。
\documentclass[10pt]{article}
\usepackage[table]{xcolor}
\usepackage{xcolor}
\usepackage[explicit]{titlesec}
\usepackage[letterpaper, inner=18mm, outer=18mm, top=25mm, bottom=25mm]{geometry}
\usepackage{pgfplotstable}
\usepackage{tabularx}
\usepackage{booktabs}
\usepackage{array}
\usepackage{colortbl}
\begin{document}
\pgfplotstabletypeset[col sep=comma, string type,
begin table={\begin{tabularx}{\textwidth}{Xccccccccccc}},
end table={\end{tabularx}},
every even row/.style={before row = {\rowcolor[gray]{0.9}}},
font=\footnotesize
]{dataFile.csv}
\end{document}