Im trying to wrap long words in a longtable and its not quite working right. some of the words spill over to the next cell. any help would be great thanks!
\documentclass{report}
\usepackage[left=65pt,top=28pt,right=65pt,bottom=65pt]{geometry}% http://ctan.org/pkg/geometry
\usepackage{longtable}% http://ctan.org/pkg/longtable
\usepackage{seqsplit}% http://ctan.org/pkg/seqsplit
\usepackage{array}
\begin{document}
\begin{longtable}{m{50pt} | m{360pt} | m{50pt}}
& \seqsplit{thisisareallylongexamplethisisareallylongexamplethisisareallylongexamplethisisareallylongexample with a space} & test1 \\
& \seqsplit{thisisareallylongexamplethisisareallylongexamplethisisareallylongexamplethisisareallylongexample\ with\ a\ space} & test2 \\
& \seqsplit{thisisareallylongexamplethisisareallylongexamplethisisareallylongexamplethisisareallylongexample~with~a~space} & test3 \\
\hline
klhd ldgdddddddksjd fkldjs fldjs fkldjs lfkj sdlkf jlksjdf lkdsj fkldsj fkldsj fkldsj fklj sfkljds fdfdfdfdgddddddhghgghghdflkj & kjshfd ksj fdkjshf kjds hfkdjs hfkjds h &
jsdh kkjhdskkjsfhhdsfhjdsfh dskj dkjshf dskjjkhs hjsd kjfkdshf kjdsh
\\
\end{longtable}
\end{document}
fdfdfdfdgddddddhghgghghdflkj
.\seqsplit
in the second column but not the first?babel
, which should include hyphenation patterns. However, if the word doesn't exist with a hyphenation pattern, certain assumptions are made and it may be broken at the wrong point.