You can use annotations as described in the TikZ/PGF manual in Section 29.2.5 Declaring and Using Annotations to add the horizontal line over the symbol:
Annotations are quite similar to info labels. The main difference is that they generally cause something to be drawn by default rather than some text to be added (although an annotation might also add some text).
Here is an example of resistor
and the fuse
that you want:

Notes:
- This is my first attempt with annotations, and I am not sure about the coordinates used in the
edge
operation below. As per the comment by @GonzaloMedina, I have tweaked the coordinates by (0,-0.5\pgflinewidth)
to adjust for the width of the rule. However, this still seems a bit of hack and feel that there should be a better way.
- The
transform shape
option is what makes the fuse
points along the path.
Code:
\documentclass{standalone}
\usepackage{tikz}
\usetikzlibrary{circuits.ee.IEC}
\tikzset{circuit declare annotation=
{HorizontalAnnotation}
{0pt}
{edge[to path={[-]
($(-0.5,-0.5\tikzcircuitssizeunit)+(0,-0.5\pgflinewidth)$)
-- ($( 0.5,-0.5\tikzcircuitssizeunit)+(0,-0.5\pgflinewidth)$)}] ()}
}
\tikzset{circuit declare symbol=fuse,
set fuse graphic={
draw,
circuit symbol size=width 4 height 1,
HorizontalAnnotation
},
transform shape}
\begin{document}
\begin{tikzpicture}[circuit ee IEC]
\draw (0,1.0) to [resistor] (3,1.0) node [right] {resistor};
\draw (0,0.5) to [fuse] (3,0.5) node [right] {fuse};
\draw (0,0.5) to [fuse] (0,-2) to [fuse] (3,0.5);
\end{tikzpicture}
\end{document}
IEC/before background
path...http://tex.stackexchange.com/questions/7438/ac-source-symbol-in-tikz-circuits-ee-iec-library
, it'll automatically be shortened and people will see the question title as a hover-tooltip, which is more helpful than a "this question": tex.stackexchange.com/questions/7438/…