summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/hilowres/hilowres.sty
blob: d603501691b7e4fc953685fe093683ae41f02613 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
%%
%% 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 <jogerell@acc.umu.se>.
%% 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'.