使用表格后表格丢失*

使用表格后表格丢失*

我使用 table* 创建了一个扩展到整个页面宽度的表格。在此表格之后,我仅使用 table 命令创建了另一个表格。第二个表格未出现在文档中。第一个表格的 latex 代码如下

\begin{table*}[]
\small
\begin{tabular}{ll}
\hline
Error & Number \\
\hline
error1 & 11 \\
\end{tabular}
\end{table*}

第二个表的 latex 代码如下

\begin{table}[]
\begin{tabular}{lll}
\hline
Error    & Error Sequence \\
\hline
Naming Error & 2  \\
\end{tabular}
\end{table}

有人能建议如何让第二个表格出现在文档中吗?谢谢

答案1

如果您使用标准包,您的表格将出现在文档中。请参阅以下 MWE:

在此处输入图片描述

\documentclass[twocolumn]{article}
\usepackage{array}
\setlength{\extrarowheight}{1pt}

\begin{document}

I have created a table expanding to whole width of the page, using table*. After this table, I have created another table only with table command. The second table is not appearing in the document. The latex code for the first table as below

\begin{table*}
\small
\caption{Table 1 is here, and you have to load caption to have nice captions}
\begin{tabular}{lcccccc}
\hline
Error & Number & Number & Number & Number & Number & Number \\
\hline
error1 & 11 & 11 & 11 & 11 & 11 & 11 \\
error1 & 11 & 11 & 11 & 11 & 11 & 11 \\
error1 & 11 & 11 & 11 & 11 & 11 & 11 \\
error1 & 11 & 11 & 11 & 11 & 11 & 11 \\
\hline
\end{tabular}
\end{table*}

The latex code for the second table as below.I have created a table expanding to whole width of the page, using table*. After this table, I have created another table only with table command. The second table is not appearing in the document. The latex code for the first table as below

I have created a table expanding to whole width of the page, using table*. After this table, I have created another table only with table command. The second table is not appearing in the document. The latex code for the first table as below

I have created a table expanding to whole width of the page, using table*. After this table, I have created another table only with table command. The second table is not appearing in the document. The latex code for the first table as below

I have created a table expanding to whole width of the page, using table*. 
I have created a table expanding to whole width of the page, using table*. After this table, I have created another table only with table command. The second table is not appearing in the document. The latex code for the first table as below. I have created a table expanding to whole width of the page, using table*. After this table, I have created another table only with table command. The second table is not appearing in the document. The latex code for the first table as below. I have created a table expanding to whole width of the page, using table*. After this table, I have created another table only with table command. The second table is not appearing in the document. The latex code for the first table as below.


\begin{table}[t!]
\caption{Table 2 is here and sometimes there, but never where you expected}
\begin{tabular}{lrr}
\hline
Error    & Error Sequence & Reaction\\
\hline
Naming Error & 2  & 3\\
Naming Error & 2  & 3\\
Naming Error & 2  & 3\\
Naming Error & 2  & 3\\
\hline
\end{tabular}
\end{table}

Can anyone suggest how to make the second table to appear in the document ? Thank you

I have created a table expanding to whole width of the page, using table*. After this table, I have created another table only with table command. The second table is not appearing in the document. The latex code for the first table as below. I have created a table expanding to whole width of the page, using table*. After this table, I have created another table only with table command. The second table is not appearing in the document. The latex code for the first table as below. I have created a table expanding to whole width of the page, using table*. After this table, I have created another table only with table command. The second table is not appearing in the document. The latex code for the first table as below.

I have created a table expanding to whole width of the page, using table*. After this table, I have created another table only with table command. The second table is not appearing in the document. The latex code for the first table as below. I have created a table expanding to whole width of the page, using table*. After this table, I have created another table only with table command. The second table is not appearing in the document. The latex code for the first table as below


I have created a table expanding to whole width of the page, using table*. After this table, I have created another table only with table command. The second table is not appearing in the document. The latex code for the first table as below.

I have created a table expanding to whole width of the page, using table*. After this table, I have created another table only with table command. The second table is not appearing in the document. The latex code for the first table as below. I have created a table expanding to whole width of the page, using table*. After this table, I have created another table only with table command. The second table is not appearing in the document. The latex code for the first table as below. I have created a table expanding to whole width of the page, using table*. After this table, I have created another table only with table command. The second table is not appearing in the document. The latex code for the first table as below.
I have created a table expanding to whole width of the page, using table*. After this table, I have created another table only with table command. The second table is not appearing in the document. The latex code for the first table as below. I have created a table expanding to whole width of the page, using table*. After this table, I have created another table only with table command. The second table is not appearing in the document. The latex code for the first table as below. I have created a table expanding to whole width of the page, using table*. After this table, I have created another table only with table command. The second table is not appearing in the document. The latex code for the first table as below.

I have created a table expanding to whole width of the page, using table*. After this table, I have created another table only with table command. The second table is not appearing in the document. The latex code for the first table as below. I have created a table expanding to whole width of the page, using table*. After this table, I have created another table only with table command. The second table is not appearing in the document. The latex code for the first table as below. I have created a table expanding to whole width of the page, using table*. After this table, I have created another table only with table command. The second table is not appearing in the document. The latex code for the first table as below.
I have created a table expanding to whole width of the page, using table*. After this table, I have created another table only with table command. The second table is not appearing in the document. The latex code for the first table as below. I have created a table expanding to whole width of the page, using table*. After this table, I have created another table only with table command. The second table is not appearing in the document. The latex code for the first table as below. I have created a table expanding to whole width of the page, using table*. After this table, I have created another table only with table command. The second table is not appearing in the document. The latex code for the first table as below.

 The second table is not appearing in the document. The latex code for the first table as below. I have created a table expanding to whole width of the page, using table*. After this table, I have created another table only with table command. The second table is not appearing in the document. The latex code for the first table as below. I have created a table expanding to whole width of the page, using table*. After this table, I have created another table only with table command. The second table is not appearing in the document. The latex code for the first table as below.

 The second table is not appearing in the document. The latex code for the first table as below. I have created a table expanding to whole width of the page, using table*. After this table, I have created another table only with table command. The second table is not appearing in the document. The latex code for the first table as below. I have created a table expanding to whole width of the page, using table*. After this table, I have created another table only with table command. The second table is not appearing in the document. The latex code for the first table as below.

 The second table is not appearing in the document. The latex code for the first table as below. I have created a table expanding to whole width of the page, using table*. After this table, I have created another table only with table command. The second table is not appearing in the document. The latex code for the first table as below. I have created a table expanding to whole width of the page, using table*. After this table, I have created another table only with table command. The second table is not appearing in the document. The latex code for the first table as below.

\end{document}

相关内容