ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* delimiter bigger then \Biggr
@ 2007-01-24 13:22 Jano Kula
  2007-01-24 14:21 ` Wolfgang Schuster
  2007-01-25  5:24 ` Aditya Mahajan
  0 siblings, 2 replies; 4+ messages in thread
From: Jano Kula @ 2007-01-24 13:22 UTC (permalink / raw)
  To: ntg-context

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

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

* Re: delimiter bigger then \Biggr
  2007-01-24 13:22 delimiter bigger then \Biggr Jano Kula
@ 2007-01-24 14:21 ` Wolfgang Schuster
  2007-01-24 19:49   ` Jano Kula
  2007-01-25  5:24 ` Aditya Mahajan
  1 sibling, 1 reply; 4+ messages in thread
From: Wolfgang Schuster @ 2007-01-24 14:21 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

2007/1/24, Jano Kula <jano.kula@tiscali.cz>:
>
> 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

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

[-- Attachment #2: Type: text/plain, Size: 139 bytes --]

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

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

* Re: delimiter bigger then \Biggr
  2007-01-24 14:21 ` Wolfgang Schuster
@ 2007-01-24 19:49   ` Jano Kula
  0 siblings, 0 replies; 4+ messages in thread
From: Jano Kula @ 2007-01-24 19:49 UTC (permalink / raw)
  To: ntg-context

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

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

* Re: delimiter bigger then \Biggr
  2007-01-24 13:22 delimiter bigger then \Biggr Jano Kula
  2007-01-24 14:21 ` Wolfgang Schuster
@ 2007-01-25  5:24 ` Aditya Mahajan
  1 sibling, 0 replies; 4+ messages in thread
From: Aditya Mahajan @ 2007-01-25  5:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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%
   {{\hbox{$\left#2\vbox\!!to#1\bodyfontsize{}\right.\n@space$}}}

\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

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

end of thread, other threads:[~2007-01-25  5:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-24 13:22 delimiter bigger then \Biggr Jano Kula
2007-01-24 14:21 ` Wolfgang Schuster
2007-01-24 19:49   ` Jano Kula
2007-01-25  5:24 ` Aditya Mahajan

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