diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-12 23:56:49 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-12 23:56:49 +0000 |
commit | 40a944ad7415cb83a2e60d23b2b516fd3faf1dbb (patch) | |
tree | 2ab6115871d31cf8f5aad1856dfd83d0215c8aef /Master/texmf-dist/tex/latex/hilowres | |
parent | 4d3fbef5844c073ee17c6ecc5895434ace4c2b41 (diff) |
hilowres
git-svn-id: svn://tug.org/texlive/trunk@978 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/hilowres')
-rw-r--r-- | Master/texmf-dist/tex/latex/hilowres/hilowres.sty | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/hilowres/hilowres.sty b/Master/texmf-dist/tex/latex/hilowres/hilowres.sty new file mode 100644 index 00000000000..d603501691b --- /dev/null +++ b/Master/texmf-dist/tex/latex/hilowres/hilowres.sty @@ -0,0 +1,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'. |