Units for volts and Ohms
Hi, As I was testing circuitikz, I realized that the following don't work: \unit{1V} \unit{100 kΩ} In phys-dim.lmt, we need to change line 467: v = "volt", to V = "volt", and perhaps add (not sure if lua allows utf variable names) Ω = "ohm", Aditya
On 5/2/2023 8:09 AM, Aditya Mahajan via ntg-context wrote:
Hi,
As I was testing circuitikz, I realized that the following don't work:
\unit{1V} \unit{100 kΩ}
In phys-dim.lmt, we need to change line 467:
v = "volt",
to
V = "volt",
and perhaps add (not sure if lua allows utf variable names)
Ω = "ohm", Ha, that's easy to test, right? So I won't answer this one.
(instead you can ["Ω"] = "ohm") Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
participants (2)
-
Aditya Mahajan
-
Hans Hagen