1
大家好我創建乳膠表我的代碼看起來是這樣的:如何設置列的固定寬度?
\begin{table}[H]
\centering
\caption{caption}
\label{my-label}
\begin{tabular}{lll}
\hline
\multicolumn{3}{|c|}{\cellcolor[HTML]{34CDF9}{\color[HTML]{000000} Matriz confusión Genero.}} \\ \hline
\multicolumn{1}{|l|}{} & \multicolumn{1}{l|}{M} & \multicolumn{1}{l|}{F} \\ \hline
\multicolumn{1}{|l|}{M} & \multicolumn{1}{l|}{43} & \multicolumn{1}{l|}{7} \\ \hline
\multicolumn{1}{|l|}{F} & \multicolumn{1}{l|}{11} & \multicolumn{1}{l|}{39} \\ \hline
\end{tabular}
\end{table}
它運作良好,但問題是當我嘗試修復我試着列的寬度:
\begin{tabular}{l{2cm}|l{2cm}|l{2cm}}
結果是同一張表,可變長度的列,我想修復列的長度,我想欣賞任何建議來解決這個問題。
另外:http://stackoverflow.com/questions/ 37053549 /我正在嘗試使用latex-for-documentation-i-am-unable-to-format-the-table-ple/37057626#37057626 – MattAllegro
還有:http://stackoverflow.com/questions/33106545/latex-table-syntax/33110870#33110870等等。 – MattAllegro