Tables - PGML

From WeBWorK_wiki
Revision as of 05:20, 9 May 2024 by Pstaabp (talk | contribs) (Pstaabp moved page PGML tables to Tables -- PGML without leaving a redirect: this name is better in the topic listing)
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