Code: Select all
\setlength{\unitlength}{1cm}
\begin{picture}(15,20)(-0.5,2)
\hbox{\includegraphics[width=15cm]{\string"test\string".jpg}}
\end{picture}
Code: Select all
\setlength{\unitlength}{1cm}
\begin{picture}(15,20)(-0.5,2)
\hbox{\includegraphics[width=15cm]{\string"test\string".jpg}}
\end{picture}
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
\unitlength
, the value you set to 1 cm.Code: Select all
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[remember picture, overlay]
\draw node at (current page.center) {\includegraphics{filename}};
\end{tikzpicture}
\end{document}
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis