Is it possible to change the default width of an image included via \includegraphics (from the graphicx package) to a custom value, for example \linewidth.
So I want something like this:
\documentclass{article}
\usepackage[draft,width=\linewidth]{graphicx}
%or something like \setglobalimagewidth=\linewidth
\begin{document}
\includegraphics{test1} %width=\linewidth
\includegraphics[width=4cm]{test1} %width=4cm
\end{document}
