| 1 |
<?php |
| 2 |
|
| 3 |
namespace MediaWiki\Extension\Math\WikiTexVC\MMLnodes; |
| 4 |
|
| 5 |
use MediaWiki\Extension\Math\WikiTexVC\MMLmappings\TexConstants\TexClass; |
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
class MMLmtable extends MMLbase { |
| 14 |
|
| 15 |
|
| 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 |
} |