Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Aug 5th, 2010  |  syntax: None  |  size: 1.42 KB  |  views: 88  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. diff --git a/manual/appendix/wps_tags.tex b/manual/appendix/wps_tags.tex
  2. index 070d191..2992b18 100644
  3. --- a/manual/appendix/wps_tags.tex
  4. +++ b/manual/appendix/wps_tags.tex
  5. @@ -320,10 +320,15 @@ Examples:
  6.            \config{y}: y coordinate\newline
  7.            \config{nimages}: (optional) number of sub-images (tiled vertically, of the same height)
  8.            contained in the bitmap. Default is 1.\\
  9. -    \config{\%xd(n[i])} & Display a preloaded image.
  10. +    \config{\%xd(n[i] [,tag] [,offset])} & Display a preloaded image.
  11.            \config{n}: image ID (a-z and A-Z) as it was specified in \config{\%x} or \config{\%xl}\newline
  12. -          \config{i}: (optional) number of the sub-image to display (a-z for 1-26 and A-Z for 27-52).
  13. -          By default the first (i.e. top most) sub-image will be used.\\
  14. +          \config{i}: (optional) number of the sub-image to display (a-z for 1-26 and A-Z for 27-52).
  15. +          (ignored when \config{tag} is used)
  16. +          By default the first (i.e. top most) sub-image will be used.\newline
  17. +          \config{tag}: (optional) Another tag to calculate the subimage from e.g \config{\%xd(A, \%mh)} would
  18. +          use the first subimage when \config{\%mh} is on and the second when it is off\newline
  19. +          \config{offset}}: (optional) Add this number to the value from the \config{tag} when
  20. +          chosing the subimage (may be negative)\\
  21.    \end{tagmap}
  22.  
  23.  Examples:
clone this paste RAW Paste Data