1 Oct
2019
1 Oct
'19
5:42 p.m.
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