ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: dalyoung <haksan@me.com>
To: ntg-context@ntg.nl
Subject: Re: about \startformula\startalign error
Date: Mon, 23 Jul 2012 07:21:38 +0900	[thread overview]
Message-ID: <8114F18A-AD46-42BF-AE96-5435E9957659@me.com> (raw)
In-Reply-To: <mailman.91.1342972474.2216.ntg-context@ntg.nl>

Dear Aditya,


> \startformula must occur inside a vbox. So, use a matrix environment as you are doing, or wrap the formula inside a \framed[align=normal].
> 

Thank you for your solution.

\framed[frame=off,align=normal]{\startformula\startalign ... \stopalign\stopformula}

is working.

I have two more questions.

1. In the output of the following code, 'x' in the first column is vertically centered, but matrix in the second column is not(located at top). What option can solve this?

\starttable[|c|c|w4cm|w4cm|]
\HL
\NC A \VL B \VL C \VL D \NC\SR
\HL
\NC $x$ \VL \startmatrix
\NC x' = \NC \NR
\NC y' = \NC \NR
\stopmatrix \VL \VL \NC\SR
\HL
\stoptable


2. In the output of the following code, the matrix in the second column is vertically centered, but 'x' in the first column is located at the bottom.

\starttext
\starttable[|c|c|w4cm|w4cm|]
\HL
\NC A \VL B \VL C \VL D \NC\SR
\HL
\NC $y$ \VL {\framed[frame=off, align=normal]{\startformula\startalign
\NC x' = \NC \NR
\NC y' = \NC \NR
\stopalign\stopformula}} \VL \VL \NC\LR
\HL
\stoptable
\stoptext

Both of them are good for compiling, but need a slight touch.

Would you please tell me how to set all columns vertical centered?

Best regards,

Dalyoung
___________________________________________________________________________________
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:[~2012-07-22 22:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.91.1342972474.2216.ntg-context@ntg.nl>
2012-07-22 16:49 ` Bibliography sectioned Robert Blackstone
2012-07-22 22:21 ` dalyoung [this message]
2012-07-23  1:30   ` about \startformula\startalign error Aditya Mahajan
     [not found] <mailman.103.1343035435.2216.ntg-context@ntg.nl>
2012-07-23 22:55 ` dalyoung
2012-07-22 12:21 dalyoung
2012-07-22 13:59 ` Aditya Mahajan

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=8114F18A-AD46-42BF-AE96-5435E9957659@me.com \
    --to=haksan@me.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).