[NTG-context] delimiter bigger then \Biggr

2007-01-24 Thread Jano Kula
Greetings!

How would you make right delimiter } bigger then $\Biggr\}$ to join 
several lines in table?

A AA -|
B BB  |
C CC  |- description
D DD  |
E EE -|

Is there a better solution (?) than

$\left.\blackrule[width=0pt,height=14mm]\right\}$



Here is this example used in natural table:

\starttext
\setupTABLE[frame=off]
\bTABLE[align={middle,lohi}]
\bTR
\bTD A \eTD
\bTD AA \eTD
\bTD[nr=5]$\left.\blackrule[width=0pt,height=14mm]\right\}$\eTD
\bTD[nr=5] description \eTD
\eTR
\bTR\bTD B \eTD\bTD BB   \eTD\eTR
\bTR\bTD C \eTD\bTD CC   \eTD\eTR
\bTR\bTD D \eTD\bTD DD   \eTD\eTR
\bTR\bTD E \eTD\bTD EE   \eTD\eTR
\eTABLE
\stoptext


Thanks.

Jano

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] delimiter bigger then \Biggr

2007-01-24 Thread Wolfgang Schuster

2007/1/24, Jano Kula [EMAIL PROTECTED]:


Greetings!

How would you make right delimiter } bigger then $\Biggr\}$ to join
several lines in table?

A AA -|
B BB  |
C CC  |- description
D DD  |
E EE -|

Is there a better solution (?) than

$\left.\blackrule[width=0pt,height=14mm]\right\}$



Here is this example used in natural table:

\starttext
\setupTABLE[frame=off]
\bTABLE[align={middle,lohi}]
\bTR
   \bTD A \eTD
   \bTD AA \eTD
   \bTD[nr=5]$\left.\blackrule[width=0pt,height=14mm]\right\}$\eTD
   \bTD[nr=5] description \eTD
\eTR
\bTR\bTD B \eTD\bTD BB   \eTD\eTR
\bTR\bTD C \eTD\bTD CC   \eTD\eTR
\bTR\bTD D \eTD\bTD DD   \eTD\eTR
\bTR\bTD E \eTD\bTD EE   \eTD\eTR
\eTABLE
\stoptext


Thanks.

Jano



Hi Jano,

you can misuse the mathmode.


\starttext

\startformula
\startmatrix[left=\left.,right=\right\},style=\rm]
\NC A \NC AA \NR
\NC B \NC BB \NR
\NC C \NC CC \NR
\NC D \NC DD \NR
\NC E \NC EE \NR
\stopmatrix \text{ description}
\stopformula

\stoptext



Wolfgang
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] delimiter bigger then \Biggr

2007-01-24 Thread Jano Kula
Thank you, Wolfgang.

Wolfgang Schuster wrote:

 Here is this example used in natural table:
 
 \starttext
 \setupTABLE[frame=off]
 \bTABLE[align={middle,lohi}]
 \bTR
\bTD A \eTD
\bTD AA \eTD
\bTD[nr=5]$\left.\blackrule[width=0pt,height=14mm]\right\}$\eTD
\bTD[nr=5] description \eTD
 \eTR
 \bTR\bTD B \eTD\bTD BB   \eTD\eTR
 \bTR\bTD C \eTD\bTD CC   \eTD\eTR
 \bTR\bTD D \eTD\bTD DD   \eTD\eTR
 \bTR\bTD E \eTD\bTD EE   \eTD\eTR
 \eTABLE
 \stoptext
  
 you can misuse the mathmode.

Hope not. This is only the part of the story -- minimal example. 
Delimiter should be the part of more complex table.

 \starttext
 
 \startformula
 \startmatrix[left=\left.,right=\right\},style=\rm]
 \NC A \NC AA \NR
 \NC B \NC BB \NR
 \NC C \NC CC \NR
 \NC D \NC DD \NR
 \NC E \NC EE \NR
 \stopmatrix \text{ description}
 \stopformula
 
 \stoptext

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] delimiter bigger then \Biggr

2007-01-24 Thread Aditya Mahajan
On Wed, 24 Jan 2007, Jano Kula wrote:

 Greetings!
 
 How would you make right delimiter } bigger then $\Biggr\}$ to join 
 several lines in table?
 
 A AA -|
 B BB  |
 C CC  |- description
 D DD  |
 E EE -|
 
 Is there a better solution (?) than
 
 $\left.\blackrule[width=0pt,height=14mm]\right\}$

No. In fact, this is how they are defined in core-mat.tex

\def\@@dobig#1#2%
   [EMAIL PROTECTED]

\def\big {\@@dobig{0.85}}
\def\Big {\@@dobig{1.15}}
\def\bigg{\@@dobig{1.45}}
\def\Bigg{\@@dobig{1.75}}


math-tex redefines \big etc, but it is just a cosmetic change.

\def\PLAINbig {\@@dobig{0.85}}
\def\PLAINBig {\@@dobig{1.15}}
\def\PLAINbigg{\@@dobig{1.45}}
\def\PLAINBigg{\@@dobig{1.75}}

and then

\definemathcommand [big]  {\PLAINbig}
\definemathcommand [Big]  {\PLAINBig}
\definemathcommand [bigg] {\PLAINbigg}
\definemathcommand [Bigg] {\PLAINBigg}

So perhaps all you can do is define something like

\definemathcommand [MYBIG] {\@@dobig{6}}
% Change 6 to something that gives a good visual effect.

or exploit the matrix environment as Wolfgang suggested.

Hans, can we get rid of the definition of \big etc from core-mat.tex? 
Are \big etc supposed to work in text mode also?

Aditya
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context