csvtext.csv文件
A,B,C,D
ABC,XYZ,AB,Yes
DEF,HKM,BV,No
GHI,MMM,CV,No
\documentclass[conference, 12pt]{IEEEtran}
\usepackage{xeCJK} %提供字体
\usepackage{fontspec} %提供字体
\setmainfont{Times New Roman}
\usepackage{cite} %提供\cite
\usepackage{amsmath} %提供\begin
\usepackage{amssymb} %提供\substack
\usepackage{pgfplotstable} %提供\pgfplotstabletypeset
\usepackage{booktabs} %提供\toprule \midrule
\begin{document}
\title{题目}
\author{\IEEEauthorblockN{作者}\IEEEauthorblockA{学号\\学院\\大学}}
\maketitle
\begin{abstract}
摘要
\end{abstract}
\section{Introduction}
引言\cite{sample1}
\section{Methodologies}
\pgfplotstabletypeset[
col sep=comma,
columns/A/.style={string type},
columns/B/.style={string type},
columns/C/.style={string type},
columns/D/.style={string type},
every head row/.style={
before row=\toprule,
after row=\midrule
},
every last row/.style={after row=\bottomrule}
]{csvtext.csv}
\bibliographystyle{IEEEtran}
\bibliography{ieetutorial}
\end{document}