首先:这是来自LaTeX 社区因为我没有得到任何答案。
考虑以下 MWE:
\documentclass{article}
\usepackage{pst-eucl}
\begin{document}
\begin{figure}
\centering
\begin{pspicture}(10.5,9.8)
\pnode(0,2.3){A}
\pnode(3.7,7.8){B}
\pnode(10.5,9.8){C}
\psdot(A)
\psdot(B)
\psdot(C)
\psline(A)(B)(C)
\psset{
PointSymbol=none,
PointNameB=none,
CodeFig=true,
CodeFigColor=black
}
\pstMediatorAB{B}{A}{M}{M''}
\pstMediatorAB{C}{B}{M'}{M'''}
\end{pspicture}
\end{figure}
\end{document}
是否有可能
(1)从图中去掉M
和和M'
(2)延长线条以使它们相交?
广告(1):我试图将第三个参数留空,但这是非法的。
先感谢您!
PS我知道可以通过以下方法实现,但我想用普斯特一欧共体仅有的:
\documentclass{article}
\usepackage{pst-eucl,pstricks-add}
\begin{document}
\begin{figure}
\centering
\begin{pspicture}(10.5,9.8)
\pnode(0,2.3){A}
\pnode(3.7,7.8){B}
\pnode(10.5,9.8){C}
\psdot(A)
\psdot(B)
\psdot(C)
\psline(A)(B)(C)
\psset{
PointSymbol=none,
PointNameB=none,
CodeFig=true,
CodeFigColor=black
}
\psRelLine(A)(B){1 2 div}{I'}
\psRelLine[angle=90](I')(A){3}{I''}
\psRelLine(B)(C){1 2 div}{J'}
\psRelLine[angle=90](J')(B){2.8}{J''}
\psIntersectionPoint(I')(I'')(J')(J''){X}
\pcline(I')(X)
\pcline(J')(X)
\pstRightAngle{A}{I'}{I''}
\pstRightAngle{B}{J'}{J''}
\end{pspicture}
\end{figure}
\end{document}
答案1
\documentclass{article}
\usepackage{pst-eucl}
\begin{document}
\begin{pspicture}(10.5,9.8)
\pstGeonode[PointName=none](0,2.3){A}(3.7,7.8){B}(10.5,9.8){C}
\psline(A)(B)(C)
\psset{
PointSymbol=none,
PointName=none,
CodeFig=true,
CodeFigColor=black}
\pstMediatorAB[nodesepB=-6.5cm]{B}{A}{M}{M''}
\pstMediatorAB[nodesepB=-6.5cm]{C}{B}{M'}{M'''}
\end{pspicture}
\end{document}