ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Vyatcheslav Yatskovsky <yatskovsky@gmail.com>
To: ntg-context@ntg.nl
Subject: Drawing vertical and horizontal lines inside a matrix
Date: Sun, 15 Nov 2009 21:44:21 +0200	[thread overview]
Message-ID: <4B005A15.1070605@gmail.com> (raw)
In-Reply-To: <mailman.446.1258312663.22155.ntg-context@ntg.nl>

[-- Attachment #1: Type: text/plain, Size: 475 bytes --]

Hello,

Can I draw vertical and horizontal lines inside a matrix?

I get ugly result by underlining and "sidelining" the elements, but what 
I neeed is to underline the whole row and draw a line next to the whole 
column.

\startformula T = \left[ {\matrix{

a & b & {c |} & p \cr

d & e & {f |} & q \cr

{\underline h } & {\underline i } & {\underline j |} & r \cr

l & m & {n |} & s \cr

} } \right].\stopformula


The attached picture shows how it looks now.

Vyatcheslav

[-- Attachment #2: 2009-11-15_213714.png --]
[-- Type: image/png, Size: 6755 bytes --]

[-- Attachment #3: Type: text/plain, Size: 486 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
___________________________________________________________________________________

       reply	other threads:[~2009-11-15 19:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.446.1258312663.22155.ntg-context@ntg.nl>
2009-11-15 19:44 ` Vyatcheslav Yatskovsky [this message]
     [not found]   ` <6faad9f01001071211w163c5deal62bc1849cf43dbd4@mail.gmail.com>
     [not found]     ` <4B464223.5030802@gmail.com>
     [not found]       ` <6faad9f01001071256g4857c76fxb55c3e03011f9a10@mail.gmail.com>
2010-01-08  0:18         ` TeX Gyre and (no) Cyrillic Vyatcheslav Yatskovsky
2010-01-08  3:40           ` Vladimir Lomov
2010-01-08 10:21             ` Wolfgang Schuster
2009-11-15 20:14 ` \setuphead and n*serried Vyatcheslav Yatskovsky

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=4B005A15.1070605@gmail.com \
    --to=yatskovsky@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).