ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* formula label
@ 2008-12-04 11:46 Steffen Wolfrum
  2008-12-04 13:28 ` Wolfgang Schuster
  0 siblings, 1 reply; 11+ messages in thread
From: Steffen Wolfrum @ 2008-12-04 11:46 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

this code
\setupformulas[location=left]
\placeformula \startformula
K = V + W(V) × S (Gleichung 1)
\stopformula

gives, as expected:
(1.1) K = V + W(V ) × S

But I need the following label ("Gleichung" means "formula"):
(Gleichung 1) K = V + W(V ) × S



How can this be done (in Mk II) ?


Thanks, Steffen.
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: formula label
  2008-12-04 11:46 formula label Steffen Wolfrum
@ 2008-12-04 13:28 ` Wolfgang Schuster
  2008-12-04 13:39   ` Steffen Wolfrum
  0 siblings, 1 reply; 11+ messages in thread
From: Wolfgang Schuster @ 2008-12-04 13:28 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 04.12.2008 um 12:46 schrieb Steffen Wolfrum:

> Hi,
>
> this code
> \setupformulas[location=left]
> \placeformula \startformula
> K = V + W(V) × S (Gleichung 1)
> \stopformula
>
> gives, as expected:
> (1.1) K = V + W(V ) × S
>
> But I need the following label ("Gleichung" means "formula"):
> (Gleichung 1) K = V + W(V ) × S
>
> How can this be done (in Mk II) ?

In the same way as you do it in MkIV :)

\setupformulas[way=bytext]
\setuplabeltext[de][formula=Gleichung~]

Wolfgang

___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: formula label
  2008-12-04 13:28 ` Wolfgang Schuster
@ 2008-12-04 13:39   ` Steffen Wolfrum
  2008-12-04 14:09     ` Wolfgang Schuster
                       ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Steffen Wolfrum @ 2008-12-04 13:39 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 04.12.2008 um 14:28 schrieb Wolfgang Schuster:

>
> Am 04.12.2008 um 12:46 schrieb Steffen Wolfrum:
>
>> Hi,
>>
>> this code
>> \setupformulas[location=left]
>> \placeformula \startformula
>> K = V + W(V) × S (Gleichung 1)
>> \stopformula
>>
>> gives, as expected:
>> (1.1) K = V + W(V ) × S
>>
>> But I need the following label ("Gleichung" means "formula"):
>> (Gleichung 1) K = V + W(V ) × S
>>
>> How can this be done (in Mk II) ?
>
> In the same way as you do it in MkIV :)
>
> \setupformulas[way=bytext]
> \setuplabeltext[de][formula=Gleichung~]


Two remarks:

1) In this case the equation is not centered to textwidth anymore. It  
is centered to the space that's left.

2) And what about if the author wants to add a footnote to this  
respective formula?

An example could look like the following fake:
\noindent(Gleichung 2)\note[339]\hfill{$1 =  -W'(V^*) × S$}\hfill 
\hphantom{(Gleichung 2)\note[339]}


Steffen
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: formula label
  2008-12-04 13:39   ` Steffen Wolfrum
@ 2008-12-04 14:09     ` Wolfgang Schuster
  2008-12-04 14:14       ` Steffen Wolfrum
  2008-12-04 14:28     ` Hans Hagen
  2008-12-04 14:30     ` Hans Hagen
  2 siblings, 1 reply; 11+ messages in thread
From: Wolfgang Schuster @ 2008-12-04 14:09 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 04.12.2008 um 14:39 schrieb Steffen Wolfrum:

>
> Am 04.12.2008 um 14:28 schrieb Wolfgang Schuster:
>
>>
>> Am 04.12.2008 um 12:46 schrieb Steffen Wolfrum:
>>
>>> Hi,
>>>
>>> this code
>>> \setupformulas[location=left]
>>> \placeformula \startformula
>>> K = V + W(V) × S (Gleichung 1)
>>> \stopformula
>>>
>>> gives, as expected:
>>> (1.1) K = V + W(V ) × S
>>>
>>> But I need the following label ("Gleichung" means "formula"):
>>> (Gleichung 1) K = V + W(V ) × S
>>>
>>> How can this be done (in Mk II) ?
>>
>> In the same way as you do it in MkIV :)
>>
>> \setupformulas[way=bytext]
>> \setuplabeltext[de][formula=Gleichung~]
>
>
> Two remarks:
>
> 1) In this case the equation is not centered to textwidth anymore. It
> is centered to the space that's left.

\define[1]\FormulaNumber
   {\rlap{(Gleichung~#1)}}

\setupformulas
   [left=,
    right=,
    numbercommand=\FormulaNumber,
    location=left]

> 2) And what about if the author wants to add a footnote to this
> respective formula?
>
> An example could look like the following fake:
> \noindent(Gleichung 2)\note[339]\hfill{$1 =  -W'(V^*) × S$}\hfill
> \hphantom{(Gleichung 2)\note[339]}

Duno, I'm unable to use footnotes in math mode.

\starttext

foo\footnote{foo}

$bar\footnote{bar}$

\stoptext

Wolfgang

___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: formula label
  2008-12-04 14:09     ` Wolfgang Schuster
@ 2008-12-04 14:14       ` Steffen Wolfrum
  0 siblings, 0 replies; 11+ messages in thread
From: Steffen Wolfrum @ 2008-12-04 14:14 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 04.12.2008 um 15:09 schrieb Wolfgang Schuster:

>
> Am 04.12.2008 um 14:39 schrieb Steffen Wolfrum:
>
>>
>> Am 04.12.2008 um 14:28 schrieb Wolfgang Schuster:
>>
>>>
>>> Am 04.12.2008 um 12:46 schrieb Steffen Wolfrum:
>>>
>>>> Hi,
>>>>
>>>> this code
>>>> \setupformulas[location=left]
>>>> \placeformula \startformula
>>>> K = V + W(V) × S (Gleichung 1)
>>>> \stopformula
>>>>
>>>> gives, as expected:
>>>> (1.1) K = V + W(V ) × S
>>>>
>>>> But I need the following label ("Gleichung" means "formula"):
>>>> (Gleichung 1) K = V + W(V ) × S
>>>>
>>>> How can this be done (in Mk II) ?
>>>
>>> In the same way as you do it in MkIV :)
>>>
>>> \setupformulas[way=bytext]
>>> \setuplabeltext[de][formula=Gleichung~]
>>
>>
>> Two remarks:
>>
>> 1) In this case the equation is not centered to textwidth anymore. It
>> is centered to the space that's left.
>
> \define[1]\FormulaNumber
>   {\rlap{(Gleichung~#1)}}
>
> \setupformulas
>   [left=,
>    right=,
>    numbercommand=\FormulaNumber,
>    location=left]
>
>> 2) And what about if the author wants to add a footnote to this
>> respective formula?
>>
>> An example could look like the following fake:
>> \noindent(Gleichung 2)\note[339]\hfill{$1 =  -W'(V^*) × S$}\hfill
>> \hphantom{(Gleichung 2)\note[339]}
>
> Duno, I'm unable to use footnotes in math mode.
>
> \starttext
>
> foo\footnote{foo}
>
> $bar\footnote{bar}$
>
> \stoptext
>
> Wolfgang


Me too. That's the problem ;o)

Steffen
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: formula label
  2008-12-04 13:39   ` Steffen Wolfrum
  2008-12-04 14:09     ` Wolfgang Schuster
@ 2008-12-04 14:28     ` Hans Hagen
  2008-12-04 15:28       ` Aditya Mahajan
  2008-12-04 14:30     ` Hans Hagen
  2 siblings, 1 reply; 11+ messages in thread
From: Hans Hagen @ 2008-12-04 14:28 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Steffen Wolfrum wrote:
> Am 04.12.2008 um 14:28 schrieb Wolfgang Schuster:
> 
>> Am 04.12.2008 um 12:46 schrieb Steffen Wolfrum:
>>
>>> Hi,
>>>
>>> this code
>>> \setupformulas[location=left]
>>> \placeformula \startformula
>>> K = V + W(V) × S (Gleichung 1)
>>> \stopformula
>>>
>>> gives, as expected:
>>> (1.1) K = V + W(V ) × S
>>>
>>> But I need the following label ("Gleichung" means "formula"):
>>> (Gleichung 1) K = V + W(V ) × S
>>>
>>> How can this be done (in Mk II) ?
>> In the same way as you do it in MkIV :)
>>
>> \setupformulas[way=bytext]
>> \setuplabeltext[de][formula=Gleichung~]
> 
> 
> Two remarks:
> 
> 1) In this case the equation is not centered to textwidth anymore. It  
> is centered to the space that's left.

indeed, because otherwise the label can run into the formula


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: formula label
  2008-12-04 13:39   ` Steffen Wolfrum
  2008-12-04 14:09     ` Wolfgang Schuster
  2008-12-04 14:28     ` Hans Hagen
@ 2008-12-04 14:30     ` Hans Hagen
  2008-12-04 14:50       ` Wolfgang Schuster
  2 siblings, 1 reply; 11+ messages in thread
From: Hans Hagen @ 2008-12-04 14:30 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Steffen Wolfrum wrote:
> Am 04.12.2008 um 14:28 schrieb Wolfgang Schuster:
> 
>> Am 04.12.2008 um 12:46 schrieb Steffen Wolfrum:
>>
>>> Hi,
>>>
>>> this code
>>> \setupformulas[location=left]
>>> \placeformula \startformula
>>> K = V + W(V) × S (Gleichung 1)
>>> \stopformula
>>>
>>> gives, as expected:
>>> (1.1) K = V + W(V ) × S
>>>
>>> But I need the following label ("Gleichung" means "formula"):
>>> (Gleichung 1) K = V + W(V ) × S
>>>
>>> How can this be done (in Mk II) ?
>> In the same way as you do it in MkIV :)
>>
>> \setupformulas[way=bytext]
>> \setuplabeltext[de][formula=Gleichung~]
> 
> 
> Two remarks:
> 
> 1) In this case the equation is not centered to textwidth anymore. It  
> is centered to the space that's left.
> 
> 2) And what about if the author wants to add a footnote to this  
> respective formula?
> 
> An example could look like the following fake:
> \noindent(Gleichung 2)\note[339]\hfill{$1 =  -W'(V^*) × S$}\hfill 
> \hphantom{(Gleichung 2)\note[339]}

maybe putting  \postponefootnotes in front of the formula helps (future 
mkiv versions might solve this in a better way; it has to do with the 
fact that one cannot use inserts too deeply nested in tex constructs




-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: formula label
  2008-12-04 14:30     ` Hans Hagen
@ 2008-12-04 14:50       ` Wolfgang Schuster
  2008-12-04 15:07         ` Steffen Wolfrum
  0 siblings, 1 reply; 11+ messages in thread
From: Wolfgang Schuster @ 2008-12-04 14:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 04.12.2008 um 15:30 schrieb Hans Hagen:

> Steffen Wolfrum wrote:
>> Am 04.12.2008 um 14:28 schrieb Wolfgang Schuster:
>>
>>> Am 04.12.2008 um 12:46 schrieb Steffen Wolfrum:
>>>
>>>> Hi,
>>>>
>>>> this code
>>>> \setupformulas[location=left]
>>>> \placeformula \startformula
>>>> K = V + W(V) × S (Gleichung 1)
>>>> \stopformula
>>>>
>>>> gives, as expected:
>>>> (1.1) K = V + W(V ) × S
>>>>
>>>> But I need the following label ("Gleichung" means "formula"):
>>>> (Gleichung 1) K = V + W(V ) × S
>>>>
>>>> How can this be done (in Mk II) ?
>>> In the same way as you do it in MkIV :)
>>>
>>> \setupformulas[way=bytext]
>>> \setuplabeltext[de][formula=Gleichung~]
>>
>>
>> Two remarks:
>>
>> 1) In this case the equation is not centered to textwidth anymore. It
>> is centered to the space that's left.
>>
>> 2) And what about if the author wants to add a footnote to this
>> respective formula?
>>
>> An example could look like the following fake:
>> \noindent(Gleichung 2)\note[339]\hfill{$1 =  -W'(V^*) × S$}\hfill
>> \hphantom{(Gleichung 2)\note[339]}
>
> maybe putting  \postponefootnotes in front of the formula helps  
> (future
> mkiv versions might solve this in a better way; it has to do with the
> fact that one cannot use inserts too deeply nested in tex constructs

This did solve it, here is new version for you, Steffen.

\setupformulas[way=bytext]

\let\theformulanote\relax

\define[1]\formulanote
   {\def\theformulanote{#1}}%

\def\placeformulanote
   {\doiftext\theformulanote{\postponefootnotes 
\footnote{\theformulanote}}}

\define[1]\FormulaNumber
   {\rlap{(Gleichung~#1)\placeformulanote}}

\setupformulas
   [left=,
    right=,
    numbercommand=\FormulaNumber,
    location=left]

\starttext

\chapter{dummy}

\placeformula
\startformula
\formulanote{one}
K = V + W(V) \times S
\stopformula

text\footnote{text}

\placeformula
\startformula
\formulanote{two}
K = V + W(V) \times S
\stopformula

\stoptext

Wolfgang

___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: formula label
  2008-12-04 14:50       ` Wolfgang Schuster
@ 2008-12-04 15:07         ` Steffen Wolfrum
  0 siblings, 0 replies; 11+ messages in thread
From: Steffen Wolfrum @ 2008-12-04 15:07 UTC (permalink / raw)
  To: mailing list for ConTeXt users

v
Am 04.12.2008 um 15:50 schrieb Wolfgang Schuster:

>
> Am 04.12.2008 um 15:30 schrieb Hans Hagen:
>
>> Steffen Wolfrum wrote:
>>> Am 04.12.2008 um 14:28 schrieb Wolfgang Schuster:
>>>
>>>> Am 04.12.2008 um 12:46 schrieb Steffen Wolfrum:
>>>>
>>>>> Hi,
>>>>>
>>>>> this code
>>>>> \setupformulas[location=left]
>>>>> \placeformula \startformula
>>>>> K = V + W(V) × S (Gleichung 1)
>>>>> \stopformula
>>>>>
>>>>> gives, as expected:
>>>>> (1.1) K = V + W(V ) × S
>>>>>
>>>>> But I need the following label ("Gleichung" means "formula"):
>>>>> (Gleichung 1) K = V + W(V ) × S
>>>>>
>>>>> How can this be done (in Mk II) ?
>>>> In the same way as you do it in MkIV :)
>>>>
>>>> \setupformulas[way=bytext]
>>>> \setuplabeltext[de][formula=Gleichung~]
>>>
>>>
>>> Two remarks:
>>>
>>> 1) In this case the equation is not centered to textwidth anymore.  
>>> It
>>> is centered to the space that's left.
>>>
>>> 2) And what about if the author wants to add a footnote to this
>>> respective formula?
>>>
>>> An example could look like the following fake:
>>> \noindent(Gleichung 2)\note[339]\hfill{$1 =  -W'(V^*) × S$}\hfill
>>> \hphantom{(Gleichung 2)\note[339]}
>>
>> maybe putting  \postponefootnotes in front of the formula helps
>> (future
>> mkiv versions might solve this in a better way; it has to do with the
>> fact that one cannot use inserts too deeply nested in tex constructs
>
> This did solve it, here is new version for you, Steffen.
>
> \setupformulas[way=bytext]
>
> \let\theformulanote\relax
>
> \define[1]\formulanote
>   {\def\theformulanote{#1}}%
>
> \def\placeformulanote
>   {\doiftext\theformulanote{\postponefootnotes
> \footnote{\theformulanote}}}
>
> \define[1]\FormulaNumber
>   {\rlap{(Gleichung~#1)\placeformulanote}}
>
> \setupformulas
>   [left=,
>    right=,
>    numbercommand=\FormulaNumber,
>    location=left]
>
> \starttext
>
> \chapter{dummy}
>
> \placeformula
> \startformula
> \formulanote{one}
> K = V + W(V) \times S
> \stopformula
>
> text\footnote{text}
>
> \placeformula
> \startformula
> \formulanote{two}
> K = V + W(V) \times S
> \stopformula
>
> \stoptext
>
> Wolfgang



Excellent!



Wolfgang / Hans thank you


Steffen
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: formula label
  2008-12-04 14:28     ` Hans Hagen
@ 2008-12-04 15:28       ` Aditya Mahajan
  2008-12-04 19:52         ` Rory Molinari
  0 siblings, 1 reply; 11+ messages in thread
From: Aditya Mahajan @ 2008-12-04 15:28 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1683 bytes --]

On Thu, 4 Dec 2008, Hans Hagen wrote:

> Steffen Wolfrum wrote:
>> Am 04.12.2008 um 14:28 schrieb Wolfgang Schuster:
>>
>>> Am 04.12.2008 um 12:46 schrieb Steffen Wolfrum:
>>>
>>>> Hi,
>>>>
>>>> this code
>>>> \setupformulas[location=left]
>>>> \placeformula \startformula
>>>> K = V + W(V) × S (Gleichung 1)
>>>> \stopformula
>>>>
>>>> gives, as expected:
>>>> (1.1) K = V + W(V ) × S
>>>>
>>>> But I need the following label ("Gleichung" means "formula"):
>>>> (Gleichung 1) K = V + W(V ) × S
>>>>
>>>> How can this be done (in Mk II) ?
>>> In the same way as you do it in MkIV :)
>>>
>>> \setupformulas[way=bytext]
>>> \setuplabeltext[de][formula=Gleichung~]
>>
>>
>> Two remarks:
>>
>> 1) In this case the equation is not centered to textwidth anymore. It
>> is centered to the space that's left.
>
> indeed, because otherwise the label can run into the formula

And I am not sure what is a good algorithm to place the label. One can 
measure the width of the formula content, the formula  label, and compare 
them with hsize. Then

if formula_width + 2*label_width < hsize
   place formula in center of hsize, place label on right
else if formula_width + label_width < hsize
   DONT_KNOW
else
   place formula in the center of hszie, place label one the next line
endif

I do not know what is the right thing to do in the second case. Should we 
place the label on the same line (with the formula content not centered) 
or should we place the label on the next line. The easiest thing may be to 
keep it configurable (labelalternative=tight|loose). At some stage we need 
to redo the display formula macros in MKIV.

Aditya

[-- Attachment #2: Type: text/plain, Size: 487 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: formula label
  2008-12-04 15:28       ` Aditya Mahajan
@ 2008-12-04 19:52         ` Rory Molinari
  0 siblings, 0 replies; 11+ messages in thread
From: Rory Molinari @ 2008-12-04 19:52 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hello,

Aditya Mahajan wrote:

> if formula_width + 2*label_width < hsize
>   place formula in center of hsize, place label on right
> else if formula_width + label_width < hsize
>   DONT_KNOW
> else
>   place formula in the center of hszie, place label one the next line
> endif
> 
> I do not know what is the right thing to do in the second case. Should 
> we place the label on the same line (with the formula content not 
> centered) or should we place the label on the next line. The easiest 
> thing may be to keep it configurable (labelalternative=tight|loose). At 
> some stage we need to redo the display formula macros in MKIV.

My immediate reaction is that there should be only two cases: the first 
one you identify (in which there is space for the label) and an "else" 
case in which the label gets pushed to the next line.  I find variations 
in how formulae are centered to be distracting (but that is just my 
preference).

Cheers,
Rory

> 
> Aditya
> 
> 
> ------------------------------------------------------------------------
> 
> ___________________________________________________________________________________
> 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  : https://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________

___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2008-12-04 19:52 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-04 11:46 formula label Steffen Wolfrum
2008-12-04 13:28 ` Wolfgang Schuster
2008-12-04 13:39   ` Steffen Wolfrum
2008-12-04 14:09     ` Wolfgang Schuster
2008-12-04 14:14       ` Steffen Wolfrum
2008-12-04 14:28     ` Hans Hagen
2008-12-04 15:28       ` Aditya Mahajan
2008-12-04 19:52         ` Rory Molinari
2008-12-04 14:30     ` Hans Hagen
2008-12-04 14:50       ` Wolfgang Schuster
2008-12-04 15:07         ` Steffen Wolfrum

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