I find that if I have a table of an image, before outputting a table of a tabularx, that the second table gets placed on the next page in the center, instead of at the top, though I use [Ht!].
I would like if the two tables appear snuggly together on the second page toward the top of the page.
In order for this minimal working example to work, you will need to download the image a.png into the same directory that you run this .tex from.
Code: Select all
Code, edit and compile here:
\documentclass{article}\usepackage{graphicx}\usepackage{tabularx}\begin{document}\section{This}\subsection{That}this is something to consider.\begin{table}[ht!]\centering\includegraphics[width=6.5in]{a.png}\end{table}\subsection{An example}There are some challenges being faced on the next page.\begin{table}[!Ht]\caption{Current Challenges}\label{Current Challenges}\centering\begin{tabularx}{6.5in}{ | p{0.35in} | X | }\hline\textbf{Issues} & \textbf{IN THE TABLE} \\\hline\label{C1}C1 & THE EXAMPLE\\\hline\label{C2}C2 & Another issue is this \\\hline\label{C3}C3 & Lastly this is an issue \\
many thanks,