This has been asked before but none of them solve my problem. I have a three-page pdf which includes a Table, so I would like to have it captioned Table. To include it in my thesis I have tried the followings:
- With the following what I get is only first page of the pdf, I have tried pages=[3] and pages=[1,2,3], pages={-} and pages={1-}. did not work
\begin{table}[h]
\centering
\caption{caption.}
\label{tbl:table}
\includegraphics[width=\textwidth,pages={1-}]{fig/table.pdf}
\end{table}
- The following put the tables on tope of the text! so it overlaps with the the page. I have tried \newpage. did not work.
\begin{table}[h]
\centering
\caption{caption.}
\includepdf[pages={-}, width=\textwidth,
height=\textheight, pagecommand={\label{tbl:table}},
]{fig/table.pdf}
\end{table}
- the one that works fine is the following. however I cannot place properly the caption. It appears on the first row of the table.
\includepdf[pages={1-}, width=\textwidth,
height=\textheight, pagecommand={\label{table} ,\captionof{s}{caption}},
]{fig/table.pdf}
Please help if you know how to make it right. thanks in advanced.
\includegraphicsispage(singular) and obviously, just one number (e.g.page=1) and of course repeat the command for the other pages. With\includepdfis notpages=[1,2,3]butpages={1,2,3}and{-}and{1-}should work too, but without a MWE like this is impossible to assure what is failing in your case. – Fran Jul 09 '21 at 09:33\begin{table}and\end{table}lines. BTW, include a Word table in a PDF in LaTeX is like go to a five stars restaurant to ask a burger:(– Fran Jul 09 '21 at 09:41\captionofcommand, but as said, this is going to look bad – daleif Jul 09 '21 at 10:18