Description
Sets the base pathname for images; that
is, the directory in which the images for the current
question bank are stored.
Syntax
\setImageBase{path}
- path
- The path to your images. It is best to use a relative
pathname.
Notes
- You can create directories and upload
images to your class website by selecting the Website
Editor in System Tools. The path from an assignment to
these directories is
../classes/class-name/
. For example, if
your EDU classname were calculus205
, and you
planned to place your image files in the
chapter1
folder of your EDU class web site,
then you would use \setImageBase{../classes/calculus205/chapter1/}
.
- Use forward slashes (
/
), not
backslashes (\
). The final slash is
optional.
- It is best to use a relative pathname,
like
../classes/calculus205/chapter1/
, rather
than an absolute pathname, to access files in your class
site. This allows for portability, in case your site needs
to move to a different server.
\setImageBase
has a global effect on your
document. That is, grouping \setImageBase
within braces will not
localize its effect; this will still affect the image base
outside of the group.
- You may temporarily turn off the image
base with
\ignoreImageBase
. This macro takes no
arguments. Its effect is local, so upon leaving the current
group or environment, the image base will revert to its
previous value.