%% %% This is file `hilowres.sty', %% generated with the docstrip utility. %% %% The original source files were: %% %% hilowres.dtx (with options: `package') %% %% Copyright (c) 1999 by Johann Gerell . %% All rights reserved. See the file `hilowres.ins' for information %% on how you may (re-)distribute the `hilowres' package files. %% You are not allowed to make any changes to this file without %% explicit permission from the author. %% \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{hilowres} [1999/01/07 v1.0 Include optional low resolution images] \RequirePackage{graphicx} \newif\if@high\@hightrue \DeclareOption{low}{\@highfalse} \ProcessOptions \if@high\typeout{^^J NOTE: Resolution is HIGH ^^J} \else\typeout{^^J NOTE: Resolution is LOW ^^J} \fi \newcommand{\@highext}{} \newcommand{\@lowext}{_low} \newcommand{\hilofig}[2][]{% \includegraphics[#1]{#2\if@high\@highext\else\@lowext\fi}% } \newcommand{\highext}[1]{\renewcommand{\@highext}{#1}} \newcommand{\lowext} [1]{\renewcommand{\@lowext} {#1}} \endinput %% %% End of file `hilowres.sty'.