I just found myself having figures that include multiple image files with the exact same options. Is there a way to avoid this repetition? (That would also make it less cumbersome to change these options should the need arise.)
\begin{figure}
\centering
\includegraphics[trim=1cm 2cm 3cm 4cm,clip]{imagefile1.pdf}
\includegraphics[trim=1cm 2cm 3cm 4cm,clip]{imagefile2.pdf}
\includegraphics[trim=1cm 2cm 3cm 4cm,clip]{imagefile3.pdf}
\end{figure}
EDIT: For example in tikz images you could use \tikzstyle{my style}=[<tikz options>] (see e.g here), is there something similar in plain latex?


\foreach \x in {1,...,3} {\includegraphics[trim=1cm 2cm 3cm 4cm,clip]{imagefile\x.pdf}, with\usepackage{pgffor}in the preamble, for example – Mar 01 '18 at 16:47