2014年10月26日 星期日

[Latex] Inserting pdf file into latex



Determine the boundary of pdf file

gs -o /dev/null -sDEVICE=bbox Input.pdf

Header:

% Inserting a pdf file in latex
\usepackage{ifpdf}
\ifpdf %%Einbindung von Grafiken mittels \includegraphics{datei}
        \usepackage[pdftex]{graphicx} %%Grafiken in pdfLaTeX
\else
        \usepackage[dvips]{graphicx} %%Grafiken und normales LaTeX
\fi

Body :

\begin{figure}
 \centering
 \includegraphics[width=1.2\textwidth,bb=18 42 594 772]{111.pdf}
\end{figure}

Related Posts:

0 意見:

張貼留言