Thanks for that Henri. I didn't expect a simple thing like that. As I had some 
similar
"glitches" before, I'll have a look through the module.

All the best, Martin

On Tue, 2019-10-01 at 14:03 +1300, Henri Menke wrote:
> Circuitikz uses \textbf inside, which is a LaTeX macro.  Unfortunately, this 
> is
> hardcoded within the ammeter and voltmeter nodes, so you can't easily change
> it.  Instead you can simply provide a macro that does the correct thing.
> 
> \usemodule[circuitikz]
> \let\textbf\bold % <---
> \starttext
> \starttikzpicture
> \draw (0,0)to[ammeter, t=A, i=$i$] ++(3,0);
> \draw (0,4) to[rmeter, t=V, v>=$v$] ++(3,0) ;
> \draw (0,2) to[voltmeter, l=$U$] (++3,2);
> \stoptikzpicture
> \stoptext
> 
> Cheers, Henri
> 

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to