Debian Codegraph @

extensions/Math/src/WikiTexVC/MMLnodes/MMLmtable.php

raw symbols SCIP
1 <?php
2
3 namespace MediaWiki\Extension\Math\WikiTexVC\MMLnodes;
4
5 use MediaWiki\Extension\Math\WikiTexVC\MMLmappings\TexConstants\TexClass;
6
7 /**
8 * Presentation MathML 3 Element
9 * name: "mtable"
10 * description: "Table or Matrix"
11 * category: "Tables and Matrices"
12 */
13 class MMLmtable extends MMLbase {
14
15 /** defaults to mtable args as generated from MathJax for align(ed) environment
16 */
17 public function __construct(
18 string $texclass = TexClass::ORD,
19 array $attributes = [
20 'columnalign' => 'right left right left right left right left right left right left',
21 'columnspacing' => '0em 2em 0em 2em 0em 2em 0em 2em 0em 2em 0em',
22 'displaystyle' => 'true',
23 'rowspacing' => '3pt'
24 ] ) {
25 parent::__construct( "mtable", $texclass, $attributes );
26 }
27 }