%%myWEPSgraphics.tex

\usepackage{graphicx, scalerel}
\graphicspath{{./}{../}}

% squeeze graphics so they fit the page
\newcommand*{\img}[1]{%
    \raisebox{-.02\baselineskip}{%
        \includegraphics[
		scale=.5,
        keepaspectratio,
        ]{#1}%
    }%
}

% Allows an icon image to be printed inline, but full size and below the line
% See the "WEPS_Installation_NRCS-TSP.tex" file for an example use of this new command
\newcommand*{\imgdn}[1]{%
    \raisebox{-1.0\baselineskip}{%
        \includegraphics[
		scale=1.0,
        keepaspectratio,
        ]{#1}%
    }%
}

\usepackage{subcaption}
\usepackage[export]{adjustbox}

\usepackage[most]{tcolorbox}

\newtcbox{\inlinebox}[1][]{enhanced,
 box align=base,
 nobeforeafter,
 colback=white,
 colframe=black,
 size=small,
 left=0pt,
 right=0pt,
 boxsep=2pt,
 #1}
 
 %% Vertically centers the image in a line, expanding the line height to accomodate the image.
 %% Need to figure out how to pass "scale" parameter through the macro
\newcommand{\vcenteredinclude}[1]{\begingroup
\setbox0=\hbox{\includegraphics[scale=2.0]{#1}}%
\parbox{\wd0}{\box0}\endgroup}
