include pdf as latex code example
Example: latex include pdf
\usepackage{pdfpages}
%To include all the pages in the PDF file:
%[pages=-] includes the whole file, range can be defined by [pages= 2-6]
\includepdf[pages=-]{myfile.pdf}
%To include just the first page of a PDF:
\includepdf[pages={1}]{myfile.pdf}