Code: Select all
\documentclass[12pt]{article}\usepackage{pst-all}\usepackage{pstricks-add}\begin{document}\begin{pspicture}(2,1)\psset{arrowscale=2}\pcline[ArrowInside=-|,ArrowInsidePos=0.75]{|-|}(0,0)(2,1)\end{pspicture}\end{document}
Code: Select all
\documentclass[12pt]{article}\usepackage{pst-all}\usepackage{pstricks-add}\begin{document}\begin{pspicture}(2,1)\psset{arrowscale=2}\pcline[ArrowInside=-|,ArrowInsidePos=0.75]{|-|}(0,0)(2,1)\end{pspicture}\end{document}
NEW: TikZ book now 40% off at Amazon.com for a short time.
Code: Select all
\pstTriangle(0,-2){A}(0,2){B}(5,0){C}\pstMiddleAB[PointSymbol=none]{A}{B}{E}\pstMiddleAB[PointSymbol=none]{B}{C}{D}\pstMiddleAB[PointSymbol=none,PosAngle={-90}]{A}{C}{F}\pstSegmentMark[SegmentSymbol=pstslash]{A}{E}\pstSegmentMark[SegmentSymbol=pstslash]{B}{E}\pstLineAB[linecolor=blue]{A}{D}\pstLineAB[linecolor=blue]{B}{F}\pstLineAB[linecolor=blue]{C}{E}\pstSegmentMark[SegmentSymbol=pstslashh]{A}{F}\pstSegmentMark[SegmentSymbol=pstslashh]{C}{F}\pstSegmentMark[SegmentSymbol=pstslashhh]{B}{D}\pstSegmentMark[SegmentSymbol=pstslashhh]{C}{D}
NEW: TikZ book now 40% off at Amazon.com for a short time.