I want to insert PDF or doc file as appendix in my latex file. Do you know what I do?
#1 building
\includegraphics{myfig.pdf}
#2 building
Use pdfpages Bag.
\usepackage{pdfpages}
To include all pages in a PDF file:
\includepdf[pages=-]{myfile.pdf}
First page of PDF only:
\includepdf[pages={1}]{myfile.pdf}
Run texdoc pdfpages in the shell to see the full manual of pdfpages.
#3 building
I don't think there will be an automatic way. You may also need to add page numbers to the appendix correctly. If you already have a PDF document with multiple pages, you must first extract the PDF document of each page using Adobe Acrobat Professional and save each page as a separate PDF file. Then, you must include the image base of each PDF document as the previous page (each page), and use NEWPAGE, G,
\appendix \section{Quiz 1}\label{sec:Quiz} \begin{figure}[htp] \centering{ \includegraphics[scale=0.82]{quizz.pdf}} \caption{Experiment 1} \end{figure} \newpage \section{Sample paper}\label{sec:Sample} \begin{figure}[htp] \centering{ \includegraphics[scale=0.75]{sampaper.pdf}} \caption{Experiment 2} \end{figure}
Now each page displays a pdf image, with the correct page number at the bottom. As my example shows, you must use the scale factor for each image to fit the correct size of a single page. I hope it helps
#4 building
To put the entire pdf in your file instead of just one page, use:
\usepackage{pdfpages} \includepdf[pages=-]{myfile.pdf}
#5 building
There is an add-on package that does not work under pdflatex
Adjust this code
\begin{figure}[h] \centering \includegraphics[width=\ScaleIfNeeded]{figuras/diagrama-spearman.pdf} \caption{Schematical view of Spearman's theory.} \end{figure}
"Diagramma Spearman. pdf" is a graph generated with TikZ, which is the code (it is another. tex file, different from the. tex file I want to insert pdf)
\documentclass[border=3mm]{standalone} \usepackage[applemac]{inputenc} \usepackage[protrusion=true,expansion=true]{microtype} \usepackage[bb=lucida,bbscaled=1,cal=boondoxo]{mathalfa} \usepackage[stdmathitalics=true,math-style=iso,lucidasmallscale=true,romanfamily=bright]{lucimatx} \usepackage{tikz} \usetikzlibrary{intersections} \newcommand{\at}{\makeatletter @\makeatother} \begin{document} \begin{tikzpicture} \tikzset{venn circle/.style={draw,circle,minimum width=5cm,fill=#1,opacity=1}} \node [venn circle = none, name path=A] (A) at (45:2cm) { }; \node [venn circle = none, name path=B] (B) at (135:2cm) { }; \node [venn circle = none, name path=C] (C) at (225:2cm) { }; \node [venn circle = none, name path=D] (D) at (315:2cm) { }; \node[above right] at (barycentric cs:A=1) {logical}; \node[above left] at (barycentric cs:B=1) {mechanical}; \node[below left] at (barycentric cs:C=1) {spatial}; \node[below right] at (barycentric cs:D=1) {arithmetical}; \node at (0,0) {G}; \end{tikzpicture} \end{document}
This is the chart I included