\documentstyle{article}
\input noteform
\begin{document}
\input notecomm

\let\sym=\sf

 \newsavebox{\toy}

Nel mezzo del cammin di nostra vita mi ritrovai per una selva oscura

 \figonegiven{glue-or}{
 \setlength{\unitlength}{0.75pt}
 \def\sig{\small\sym}
 \begin{picture}(144,128)(-72,-64)
	\thicklines
	\put(-40,-16){\line(0,1){48}} % the three vertical sides
	\put(-8,-32){\line(0,1){48}}
	\put(40,-32){\line(0,1){48}}
	\put(-40,32){\line(1,0){48}} % the three horizontal lines
	\put(-8,16){\line(1,0){48}}
	\put(-8,-32){\line(1,0){48}}
	\put(-40,32){\line(2,-1){32}} % the three diagonal lines
	\put(-40,-16){\line(2,-1){32}}
	\put(8,32){\line(2,-1){32}}
	\put(-72,0){\line(1,0){48}} % the y lines
	\put(40,0){\line(1,0){32}}
	\put(0,-64){\line(0,1){32}} % the z lines
	\put(0,24){\line(0,1){40}}
	\put(-64,32){\line(2,-1){24}} % the x lines
	\put(16,-8){\line(2,-1){48}}

	\put(56,-40){\makebox(0,0){\sig X0}}
	\put(-56,40){\makebox(0,0){\sig X1}}
	\put(64,8){\makebox(0,0){\sig Y0}}
	\put(-64,8){\makebox(0,0){\sig Y1}}
	\put(12,56){\makebox(0,0){\sig X0}}
	\put(12,-60){\makebox(0,0){\sig Z1}}

	\put(-64,-48){\makebox(0,0){(a)}}
 \end{picture}
 \quad
 \begin{picture}(128,144)(-16,-24)
	\thinlines
	\put(16,-24){\line(0,1){128}}
	\put(16,-24){\line(1,0){64}}
	\put(16,104){\line(1,0){64}}
	\thicklines
	\multiput(-16,0)(0,16){6}{\line(1,0){48}}
	\put(32,-4){\line(0,1){88}}
	\put(32,40){\oval(64,88)[r]}
	\put(64,40){\line(1,0){64}}
	\put(0,2){\makebox(0,0)[b]{\sig Z1}}
	\put(0,18){\makebox(0,0)[b]{\sig Z0}}
	\put(0,34){\makebox(0,0)[b]{\sig Y1}}
	\put(0,50){\makebox(0,0)[b]{\sig Y0}}
	\put(0,66){\makebox(0,0)[b]{\sig X1}}
	\put(0,82){\makebox(0,0)[b]{\sig X0}}

	\put(96,42){\makebox(0,0)[b]{\sig Glue-AND}}
 \end{picture}}{}

Nel mezzo del cammin di nostra vita mi ritrovai per una selva oscura


\end{document}


	\put(-40,-16){\line(0,1){48}} % the three vertical sides
	\put(40,-32){\line(0,1){48}}
	\put(-40,32){\line(1,0){48}} % the three horizontal lines
	\put(-8,16){\line(1,0){48}}
	\put(-8,-32){\line(1,0){48}}
	\put(-40,32){\line(2,-1){32}} % the three diagonal lines
	\put(-40,-16){\line(2,-1){32}}
	\put(8,32){\line(2,-1){32}}
	\put(-72,0){\line(1,0){48}} % the y lines
	\put(40,0){\line(1,0){32}}
	\put(0,-64){\line(0,1){32}} % the z lines
	\put(0,24){\line(0,1){40}}
	\put(-64,32){\line(2,-1){24}} % the x lines
	\put(16,-8){\line(2,-1){48}}

	\put(-56,40){\makebox(0,0){$x_-$}}
	\put(64,8){\makebox(0,0){$y_+$}}
	\put(-64,8){\makebox(0,0){$y_-$}}
	\put(12,56){\makebox(0,0){$z_+$}}
	\put(12,-60){\makebox(0,0){$z_-$}}

	\put(-64,-48){\makebox(0,0){(a)}}
