Tags - PGML

From WeBWorK_wiki
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.