![](https://secure.gravatar.com/avatar/b79687264c3e06cba13b54d05b12a9f5.jpg?s=120&d=mm&r=g)
Am 16.10.2013 um 21:21 schrieb Romain Diss
Hi,
Le mercredi 16 octobre 2013 14:47:11 Marco Patzer a écrit :
On 2013–10–16 Romain Diss wrote:
I would like to have, for exemple: \unit{50 milli volt per division} to give: 50 mV/div.
\registerunit [division=div] Thank you. It was in fact in a comment in 'phys-dim.mkiv' but I didn't saw it.
This lead to another question linked to these comments in 'phys-dim.mkiv'…
Technically, what's the difference between: \registerunit[unit][division=div]
When you use your new unit "div” is printed because there is no label entry and context prints only the text as fallback.
and \registerunit[unit][division=division] \setupunittext[division=div]
Context looks for language dependent value of “division” and prints the value from the unittext entry, with this method you can also set different texts for different languages. Wolfgang