ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: TeX "matrix" command not working lately
Date: Sun, 10 Apr 2016 11:45:27 +0200	[thread overview]
Message-ID: <570A20B7.6010206@gmail.com> (raw)
In-Reply-To: <57099F77.9000000@gmail.com>


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

> L.S.-Soc&Gam <mailto:axteffekt@gmail.com>
> 10. April 2016 um 02:33
> Hi guys,
>
> i've already searched the mailing list for this but i still am having 
> a problem while trying to create a matrix.
> my code looks like this:
>
> \startformula
> S=\left(*\matrix**{*
>   \sigma_x *&* \tau_{xy} *&* \tau_{xz} *\cr*
>   \tau_{yx} *&* \sigma_y *&* \tau_{yz} *\cr*
>     \tau_{zx} *&* \tau_{zy} *&* \sigma_z *\cr*
> *}*\right)_{xyz}
> \stopformula
>
> But since a few days, there are only empty braces after compilation. 
> The funny thing is, i worked already. but i've updated context at 
> least once since (only 5 days ago, betas included) and since then 
> after compiling there are only empty braces. When i enter
>
> \startformula
> S=\left(
> 1234
> \right)_{xyz}
> \stopformula
>
> the 1234 shows fine between the braces. so it seems to have to do with 
> \matrix command in some way...
> i don't know any alternative way to create a matrix. any help would be 
> appreciated.
Your code works fine here but I suggest to use ConTeXt’s own matrix 
environment.

\starttext

\startformula
S =    \startmathmatrix[left=\left(,right=\right)]
     \NC \sigma_{x} \NC \tau_{xy}  \NC \tau_{xz}  \NR
     \NC \tau_{yx}  \NC \sigma_{y} \NC \tau_{yz}  \NR
     \NC \tau_{zx}  \NC \tau_{zy}  \NC \sigma_{z} \NR
     \stopmathmatrix_{xyz}
\stopformula

\stoptext

Wolfgang

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

[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  parent reply	other threads:[~2016-04-10  9:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-10  0:33 L.S.-Soc&Gam
2016-04-10  9:39 ` Pablo Rodriguez
2016-04-10  9:45   ` L.S.-Soc&Gam
2016-04-10 10:39     ` Pablo Rodriguez
2016-04-10 10:52       ` L.S.-Soc&Gam
2016-04-10  9:45 ` Wolfgang Schuster [this message]
2016-04-10 10:06   ` L.S.-Soc&Gam

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=570A20B7.6010206@gmail.com \
    --to=schuster.wolfgang@gmail.com \
    --cc=ntg-context@ntg.nl \
    /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).