3 Answers
3

So if you want to temprary enable hyphenation, set these to sensible values (e.g. 25), This is a bit lower than usual, but in a small column we want to encourage hyphenation a bit more than in regular text.

The hyphenat package has an option called none. Use of this option prevents any
hyphenation throughout the document. If TeX is prevented from hyphenating it
may complain about bad line breaks and you may find bits of text sticking out
into the margin. If you use this option you should also consider using \sloppy
and/or \raggedright. [emphasis added]

Even though hyphenation is disabled globally via \usepackage[none]{hyphenat}, it is possible to re-enable it locally by resetting the hyphenation penalty parameters \hyphenpenalty and \exhyphenpenalty, as demonstrated in @PietvanOostrum's answer for the definition of the Z column type.

Incorporating this idea, while using \RaggedRight instead of \centering and using the babel package (with option ngerman) instead of the deprecated ngerman package. produces the following solution. Note that it's still a good idea to provide guidance as to what are the acceptable hyphenation points for some of the words that appear in the header row. Otherwise one would end up with cases such as Verlus-trate. Observe also the use of \cline to group the sub-headers under "Anzahl TADs".

Hi Mico, thanks for your answer, but unfortunately this does not answer my question. I need to disable hyphenation for the whole document, but enable it inside tabularx. I updated the question with the r
– Moataz ElmasryNov 30 '16 at 0:19

Thanks for your very good remark regarding \centering. I'll try it in the morning.
– Moataz ElmasryNov 30 '16 at 0:20

@MoatazElmasry - If you don't want to disable hyphenation globally, you shouldn't load the hyphenat package with the option none.
– MicoNov 30 '16 at 0:21

Thanks Mico. This solved my problem. Also +1 for the nice example and ngerman remark. I'm giving the "Correct Answer" to Piet since he's the one who came up with the solution. Cheers
– Moataz ElmasryNov 30 '16 at 12:14