Rules - PGML

From WeBWorK_wiki
Jump to navigation Jump to search

Creating Horizontal Rules

Three or more dashes or equals on a line by itself forms a rule

 -----

Normally, the rule will extend to fill the horizontal space used by the problem, but you can specify the width and size (i.e., height) if you want:

 ----{200px}
 ----{50%}
 ===={200px}{5px}
 ===={size=>'5px'}
 ----{width=>'200px',size=>'5px'}

You can center and right-justify rules:

 >> ----{100px} <<
 >> ----{100px}

They can also be indented.