Tags - PGML

From WeBWorK_wiki
Revision as of 07:11, 19 May 2024 by Pstaabp (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

PGML Tags

Creating either div or spans in PGML.

Example

The code

 BEGIN_PGML
 Consider the equation [<[`x+y=9`]>]{
   html => ['span', style => 'color:blue'],
   tex => ['{\color{blue}', '}']
 }
 END_PGML

will produce the following:

Consider the equation x+y=9.


Notes

  • This tag is generally only needed for advanced layout of problems or special conditions.
  • add the tex option to set any hardcopy properties needed for the span or div to render correctly.