ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: Otared Kavian <otared@gmail.com>
Cc: mailing users <ntg-context@ntg.nl>
Subject: Re: Problem with math alignment
Date: Mon, 13 Nov 2017 11:25:50 +0100	[thread overview]
Message-ID: <5A09732E.9030608@gmail.com> (raw)
In-Reply-To: <CBAE2B33-9EE5-4A60-9FD6-19583B05B091@gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 856 bytes --]


> Otared Kavian <mailto:otared@gmail.com>
> 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

[-- Attachment #1.2: Type: text/html, Size: 1957 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  parent reply	other threads:[~2017-11-13 10:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-12 16:37 Otared Kavian
2017-11-12 16:58 ` Weber, Matthias
2017-11-12 20:57   ` Otared Kavian
2017-11-13  8:03 ` Wolfgang Schuster
     [not found]   ` <CBAE2B33-9EE5-4A60-9FD6-19583B05B091@gmail.com>
2017-11-13 10:25     ` Wolfgang Schuster [this message]
     [not found] <mailman.1204.1510504666.1988.ntg-context@ntg.nl>
2017-11-13  2:12 ` Jeong Dal
2017-11-13 10:19   ` Otared Kavian
     [not found] <mailman.1.1510570801.1118.ntg-context@ntg.nl>
2017-11-13 14:06 ` Jeong Dal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5A09732E.9030608@gmail.com \
    --to=schuster.wolfgang@gmail.com \
    --cc=ntg-context@ntg.nl \
    --cc=otared@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).