<row>
<entry id="grammar.notation_lhs">¬ation_lhs;</entry>
<entry>::=</entry>
- <entry>&TODO;</entry>
- <entry>&TODO;</entry>
+ <entry>&layout; [&layout;]…</entry>
</row>
</tbody>
</tgroup>
- </table>
+ </table>
+
+ <table frame="topbot" rowsep="0" colsep="0" role="grammar">
+ <title>layout</title>
+ <tgroup cols="4">
+ <tbody>
+ <row>
+ <entry id="grammar.layout">&layout;</entry>
+ <entry>::=</entry>
+ <entry>&layout; <emphasis role="bold">\sub</emphasis> &layout;</entry>
+ <entry>Subscript</entry>
+ </row>
+ <row>
+ <entry></entry>
+ <entry>|</entry>
+ <entry>&layout; <emphasis role="bold">\sup</emphasis> &layout;</entry>
+ <entry>Superscript</entry>
+ </row>
+ <row>
+ <entry></entry>
+ <entry>|</entry>
+ <entry>&layout; <emphasis role="bold">\below</emphasis> &layout;</entry>
+ <entry></entry>
+ </row>
+ <row>
+ <entry></entry>
+ <entry>|</entry>
+ <entry>&layout; <emphasis role="bold">\above</emphasis> &layout;</entry>
+ <entry></entry>
+ </row>
+ <row>
+ <entry></entry>
+ <entry>|</entry>
+ <entry>&layout; <emphasis role="bold">\over</emphasis> &layout;</entry>
+ <entry></entry>
+ </row>
+ <row>
+ <entry></entry>
+ <entry>|</entry>
+ <entry>&layout; <emphasis role="bold">\atop</emphasis> &layout;</entry>
+ <entry></entry>
+ </row>
+ <row>
+ <entry></entry>
+ <entry>|</entry>
+ <entry><emphasis role="bold">\frac</emphasis> &layout; &layout;</entry>
+ <entry>Fraction</entry>
+ </row>
+ <row>
+ <entry></entry>
+ <entry>|</entry>
+ <entry><emphasis role="bold">\sqrt</emphasis> &layout;</entry>
+ <entry>Square root</entry>
+ </row>
+ <row>
+ <entry></entry>
+ <entry>|</entry>
+ <entry><emphasis role="bold">\root</emphasis> &layout; <emphasis role="bold">\of</emphasis> &layout;</entry>
+ <entry>Generalized root</entry>
+ </row>
+ <row>
+ <entry></entry>
+ <entry>|</entry>
+ <entry><emphasis role="bold">hbox</emphasis> <emphasis role="bold">(</emphasis> &layout; [&layout;]… <emphasis role="bold">)</emphasis></entry>
+ <entry>Horizontal box</entry>
+ </row>
+ <row>
+ <entry></entry>
+ <entry>|</entry>
+ <entry><emphasis role="bold">vbox</emphasis> <emphasis role="bold">(</emphasis> &layout; [&layout;]… <emphasis role="bold">)</emphasis></entry>
+ <entry>Vertical box</entry>
+ </row>
+ <row>
+ <entry></entry>
+ <entry>|</entry>
+ <entry><emphasis role="bold">hvbox</emphasis> <emphasis role="bold">(</emphasis> &layout; [&layout;]… <emphasis role="bold">)</emphasis></entry>
+ <entry>Horizontal and vertical box</entry>
+ </row>
+ <row>
+ <entry></entry>
+ <entry>|</entry>
+ <entry><emphasis role="bold">hovbox</emphasis> <emphasis role="bold">(</emphasis> &layout; [&layout;]… <emphasis role="bold">)</emphasis></entry>
+ <entry>Horizontal or vertical box</entry>
+ </row>
+ <row>
+ <entry></entry>
+ <entry>|</entry>
+ <entry><emphasis role="bold">break</emphasis></entry>
+ <entry>Breakable space</entry>
+ </row>
+ <row>
+ <entry></entry>
+ <entry>|</entry>
+ <entry><emphasis role="bold">(</emphasis> &layout; [&layout;]… <emphasis role="bold">)</emphasis></entry>
+ <entry>Group</entry>
+ </row>
+ <row>
+ <entry></entry>
+ <entry>|</entry>
+ <entry>&id;</entry>
+ <entry>Placeholder for a term with no explicit precedence</entry>
+ </row>
+ <row>
+ <entry></entry>
+ <entry>|</entry>
+ <entry><emphasis role="bold">term</emphasis> &nat; &id;</entry>
+ <entry>Placeholder for a term with explicit expected precedence</entry>
+ </row>
+ <row>
+ <entry></entry>
+ <entry>|</entry>
+ <entry><emphasis role="bold">number</emphasis> &id;</entry>
+ <entry>Placeholder for a natural number</entry>
+ </row>
+ <row>
+ <entry></entry>
+ <entry>|</entry>
+ <entry><emphasis role="bold">ident</emphasis> &id;</entry>
+ <entry>Placeholder for an identifier</entry>
+ </row>
+ <row>
+ <entry></entry>
+ <entry>|</entry>
+ <entry>&literal;</entry>
+ <entry>Literal</entry>
+ </row>
+ <row>
+ <entry></entry>
+ <entry>|</entry>
+ <entry><emphasis role="bold">opt</emphasis> &layout;</entry>
+ <entry>Optional layout (it can be omitted for parsing)</entry>
+ </row>
+ <row>
+ <entry></entry>
+ <entry>|</entry>
+ <entry><emphasis role="bold">list0</emphasis> &layout;
+ [<emphasis role="bold">sep</emphasis> &literal;]</entry>
+ <entry>List of layouts separated by <command>sep</command> (default:
+ any blank)</entry>
+ </row>
+ <row>
+ <entry></entry>
+ <entry>|</entry>
+ <entry><emphasis role="bold">list1</emphasis> &layout;
+ [<emphasis role="bold">sep</emphasis> &literal;]</entry>
+ <entry>Non empty list of layouts separated by <command>sep</command>
+ (default: any blank)</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+
+ <table frame="topbot" rowsep="0" colsep="0" role="grammar">
+ <title>literal</title>
+ <tgroup cols="4">
+ <tbody>
+ <row>
+ <entry id="grammar.literal">&literal;</entry>
+ <entry>::=</entry>
+ <entry>&symbol;</entry>
+ <entry>Unicode symbol</entry>
+ </row>
+ <row>
+ <entry></entry>
+ <entry>|</entry>
+ <entry>&nat;</entry>
+ <entry>Natural number (a constant)</entry>
+ </row>
+ <row>
+ <entry></entry>
+ <entry>|</entry>
+ <entry><emphasis role="bold">'</emphasis>&id;<emphasis role="bold">'</emphasis></entry>
+ <entry>New keyword for the lexer</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
</listitem>
</varlistentry>