How to use tabularx for tables with many columns properly

tablestabularx

I am trying to generate a table in latex with 5 columns and 12 rows but it is not shown properly on the pdf. I already asked a question about working with tables and I was told that tabularx is better. The result is on the picture I uploaded: 1: https://i.stack.imgur.com/CKoO7.png .

Any help would be much appreciated.

\begin{table}[h]
    \caption{Arten der Reichweite von RFID-Systemen \cite{Internetquelle2}}
    \begin{tabularx}{\textwidth}{|X|X|X|X|X|}
        %   \scriptsize 
        %   \resizebox{\textwidth}{!}{%
        %       \begin{tabularx}{@{}|l|X|@{}}
        \toprule     
        \textbf{} & \textbf{Text} & \textbf{Text} & \textbf{Text(Text/Text)}& Text(Text/Text)\\ 
        \textbf{Text} & Unter 135 kHz & 13,56 MHz & 868 MHz (EU), 915 MHz (USA) & 2,45 GHz, 5,8 GHz \\ 
        \hline  
        \textbf{Text} & TextText Text&  Text Text Text Text&  Text Text TextText. Text Text Text Text & Text Text Text Text TextTextText Text\\ 
        \hline  
        \textbf{Text Text Text Text TextText} &  Text(Text) &  Induktiv (Text) & Text(Text) & Text(Text) \\ 
        \hline  
        \textbf{Text} & Gering & Hoch & Hoch & Sehr hoch \\ 
        \hline  
        \textbf{Text Text Text Text} & Gering & Gering & Sehr hoch & Sehr hoch \\ 
        \hline
        \textbf{Text Text Text Text} & Ja & Ja & Nein & Nein \\
        \hline
        \textbf{Text/Text-Text} & 11784/85 und 14223  & 14443, 15693 und 18000  & 14443, 15693 und 18000  & 18000 \\
        \hline  
        \textbf{Text Text-Text(Text)} & Text-Text,Text, Text, Text Text& TextText, Text-Text& Text, Text-Text& Text Text\\
        \hline  
        \textbf{Text} & Text- und Text, Text, Text, Text, Text& Text, Text, Text Text Text, Text-Text & Text, Text Text-Text, Text-Text& Text-Text, Text\\
        \hline  
        \textbf{Text} & Text& Text& Text/Text & Text Text Text Text Text \\
        \bottomrule
    \end{tabularx}
\end{table}

Edit: I tried @Mico's suggestion and it got much better and the table can be read almost properly. There is only two spots that I would like to correct in order to have a perfect table. These spots are in the following picture:

enter image description here

Is there any commands that I can use to force the text to stay in between the table line?
Thanks a lot in Advance again…

The code is as follows:

\begin{table}[ht!]
\setlength\tabcolsep{3pt} % default: 6pt
\caption{Arten der Reichweite von RFID-Systemen\cite{Internetquelle2}}
\begin{tabularx}{\textwidth}{@{} >{\bfseries}L |L|L|L|L| @{}}
\toprule     
& \textbf{Niederfrequenz} & \textbf{Hochfrequenz} & \textbf{(Ultrahochfrequenz passiv/aktiv)} & \textbf{Mikrowellen(passiv/aktiv)} \\ 
\midrule  
\textbf{Frequenzbereich} &
Unter \qty{135}{\kilo\hertz} & \qty{13,56}{\mega\hertz} 
& \qty{868}{\mega\hertz} (EU), \qty{915}{\mega\hertz} (USA) 
& \qty{2,45}{\giga\hertz}, \qty{5,8}{\giga\hertz} \\ 
\midrule  
\textbf{Leseabstand} & Unter \qty{1}{\meter} &  Bis zu \qty{3}{\meter} &  Bis zu \qty{10}{\meter} bzw. bis zu \qty{100}{\meter}  & Bis zu \qty{3}{\meter} bzw. bis zu \qty{300}{\meter} Meter  \\ 
\midrule  
\textbf{Art der Kopplung von Leser und Transponder} &  Induktiv (Nahfeld) &  Induktiv (Nahfeld) & Elektromagnetisch (Fernfeld) & Elektromagnetisch (Fernfeld) \\ 
\midrule  
\textbf{Übertragungsrate} & Gering & Hoch & Hoch & Sehr hoch \\ 
\midrule
\textbf{Störender Einfluss durch Flüssigkeiten} & Gering & Gering & Sehr hoch & Sehr hoch \\ 
\midrule
\textbf{Ausrichtung des Transponders erforderlich} & Ja & Ja & Nein & Nein \\
\midrule
\textbf{ISO/IEC-Standards} & 11784/85 und 14223  & 14443, 15693 und 18000  & 14443, 15693 und 18000  & 18000 \\
\midrule    
\textbf{Träger des Transponder-Chips (Beispiele)} & Glas-Injektat,Plastikgehäuse, Chipkarte, Smart Label  & Smart Label, Industrie-Transponder  & Smart Label, Industrie-Transponder  & Großformatige Transponder\\
\midrule    
\textbf{Anwendungsbereich} & Zutritts- und Routenkontrolle, Wegfahrsperren, Wäschereinigung, Gasablesung, Tierkennzeichnung  & Wäschereinigung, Ticketing, Tracking und Tracing, Pulk-Erfassung  & Lager, Logistik Paletten-Erfassung, Container-Tracking & Fahrzeug-Identifikation, Straßenmaut\\
\midrule    
\textbf{Akzeptanz} & Weltweit & Weltweit & EU/USA & In der EU nicht akzeptiert \\
\bottomrule
\end{tabularx}
\end{table}

Best Answer

Some suggestions:

  • LaTeX doesn't insert line breaks after the / word divider; hence, replace / with \slash in order to permit line breaks

  • The columns are quite narrow, and full justification doesn't look good. I suggest you define the derived column type L via \newcolumntype{L}{>{\RaggedRight\hspace{0pt}}X}. The \hspace{0pt} particle tells LaTeX to allow line breaks even in the first word of a paragraph.

  • It's my impression that it's frowned upon to allow line breaks between quantities and their associated units. Load the siunitx package and its \qty macro to suppress such line breaks. Specify the option locale=DE to inform the package to use commas as decimal markers.

enter image description here

\documentclass[ngerman]{article} % or some other suitable doc. class
\usepackage{babel,tabularx,ragged2e,booktabs}
\newcolumntype{L}{>{\RaggedRight\hspace{0pt}}X} % suppress full justification
\usepackage[locale=DE]{siunitx} % for \qty macro; use commas as decimal markers

\begin{document}
\begin{table}[ht!]
    \setlength\tabcolsep{3pt} % default: 6pt
    \caption{Arten der Reichweite von RFID-Systemen \cite{Internetquelle2}}
    \begin{tabularx}{\textwidth}{@{} >{\bfseries}L LLLL @{}}
    \toprule     
    & \textbf{Text} & \textbf{Text} & \textbf{Text (Text\slash Text)} 
      & Text (Text\slash Text)\\ 
    Text & Unter \qty{135}{\kilo\hertz} & \qty{13,56}{\mega\hertz} 
      & \qty{868}{\mega\hertz} (EU), \qty{915}{\mega\hertz} (USA) 
      & \qty{2,45}{\giga\hertz}, \qty{5,8}{\giga\hertz} \\ 
    \midrule  
    Text & TextText Text&  Text Text Text Text&  Text Text TextText. Text Text Text Text 
      & Text Text Text Text TextTextText Text\\ 
    \midrule  
    Text Text Text Text TextText &  Text (Text) &  Induktiv (Text) & Text (Text) 
      & Text (Text) \\ 
    \midrule  
    Text & Gering & Hoch & Hoch & Sehr hoch \\ 
    \midrule  
    Text Text Text Text & Gering & Gering & Sehr hoch & Sehr hoch \\ 
    \midrule
    Text Text Text Text & Ja & Ja & Nein & Nein \\
    \midrule
    Text\slash Text-Text & 11784\slash 85 und 14223  & 14443, 15693 und 18000  
      & 14443, 15693 und 18000  & 18000 \\
    \midrule  
    Text Text-Text (Text) & Text-Text,Text, Text, Text Text& TextText, Text-Text
      & Text, Text-Text
      & Text Text\\
    \midrule  
    Text & Text- und Text, Text, Text, Text, Text& Text, Text, Text Text Text, Text-Text 
      & Text, Text Text-Text, Text-Text
      & Text-Text, Text\\
    \midrule  
    Text & Text& Text& Text\slash Text & Text Text Text Text Text \\
    \bottomrule
    \end{tabularx}
\end{table}
\end{document}