StaticImages: Difference between revisions
Jump to navigation
Jump to search
(New page: <h2>Static Graphic Images: PG Code Snippet</h2> <p style="background-color:#eeeeee;border:black solid 1px;padding:3px;"> <em>This code snippet shows the essential PG code to insert a sta...) |
No edit summary |
||
Line 1: | Line 1: | ||
<h2>Static Graphic Images: PG Code Snippet</h2> | <h2>Static Graphic Images: PG Code Snippet</h2> | ||
Line 34: | Line 33: | ||
[[IndexOfProblemTechniques|Problem Techniques Index]] | [[IndexOfProblemTechniques|Problem Techniques Index]] | ||
</p> | </p> | ||
[[Category:Problem Techniques]] |
Revision as of 02:48, 15 February 2008
Static Graphic Images: PG Code Snippet
This code snippet shows the essential PG code to insert a static (pre-generated) graphic image into a problem. Note that these are insertions, not a complete PG file. This code will have to be incorporated into the problem file on which you are working.
PG problem file | Explanation |
---|---|
BEGIN_TEXT \{ image( imagename.png ) \} END_TEXT |
Here it's easy: we just use the
We can, of course, include options such as specifying the |