ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* underbrace under matrix
@ 2022-08-05  0:00 Jethro Djan via ntg-context
  2022-08-05  5:03 ` Mikael Sundqvist via ntg-context
  0 siblings, 1 reply; 5+ messages in thread
From: Jethro Djan via ntg-context @ 2022-08-05  0:00 UTC (permalink / raw)
  To: ntg-context; +Cc: Jethro Djan

Hello,

I want to get underbraces under matrices in a math alignment environment. I’ve reproduced my problem here:

 \definemathmatrix                                                                 
   [pmatrix]                                                                       
   [left={\left(\,},right={\,\right)}]           
                                  
 \starttext                                                                                                                                                           
 \placeformula[-]\startformula\startmathalignment                                  
   \NC\                                                                            
   A \NC=\underbrace{                                                              
   \startpmatrix                                                                   
     \NC 5\NC 5\NR                                                                 
     \NC -1\NC 7\NR                                                                
   \stoppmatrix}\NR                                                                
   \NC\NC=\underbrace{                                                             
   \startpmatrix                                                                   
     \NC 2\NC 1\NR                                                                 
     \NC 4\NC 2\NR                                                                 
  \stoppmatrix}\NR                                                                
 \stopmathalignment\stopformula                                                                                                                                     
  \stoptext      

How can I achieve this?

Jethro
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-08-05 15:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-05  0:00 underbrace under matrix Jethro Djan via ntg-context
2022-08-05  5:03 ` Mikael Sundqvist via ntg-context
2022-08-05 15:12   ` Jethro Djan via ntg-context
2022-08-05 15:27     ` Hans Hagen via ntg-context
2022-08-05 15:35       ` Jethro Djan via ntg-context

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).