-
Notifications
You must be signed in to change notification settings - Fork 70
Closed
Labels
Description
Describe the bug
The automatically generated voltage label of an open circuit voltage arrow can overlap with the arrow, see
To Reproduce
\documentclass{article}
\usepackage[european, smartlabels]{circuitikz}
\begin{document}
\begin{circuitikz}[]
\draw (0,2) to [open, o-o, voltage = straight] ++(0,-2)
to ++(-4,0)
to [vsource, v<=$u_\mathrm{in}(t)$, i=$i_\mathrm{in}(t)$] ++(0,2)
to [variable european resistor] ++(4,0) ;
\draw (0,2) to [open, v = $ u_\mathrm{in}(t)$, voltage = straight] (0,0);
\end{circuitikz}
\end{document}
Operating system, LaTeX distribution
Win 11 pro, MikTeX-pdfTeX 4.19
Expected behavior
Label is properly left or right aligned without overlapping - compare voltage source on the left hand side of the above screenshot, where the behavior works as expected