[Xy-pic] conditional block

Ross Moore ross at ics.mq.edu.au
Tue Apr 18 02:39:35 CEST 2006

Hello Shay,

On 13/04/2006, at 4:24 AM, Shay Har-Noy wrote:

> Hello all,
> This is actually my first time posting to a discussion list. 
> I am trying to modify this Qcircuit command to make a diamond shaped 
> conditional block for my block diagram.  
> \newcommand{\measuretabdiamond}[1]{*{\xy *+<.6em>{#1};p\save+LU;+RU 
> **\dir{-}\restore\save+RU;+RD **\dir{-}\restore\save+RD;+LD 
> **\dir{-}\restore\save+LD;+LC-<.5em,0em> **\dir{-} 
> \restore\POS+LU;+LC-<.5em,0em> **\dir{-} \endxy} \qw}


> since I am not that familiar with all the xypic commands I have made 
> little progress by modifying it using the guess and check method. 
> Any help would be appreciated.  

Try the above. (untested)
Adjust the lengths in  \diamondcondht  and  \diamondcondwd  to suit 
your own taste.

> cheers, 
> -SH

Hope this helps,

	Ross Moore

> ______________________________
> Please Note: No trees were destroyed in the sending of this 
> contaminant free message.  
> We do concede however, that a significant number of electrons may have 
> been inconvenienced.
> _______________________________________________
> xy-pic mailing list
> http://tug.org/mailman/listinfo/xy-pic

More information about the xy-pic mailing list