Otared Kavian
13. November 2017 um 11:08


Hi Wolfgang,

Thanks for your help. In math-ali.mkiv there are the following lines:

\setupmathmatrix
[\c!distance=\emwidth,
\c!left=,
\c!right=,
\c!align=\v!middle]

Is it here where one has to change something? I confess that I am not at all familiar with the source code…

No, this is only the default setup for matrices. The alignment is done at the begin and end of the cell content (look at the commented commands below):

\unexpanded\def\math_matrix_start_cell
  {\dostarttagged\t!mathtablecell\empty
   \hss
  %\math_left_of_equalign
   \startimath
   \math_matrix_set_style
   \tabskip\zeropoint
   \everycr\emptytoks}

\unexpanded\def\math_matrix_stop_cell
  {\stopimath
  %\math_right_of_eqalign
   \hss
   \dostoptagged}

Wolfgang