Rules - PGML

From WeBWorK_wiki
Revision as of 13:33, 9 May 2015 by Dpvc (talk | contribs) (Initial version)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.