I would like to put a label on a short circuit element.

I have tried something like this:

     (2,2) to [short=$L = \lambda/4$, *-*] (5.5,2)
     (2,0) to [short, *-*] (5.5,0);

but nothing happens.

How can I do that?

Thank you.


1 Answer 1


You should use the notation l={<label>}:


     (2,2) to [short,l=${L = \lambda/4}$, *-*] (5.5,2)
     (2,0) to [short, *-*] (5.5,0);

The result:

enter image description here

The reason behind which the label needs to be grouped in this case can be found in Use math equation as bchart label.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.