ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Otared Kavian via ntg-context <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Otared Kavian <otared@gmail.com>
Subject: Bug in maths environment: thematrix
Date: Thu, 9 Mar 2023 14:45:08 +0100	[thread overview]
Message-ID: <399C9361-6D66-4A12-9D0F-4C5B96439202@gmail.com> (raw)


Hi Hans,

I noticed that in some situations the command \thematrix does not show all its arguments correctly: some parts are omitted in the typeset formula. In some occasions adding some groupings solves the issue, but not always. I noticed this bug two weeks ago, but could not produce a minimal example until now…

Please see below, in particular the output for the matrices M_1, M_2 and M_3…

Best regards: Otared

% begin bug-thematrix.tex
\starttext
\startformula
M_{1}(t)
:= \thematrix{{\rm e}^s ; {\rm e}^t}, \qquad
B_{1}(t) := \thematrix{1 , {\rm e}^t},
\stopformula

\startformula
M_{2}(t)
:= \thematrix{{{\rm e}^s} , {{\rm e}^t}}, \qquad
B_{2}(t) := \thematrix{0 ; {{\rm e}^t}},
\stopformula


\startformula
M_{3}(t)
= \thematrix{{\rm e}^s, {\rm e}^t ; 0 , {\rm e}^t}.
\stopformula


\startformula
M_{4}(t)
= \thematrix{1, {{\rm e}^t} + 1 ; 0 , {{\rm e}^t}}.
\stopformula

\stoptext
% end bug-thematrix.tex
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

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

             reply	other threads:[~2023-03-09 13:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-09 13:45 Otared Kavian via ntg-context [this message]
2023-03-12 17:04 ` Hans Hagen via ntg-context
2023-03-12 17:20   ` Otared Kavian via ntg-context

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=399C9361-6D66-4A12-9D0F-4C5B96439202@gmail.com \
    --to=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).