I want to have a XOR node in my TikZ diagram, but couldn't find any available symbol, therefore made one myself, but I am not very happy with it. I used the example from how to draw XOR gate symbol as a node in tikz? as basis.
\tikzstyle{XOR} = [draw,circle]
And use it as follows:
\node [XOR] {\large +};
However, there is always a padding around the +. I want the + to 'connect' with the circle.
Here my MWE:
\documentclass{standalone}
\usepackage{tikz}
\usetikzlibrary{shapes,arrows,fit,calc,positioning,automata}
\begin{document}
\tikzstyle{XOR} = [draw,circle]
\tikzstyle{line} = [draw, -latex']
\begin{tikzpicture}[auto,>=latex', scale = 1, transform shape]
\tikzstyle{line}=[draw, -latex']
\node (XOR-aa)[XOR] {\large +};
\node [above of=XOR-aa,node distance=1.5cm,text width=1.5cm,anchor=south,align=center] (bla) {Bla};
\node [right of=XOR-aa,node distance=3cm,text width=1.5cm,anchor=east,align=center] (Blob) {Blob};
\node [left of=XOR-aa,node distance=3cm,text width=1.5cm,anchor=west,align=center] (blubb) {Blubb};
\path[line] (XOR-aa) edge (Blob)
(bla) edge (XOR-aa)
(blubb) edge (XOR-aa);
\end{tikzpicture}
\end{document}



\node (XOR-aa) {$\displaystyle\oplus$};be what you need? – egreg Oct 08 '12 at 15:19XORsymbol. Here, instead, the question is clearly: how to draw anXORsymbol such that the+sign is connected to the external circle? – Claudio Fiandrino Oct 09 '12 at 07:01\oplusis actually the most easy way, however, there is a padding between the arrows and the\oplus, which doesn't happen with the createdtikzset. – cherrung Oct 09 '12 at 10:48\node[outer sep=0pt] (XOR-aa){$\displaystyle\oplus$};. From manual: This option adds an additional (invisible) separation space of hdimensioni outside the background path. The main effect of this option is that all anchors will move a little “to the outside.” – Ignasi Oct 09 '12 at 12:15here. – Ignasi Oct 09 '12 at 12:20