Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/logging/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Latex 我如何将我的桌子放置在乳胶中,使其相互下方_Latex - Fatal编程技术网

Latex 我如何将我的桌子放置在乳胶中,使其相互下方

Latex 我如何将我的桌子放置在乳胶中,使其相互下方,latex,Latex,我有问题,使表11是在表10内乳胶。对于我的表,我一直在使用[!]和[h]使我的表显示在彼此下方,但现在,一旦我到达表11,它就不会显示在表10下方 \begin{table}[!] \begin{tabular}{|l|l|} \hline Test\# & 10 \

我有问题,使表11是在表10内乳胶。对于我的表,我一直在使用
[!]
[h]
使我的表显示在彼此下方,但现在,一旦我到达表11,它就不会显示在表10下方

\begin{table}[!]
\begin{tabular}{|l|l|}
\hline
Test\#        & 10                                                                                                        
\\ \hline
Content       & \begin{tabular}[c]{@{}l@{}}Testing emails to be registered 
when signing up\\ to be a lender.\end{tabular} \\ \hline
Input         & Signing up and lending out a product.                                                                     
\\ \hline
Pass Criteria & Signing up with the ability to lend out products.                                                         
\\ \hline
\end{tabular}
\end{table}
我尝试过使用float包和placein包的一些方法,但似乎没有做任何更改

我以前也遇到过这个问题,因为一开始我使用的是
[h]
,所有的表都在彼此下面,但后来它停止了工作,所以我使用了
[!]
,但现在它不起作用了

这是表10

\begin{table}[!]
\begin{tabular}{|l|l|}
\hline
Test\#        & 10                                                                                                        
\\ \hline
Content       & \begin{tabular}[c]{@{}l@{}}Testing emails to be registered 
when signing up\\ to be a lender.\end{tabular} \\ \hline
Input         & Signing up and lending out a product.                                                                     
\\ \hline
Pass Criteria & Signing up with the ability to lend out products.                                                         
\\ \hline
\end{tabular}
\end{table}
表11是相同的,但它不会放在表10下,而是放在随机的地方

\begin{table}[!]
\begin{tabular}{|l|l|}
\hline
Test\#        & 11                                                                                                                              
\\ \hline
Content       & \begin{tabular}[c]{@{}l@{}}Testing the billing information 
input to see \\ if it works.\end{tabular}                            \\ 
\hline
Input         & \begin{tabular}[c]{@{}l@{}}The user rents out a product 
and check if\\ billing information is appearing correctly.\end{tabular} \\ 
\hline
Pass Criteria & \begin{tabular}[c]{@{}l@{}}Billing information appears 
when checkout is\\ completed.\end{tabular}                               
\\ \hline
\end{tabular}
\end{table}
我有没有办法把表11放在表10的正下方,而不是像下图所示那样随机放置。先谢谢你


我建议另一种方法,如果表应该直接相互跟随,则将它们放置在相同的浮动环境中:

\documentclass{article}
\usepackage{float}

\begin{document}

\begin{table}[htbp]
\begin{tabular}{|l|l|}
\hline
Test\#        & 10                                                                                                        
\\ \hline
Content       & \begin{tabular}[c]{@{}l@{}}Testing emails to be registered 
when signing up\\ to be a lender.\end{tabular} \\ \hline
Input         & Signing up and lending out a product.                                                                     
\\ \hline
Pass Criteria & Signing up with the ability to lend out products.                                                         
\\ \hline
\end{tabular}

\bigskip

\begin{tabular}{|l|l|}
\hline
Test\#        & 11                                                                                                                              
\\ \hline
Content       & \begin{tabular}[c]{@{}l@{}}Testing the billing information 
input to see \\ if it works.\end{tabular}                            \\ 
\hline
Input         & \begin{tabular}[c]{@{}l@{}}The user rents out a product 
and check if\\ billing information is appearing correctly.\end{tabular} \\ 
\hline
Pass Criteria & \begin{tabular}[c]{@{}l@{}}Billing information appears 
when checkout is\\ completed.\end{tabular}                               
\\ \hline
\end{tabular}
\end{table}
\end{document}

本身不是有效的浮点说明符,您必须将其与常规说明符结合使用,例如,
[h!]
(但是,我建议使用另一种方法,如果表应该彼此跟随,请将它们放在相同的浮点环境中)