File:  [LON-CAPA] / loncom / html / adm / help / tex / Authoring_ImageResponse.tex
Revision 1.2: download - view: text, annotated - select for diffs
Tue Feb 22 14:46:54 2005 UTC (19 years, 4 months ago) by vandui11
Branches: MAIN
CVS tags: version_2_2_X, version_2_2_2, version_2_2_1, version_2_2_0, version_2_1_X, version_2_1_99_3, version_2_1_99_2, version_2_1_99_1, version_2_1_99_0, version_2_1_3, version_2_1_2, version_2_1_1, version_2_1_0, version_2_0_X, version_2_0_99_1, version_2_0_2, version_2_0_1, version_2_0_0, version_1_99_3, version_1_99_2, version_1_99_1_tmcc, version_1_99_1, version_1_99_0_tmcc, version_1_99_0, HEAD
clarified wording that was confusing

    1: \label{Authoring_ImageResponse}
    2: 
    3: \textbf{imageresponse} implements a image-click answer. \textbf{imageresponse}
    4: tags should contain a \textbf{foilgroup} tag, which contain \textbf{foil}
    5: tags. Each \textbf{foil} tag can contain:
    6: 
    7: \begin{itemize}
    8: \item \textbf{image}\index{image}: required. The delimited text should
    9: correspond to a published image resource. Example: \texttt{<image>/res/adm/includes/templates/man1.jpg</image>}.
   10: Should only appear once per foil.
   11: \item \textbf{rectangle}\index{rectangle}: required. The delimited text
   12: specifies a rectangular area that is correct, specified as \texttt{(x1,y1)-(x2,y2)},
   13: where x1, x2, y1, and y2 are number corresponding to the x and y coordinates
   14: of two corners that define a rectangle which specifies where the right
   15: answer for this foil is located on the image. For example, \texttt{(0,0)-(100,200)}
   16: will specify that a rectangle 100 pixels wide and 200 pixels tall,
   17: situated in the upper left of the image, is correct. At least one
   18: rectangle is required; multiple rectangles may be specified.
   19: \item \textbf{text}\index{text}: required. The delimited text is printed
   20: before the image is shown on the screen. This text is typically used
   21: to describe to the student what they are expected to click on.
   22: \end{itemize}

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>