Open main menu


\definemathmatrix

Summary

The command \definemathmatrix is used to define the format of a matrix environment.

Settings

\definemathmatrix[...][...][...=...,...]
[...]name
[...]name
...=...,...inherits from \setupmathmatrix

Description

Examples

Example 1

  • \definemathmatrix
      [mymatrix]
      [left={\left[},
       right={\right]}]
    
    \startformula
      \startmymatrix
        \NC a_{11} \NC a_{12} \NC a_{13} \NR
        \NC a_{21} \NC a_{22} \NC a_{23} \NR
        \NC a_{31} \NC a_{32} \NC a_{33} \NR
      \stopmymatrix
    \stopformula
    

Example 2

  • \definemathmatrix[mymatrix]
      [matrix:brackets]
      [simplecommand=mymatrix]
    
    \startformula
      \startmymatrix
        \NC a_{11} \NC a_{12} \NC a_{13} \NR
        \NC a_{21} \NC a_{22} \NC a_{23} \NR
        \NC a_{31} \NC a_{32} \NC a_{33} \NR
      \stopmymatrix
    \stopformula
    

Notes

See also

Help from ConTeXt-Mailinglist/Forum