Consider the following example:
Code: Select all
\documentclass[danish]{article}
\usepackage{babel}
\usepackage{pst-eucl,pstricks-add}
\begin{document}
\begin{figure}
\centering
\psset{unit=0.7cm,RightAngleSize=0.4}
\begin{pspicture}(16.0,13.6)
\pnode(0,0){A}
\pnode(0,18.5){B}
\pnode(5.1,18.5){C}
\pnode(5.1,16.1){D}
\pnode(8.3,13.7){E}
\pnode(12.2,13.6){F}
\pnode(16.0,1.6){G}
\pnode(12.2,0.3){H}
\pnode(0,13.7){P}
\pnode(5.1,13.7){Q}
\pspolygon[linewidth=2\pslinewidth,linecolor=blue](A)(B)(C)(D)(E)(F)(G)(H)
\psset{linestyle=dashed}
\pcline(D)(Q)
\pcline(P)(E)
\pcline(F)(H)
\pstRightAngle{B}{P}{Q}
\pstRightAngle{P}{B}{C}
\pstRightAngle{B}{C}{D}
\pstRightAngle{D}{Q}{E}
\pstRightAngle{H}{G}{F}
\end{pspicture}
\end{figure}
\end{document}
- Why is the mark at the right angle DQE not exactly at the `corner'?
- How do I mark the right angle FGH?