File:  [LON-CAPA] / loncom / html / adm / help / tex / Authoring_Internal_Tags.tex
Revision 1.1: download - view: text, annotated - select for diffs
Tue Jun 10 19:29:26 2003 UTC (21 years, 1 month ago) by bowersj2
Branches: MAIN
CVS tags: version_1_3_X, version_1_3_3, version_1_3_2, version_1_3_1, version_1_3_0, version_1_2_X, version_1_2_99_1, version_1_2_99_0, version_1_2_1, version_1_2_0, version_1_1_X, version_1_1_99_5, version_1_1_99_4, version_1_1_99_3, version_1_1_99_2, version_1_1_99_1, version_1_1_99_0, version_1_1_3, version_1_1_2, version_1_1_1, version_1_1_0, version_1_0_99_3, version_1_0_99_2, version_1_0_99_1, version_1_0_99, version_1_0_3, version_1_0_2, version_1_0_1, version_1_0_0, version_0_99_5, version_0_99_4, version_0_99_3, version_0_99_2, HEAD
homework5.html chunked up with authoring information

    1: \label{Authoring_Internal_Tags}
    2: 
    3: 
    4: \begin{itemize}
    5: \item \textbf{labelgroup}\index{labelgroup}: One required, multiple allowed.
    6: Declares a group of locations and labels associated with them. Possible
    7: attributes are:
    8: 
    9: \begin{itemize}
   10: \item \textbf{name}\index{name}: This is the name of the group. A hash
   11: with this name will be generated holding the mappings for later use
   12: in the problem. For each location a value will be set for which label
   13: is there, (EX. \$hash\{'1'\}=''TEXT-2''). For locations with values
   14: the hash will contain 2 items, a location to value mapping (\$hash\{'value\_1'\}=10),
   15: and a label to value mapping (\$hash\{'labelvalue\_2'\}=10). For all
   16: image style of labels there will also be a label description to label
   17: URL mapping (\$hash\{'image\_2'\}=IMG-URL). Also the entry \textbf{numlocations}
   18: will be set to the total number of locations that exist. (Note that
   19: locations and labels start counting from 1.) 
   20: \item \textbf{type}\index{type}: the type of labels in this group, either
   21: '\textbf{image}' or '\textbf{text}'
   22: \item \textbf{location}\index{location}: declares a location on the image
   23: that a label should appear at. Possible attributes are:
   24: 
   25: \begin{itemize}
   26: \item \textbf{x}\index{x}: The x value of the location in pixels.
   27: \item \textbf{y}\index{y}: The y value of the location in pixels.
   28: \item \textbf{value}\index{value}: An optional scalar value to associate
   29: at this location.
   30: \item \textbf{label}\index{label}: Declaration of a label. If this is a
   31: \textbf{text} type label, the internal text should be the text of
   32: the label (HTML is not currently supported); if this is an \textbf{image}
   33: type of label, the internal text must be a LON-CAPA resource specification,
   34: and the description filed must be set. Possible attributes are:
   35: 
   36: \begin{itemize}
   37: \item \textbf{description}\index{description}: Required field for image
   38: labels. It will be used when setting values in the hash.
   39: \end{itemize}
   40: \end{itemize}
   41: \end{itemize}
   42: \end{itemize}

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