ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* formula legend
@ 2006-06-26  9:54 Jörg Hagmann
  2006-06-26 10:51 ` Taco Hoekwater
  0 siblings, 1 reply; 4+ messages in thread
From: Jörg Hagmann @ 2006-06-26  9:54 UTC (permalink / raw)


Hi all,

I am using formulas and legends as described in the manual and  
encountered the 2 following (minor) problems (see example at the end  
of the message):

1. Legends: when using the units module (e.g. \Joule), the alignement  
is not the same as when using normal characters (in the example: the  
number 8314 is more to the left than the J of \Joule etc.. Replacing  
\Joule by J aligns it with the number below. This also occurs when  
running the example live on context-garden. Adding \null in front of   
8314 doesn't help (why not?).

2. The RT of the equation is not slanted as are the other variables  
-- on my two setups (on contextgarden it is). Is this a version  
problem? (If it is, I don't want to upgrade because I'm sure I'll  
mess things up -- as I said, it's no big deal).

Example:

\enableregime [il1]
\mainlanguage [de]

\usemodule[greek]
\usemodule[units]

\starttext
\placeformula[formula:en_2]
\startformula
\Delta G = \Delta G\Degrees ' + RT\ln\frac{[C] \Times [D]}{[A] \Times  
[B]}
\stopformula

\startlegend
\leg G\Degrees ' \\ Standard Gibbs' freie Energie \\ \Joule \Per \Mol \\
\leg R \\ Gaskonstante \\ 8314 \Joule \Times \ILinear\Kelvin \Times  
\ILinear\Mol \\
\leg [A], [B], [C], [D] \\ Konzentrationen von A etc. \\ \Mol \\
\stoplegend
\stoptext

Thanks and cheers, Jörg

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

* Re: formula legend
  2006-06-26  9:54 formula legend Jörg Hagmann
@ 2006-06-26 10:51 ` Taco Hoekwater
  2006-06-26 16:04   ` Aditya Mahajan
  0 siblings, 1 reply; 4+ messages in thread
From: Taco Hoekwater @ 2006-06-26 10:51 UTC (permalink / raw)


Jörg Hagmann wrote:
> Hi all,
> 
> I am using formulas and legends as described in the manual and  
> encountered the 2 following (minor) problems (see example at the end  
> of the message):
> 
> 1. Legends: when using the units module (e.g. \Joule), the alignement  
> is not the same as when using normal characters (in the example: the  
> number 8314 is more to the left than the J of \Joule etc.. Replacing  
> \Joule by J aligns it with the number below. This also occurs when  
> running the example live on context-garden. Adding \null in front of   
> 8314 doesn't help (why not?).

Start with \Unit \Joule.
 From the Wiki page (by Aditya):

    Units act upon signals that they insert in the text, in case no
    quantity is given you need to start the unit sequence using \Unit


> 2. The RT of the equation is not slanted as are the other variables  
> -- on my two setups (on contextgarden it is). Is this a version  

They are slanted in my setup (beta 2006.06.23) and they were also
slanted in 2006.06.07.

Cheers, Taco

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

* Re: formula legend
  2006-06-26 10:51 ` Taco Hoekwater
@ 2006-06-26 16:04   ` Aditya Mahajan
  2006-06-29 16:01     ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Aditya Mahajan @ 2006-06-26 16:04 UTC (permalink / raw)


On Mon, 26 Jun 2006, Taco Hoekwater wrote:

> Jörg Hagmann wrote:
>> Hi all,
>>
>> I am using formulas and legends as described in the manual and
>> encountered the 2 following (minor) problems (see example at the end
>> of the message):
>>
>> 1. Legends: when using the units module (e.g. \Joule), the alignement
>> is not the same as when using normal characters (in the example: the
>> number 8314 is more to the left than the J of \Joule etc.. Replacing
>> \Joule by J aligns it with the number below. This also occurs when
>> running the example live on context-garden. Adding \null in front of
>> 8314 doesn't help (why not?).
>
> Start with \Unit \Joule.
> From the Wiki page (by Aditya):

This was copy pasted from an email from Hans on the ML :)

>
>    Units act upon signals that they insert in the text, in case no
>    quantity is given you need to start the unit sequence using \Unit

>> 2. The RT of the equation is not slanted as are the other variables
>> -- on my two setups (on contextgarden it is). Is this a version
>
> They are slanted in my setup (beta 2006.06.23) and they were also
> slanted in 2006.06.07.

They are also slanted here.

Hans, there is a typo in m-units.

DC is an acronym for Direct Current, so

\setuplabeltext
   [\s!en]
   [u:vac=alternating current,
    u:vdc=different current]

should be

   u:vdc=direct current

Aditya

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

* Re: formula legend
  2006-06-26 16:04   ` Aditya Mahajan
@ 2006-06-29 16:01     ` Hans Hagen
  0 siblings, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2006-06-29 16:01 UTC (permalink / raw)


Aditya Mahajan wrote:
>
>    u:vdc=direct current
>   
ok, fixed

Hans 

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

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

end of thread, other threads:[~2006-06-29 16:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-26  9:54 formula legend Jörg Hagmann
2006-06-26 10:51 ` Taco Hoekwater
2006-06-26 16:04   ` Aditya Mahajan
2006-06-29 16:01     ` Hans Hagen

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