2

I'm writing a document on which to include a pdf that contains a table of description. This is the code I have used:

\begin{table}[!h]
\caption{Use Cases Description}
\begin{center}
\includepdf[pages={1}]{chapter3/description.pdf}
\end{center}
\label{description}
\end{table}

the problem is that I'm getting the table included from the pdf written over the previously written text, such as mentioned in the photo below. Also, I'm not getting the caption that I've made. What should I do?

latex problem

  • 7
    Includepdf is not for images, it is for full pages. Use \includegraphics. Includepdf does not make sense inside a float as it can never be as large as a full page. – daleif May 29 '17 at 9:20
  • 1
    And BTW welcome. The error you make is sadly a common one. Also dot use center to center inside floats. Replace \begin{center} with \centering and remove \end{center} – daleif May 29 '17 at 9:22
  • Welcome to TeX.SX! Please make your code compilable (if possible), or at least complete it with \documentclass{...}, the required \usepackage's, \begin{document}, and \end{document}. That may seem tedious to you, but think of the extra work it represents for TeX.SX users willing to give you a hand. Help them help you: remove that one hurdle between you and a solution to your problem. – Martin Schröder May 30 '17 at 5:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.