# [pstricks] Comparing Decimals

Sun Jun 14 22:04:45 CEST 2009

Herbert,

Perfect! Thanks. You saved me a lot of time.

David

On Jun 14, 2009, at 1:00 PM, Herbert Voss wrote:

> David Arnold schrieb:
>
>> I am trying to have a horizontal line come out of "Same Digit",
>> make 1
>> 90 turn and point straight up to the digit it is comparing. Don't
>> want
>> the bends. Just move right, left turn, move straight up.
>
>> \documentclass{article}
>> \usepackage{pstricks}
>>
>> \begin{document}
>>
>> \begin{center}
>> \begin{tabular}{p{1in}*6{@{}c@{}}p{1.5in}}
>> &5&.&2&3&4&6\\
>> &\rnode{A}{5}&.&\rnode{B}{2}&\rnode{C}{3}&\rnode{D}{5}&7\\
>> \rnode{AA}{\color{blue}{Same digit}}\\
>> \rnode{BB}{\color{blue}{Same digit}}\\
>> \rnode{CC}{\color{blue}{Same
>> digit}}&&&&&&&\hfill\rnode{DD}{\color{red}{Different digit}}
>> \ncdiag[linecolor=blue,angleA=0,angleB=270,lineAngle=0]{->}{AA}{A}
>> \ncdiag[linecolor=blue,angleA=0,angleB=270,lineAngle=0]{->}{BB}{B}
>> \ncdiag[linecolor=blue,angleA=0,angleB=270,lineAngle=0]{->}{CC}{C}
>> \ncdiag[linecolor=red,angleA=180,angleB=270,lineAngle=0]{->}{DD}{D}
>
> \ncangle[linecolor=blue,angleA=0,angleB=270,lineAngle=0]{->}{AA}{A}
> \ncangle[linecolor=blue,angleA=0,angleB=270,lineAngle=0]{->}{BB}{B}
> \ncangle[linecolor=blue,angleA=0,angleB=270,lineAngle=0]{->}{CC}{C}
> \ncangle[linecolor=red,angleA=180,angleB=270,lineAngle=0]{->}{DD}{D}
>
> Herbert
>
> _______________________________________________
> PSTricks mailing list
> PSTricks at tug.org
> http://tug.org/mailman/listinfo/pstricks