Ich versuche, die Tabelle breiter zu machen. Ich habe bereits ein Feld zum Anpassen der Textbreite erstellt, aber nichts ist passiert. Kann mir bitte jemand helfen?
Mein Code:
\begin{table}[htbp]
\centering
\caption{Three different Noise Levels}
\begin{adjustbox}{max width=\textwidth}
\begin{tabular}{ccc}
\hline
\textbf{V output}\textbf{} & & \textbf{SNR Level} \\
\hline
From & To & \\
\hline
-inf & 0 & Low \\
0 & 20 & Medium \\
20 & inf & High \\
\hline
\end{tabular}%
\end{adjustbox}
\label{tab:addlabel}%
\end{table}%
Die Ausgabe:
Antwort1
Sie können anstelle von ein tabularx
das Ganze überspannendes verwenden .\columnwidth
tabular
MWE
\documentclass[twocolumn]{article}
\usepackage{tabularx}
\newcolumntype{Y}{>{\centering\arraybackslash}X}
\begin{document}
\noindent x\hrulefill x
\begin{table}[htbp]
\centering
\caption{Three different Noise Levels}
\begin{tabularx}{\columnwidth}{YcY}
\hline
\textbf{V output}\textbf{} & & \textbf{SNR Level} \\
\hline
From & To & \\
\hline
-inf & 0 & Low \\
0 & 20 & Medium \\
20 & inf & High \\
\hline
\end{tabularx}%
\label{tab:addlabel}%
\end{table}%
\end{document}