使用 csvreader 和 seqsplit

使用 csvreader 和 seqsplit

我该如何使用seqsplitcsvreader换行不起作用。

梅威瑟:

\documentclass{article}
\setlength\parindent{0pt}

\usepackage{csvsimple}
\usepackage{seqsplit}

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}

\begin{filecontents*}{data.csv}
    columna
    mvhltpeeksavtalwgkvnvdevggealgrllvvypwtqrffesfgdlstpdavmgnpkvkahgkkvlgafsdglahldnlkgtfatlselhcdklhvdpenfrllgnvlvcvlahhfgkeftppvqaayqkvvagvanalahkyh
    \a\very\long\path\a\very\long\path\a\very\long\path\a\very\long\path\a\very\long\path\a\very\long\path\
\end{filecontents*}

\begin{document}
        \csvreader[separator=semicolon, respect all]{data.csv}{columna=\columna}{\seqsplit{\columna}\\}
        
        \vspace{2cm}
        
        \seqsplit{mvhltpeeksavtalwgkvnvdevggealgrllvvypwtqrffesfgdlstpdavmgnpkvkahgkkvlgafsdglahldnlkgtfatlselhcdklhvdpenfrllgnvlvcvlahhfgkeftppvqaayqkvvagvanalahkyh}\\
        \seqsplit{\textbackslash a\textbackslash very\textbackslash long\textbackslash path\textbackslash a\textbackslash very\textbackslash long\textbackslash path\textbackslash a\textbackslash very\textbackslash long\textbackslash path\textbackslash a\textbackslash very\textbackslash long\textbackslash path\textbackslash a\textbackslash very\textbackslash long\textbackslash path\textbackslash a\textbackslash very\textbackslash long\textbackslash path\textbackslash}
\end{document}

断线问题的屏幕截图

相关内容