如何使文本在LateX中看起来像那样
我需要使图片上的线条与图片中的线条完全相同。 这是我的代码:如何使文本在LateX中看起来像那样,latex,Latex,我需要使图片上的线条与图片中的线条完全相同。 这是我的代码: \begin{figure}[h] \centering \captionof{table}{} \label{tab:table 1} %I think that the line must be here \begin{center} \begin{tabular}{|c||c|c|c|c||c|} \hline Level &
\begin{figure}[h]
\centering
\captionof{table}{} \label{tab:table 1}
%I think that the line must be here
\begin{center}
\begin{tabular}{|c||c|c|c|c||c|}
\hline
Level & Trial & Mod. & Time & Prop. & Tot.\\
\hline
2 & 478 & 2 & 1h 19m & 3/5 & 16\\
3 & 408 & 1 & 1h 04m & 2/5 & 12\\
4 & 400 & 2 & 1h 00m & 3/5 & 14\\
5 & 7531 & 3 & 17h 52m & 2/5 & 6\\
6 & 402 & 1 & 0h 50m & 3/5 & 11\\
\hline
av. & 1843 & 1.6 & 4h 25m & 2.4/5 & 11.8\\
av2 & 422 & 1.5 & 1h 3m & 2.75/5 & 13.25\\
\hline
\end{tabular}
\end{center}
\end{figure}
看起来是这样的:
谢谢你的帮助您应该考虑删除图形和中心环境,而不是使用表格环境。你将以正确的方式获得同样的结果。至于这个问题,我不确定您具体想要什么,我假设您想要下面的标题,在这种情况下,将选项labelsep=newline添加到标题包中,如dokumentation所示。第一个与您的标题对应的工作代码建议:
\documentclass{article}
\开始{document}
\开始{table}[htbp]
\标题{emph{Let it snow}2至6级的策展分析}
\标签{tab:tab1}
\定心
\开始{表格}{| c | c | c | c | c | c |}
\赫林
级别、试用、修改和时间与道具托特\\
\赫林
2号、478号、2号和1号、19号、3号、5号和16号\\
3号、408号、1号和1号、4号、2号、5号和12号上半年\\
4、400、2、1小时00米、3、5、14\\
5&7531&3&17小时52m&2/5&6\\
6号、402号、1号、0号、50米、3号、5号和11号\\
\赫林
影音1843&1.6&4h 25m&2.4/5&11.8\\
av2&422&1.5&1h 3m&2.75/5&13.25\\
\赫林
\结束{表格}
\结束{table}
\结束{document}
除非你真的讨厌你的读者,否则不要试图让你的桌子看起来像你可能想看的那样。你所关心的两张图片之间的区别是什么?乍一看,唯一明显的区别在于表一标题下的标题或标题(读作“策展分析…”的部分)。是这样吗?你只是想添加标题,还是我遗漏了两张图片中不同的东西?