[NTG-context] circuitikz meters
martin.althoff at yahoo.com
Tue Oct 1 19:42:45 CEST 2019
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.
> \let\textbf\bold % <---
> \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);
> Cheers, Henri
More information about the ntg-context