I have a table created with \begin{tabu}
whose columns contain lengthy strings that it won't wrap because they are not English text, they are actually programming language identifiers. How can I enable them to break on additional characters other than whitespace and hyphen (such as colons or underscores), or even at any character (if none of those additional characters are present).
A demonstration of my problem:
\documentclass{article}
\usepackage{tabu}
\begin{document}
\begin{tabu}{|X[l]|X[l]|X[l]|}
\hline
ThisIsAVeryLongStringWhichINeedToBreakAcrossMultipleLines & Yet:Another:Very:Long:String:Which:Must:Be:Broken:Up & break\_up\_this\_string\_too\_please \\
\hline
\end{tabu}
\end{document}
\zzz{
defined in that question (I wrapped each cells contents in it), but it doesn't make any change to the line wrapping inside\begin{tabu}
. I also tried\protect\zzz{
but that doesn't do anything for me either