\documentclass{article} \usepackage{graphicx} \begin{document} \includegraphics[width=0.5\textwidth]{file} \end{document}