Tables -- PGML

From WeBWorK_wiki
Revision as of 17:40, 8 May 2024 by Pstaabp (talk | contribs) (initial checkin of PGML table documentation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

PGML Tables

One can make a table inside a PGML within the tags [* *]

Then cells use the tags [. .] and the last cell in a row ends in a *.

BEGIN_PGML

A simple table

 [* [. col 1 .] [. col 2 .] [. col 3 .]*
   [. 1 .] [. 2 .] [. 3 .]*
   [. 4 .] [. 5 .] [. 6 .]*
 ]*

Would make a table similar to

col 1 col 2 col 3
1 2 3
4 5 6