arydshln
当我使用下面设置的包时,我一直收到错误。
错误:Undefined control sequence. ^^I\hdashline
当我删除包和 \hdashline 时它可以工作,但我需要使用虚线。
新风:
\documentclass{memoir}
\usepackage{longtable}
\usepackage{subcaption}
\captionsetup{compatibility=false}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{booktabs}
\usepackage{multirow}
\usepackage{arydshln} %<-------------------- Generates error
\usepackage{polyglossia}
\setmainlanguage{english}
\setmainfont{Linux Libertine}
\newfontfamily\englishfontsf{Calibri}
\newfontfamily\englishfonttt{Inconsolata}
\setotherlanguage{arabic}
\newfontfamily\arabicfont[Script=Arabic]{Arial}
\DisemulatePackage{tabularx}
\usepackage{tabularx}
\begin{document}
\begingroup
\renewcommand{\arraystretch}{0.8} \setlength{\tabcolsep}{3pt}
\centering
\small
\begin{longtable}{lll}
\caption{table}
\label{table:sum}\\
\toprule[\heavyrulewidth]
1. & 2 & 3 \\
\midrule[\heavyrulewidth]
\midrule[\heavyrulewidth]
\hdashline % <------------------- Generates error
\endfirsthead
ex1& ex 2 & ex3 \\
\bottomrule[\heavyrulewidth]
\end{longtable}
\endgroup
\end{document}
任何帮助均感激不尽。