Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [pst-eucl]

{pst-eucl} is a {pstricks} package addressing issues related to geometry.

3
votes
1answer
51 views

What is the PSTricks equivalent for “ <rotate> of \tkzLabelAngles ” and “ <arc> of \tkzMarkAngles ” in tkz-euclide?

\documentclass[border=15pt,pstricks,12pt]{standalone} \usepackage{pst-eucl} \begin{document} \begin{pspicture}[showgrid](-4,-5)(4,4) \pstGeonode[PosAngle={0,135,-45}](3;0){A}(3;140){B}(3;-45){D} \...
3
votes
1answer
78 views

How to cache a common varying node?

The following MWE produces an output shown below. \documentclass[pstricks,12pt]{standalone} \usepackage{pst-eucl} \begin{document} \begin{pspicture}(-1,-2)(8,6) \psset{linejoin=2,dotsize=2pt,...
4
votes
2answers
287 views

How to delete unnecessary dot?

\documentclass[border=15pt,pstricks,12pt]{standalone} \usepackage{pst-eucl} \begin{document} \begin{pspicture}[showgrid](-5,-5)(10,10) \psset{unit=2cm,PointSymbol=none,PointName=none} \pstTriangle(0,...
2
votes
1answer
87 views

How to blunt sharp joints?

In the following figure we can see that the line joints are so sharp. How to make them blunt? \documentclass[10pt,pstricks,border=15pt]{standalone} \usepackage{pst-eucl} \begin{document} \begin{...
3
votes
3answers
185 views

How to fill a right-angle mark with a color?

I fails to fill the right-angle mark with green color as follows. \documentclass[12pt]{standalone} \usepackage{pst-eucl,pst-calculate} \begin{document} \begin{pspicture}(-.6,-1)(4.85,4) \def\b{3} \...
3
votes
1answer
136 views

I can't compile it with my Texstudio compiler!

\documentclass[pstricks,border=12pt]{standalone} \usepackage{pst-eucl,pst-calculate,textcomp} \begin{document} \begin{pspicture}[showgrid](-1,-1)(8,8) \pstTriangle[PosAngle={180,90,0}](1,2){B}(2.5,5){...
6
votes
4answers
585 views

How to find points M and N such that AM=CN=BC only with a straight edge and a compass?

The following code is my attempt to find M and N such that AM=CN=BC. \documentclass[pstricks,border=12pt]{standalone} \usepackage{pst-eucl,pst-calculate} \begin{document} \def\x{\pscalculate{6-3.3541}...
3
votes
1answer
98 views

How to create right angle marks for 3D objects?

\documentclass[12pt,pstricks,border=15pt]{standalone} \usepackage{newcent,pst-eucl} \begin{document} \begin{pspicture}[showgrid](-5,-5)(8,6) \pstGeonode[PosAngle={180,0,-90,90}](-3,0){A}(3,0){C}(-1,-...
8
votes
3answers
195 views

How to make a hollow node with PointSymbol=o?

\documentclass[12pt,border=5pt]{standalone} \usepackage{newcent,pstricks,pst-eucl,amsmath,amssymb} \usepackage{auto-pst-pdf} \begin{document} \begin{pspicture} \psset{PointSymbol=o} \pstGeonode[...
3
votes
1answer
122 views

How to draw incircle (inscribed circle)?

First Question \documentclass[pstricks,12pt,border=12pt]{standalone} \usepackage{pst-eucl} \begin{document} \begin{pspicture}[showgrid](-3,-2)(2,2) \psset{PointSymbol=none,CodeFig,CodeFigColor=red} \...
5
votes
2answers
290 views

How to divide arc, line, and angle with a certain ratio?

A simple example: \documentclass[12pt,border=5pt]{standalone} \usepackage{newcent,pstricks,pst-eucl} \usepackage{auto-pst-pdf} \begin{document} \begin{pspicture} \pstTriangle(2,4){A}(0,0){B}(6,0){C} ...
4
votes
2answers
85 views

How to show a point name?

The circle Mixtilinear. \documentclass[12pt,a4paper]{article} \usepackage{amsmath,amssymb,newcent} \usepackage{pstricks} % required package \usepackage{pst-node,pst-func,pst-plot,pst-eucl,pstricks-...
2
votes
1answer
44 views

How to adjust node labels of a triangle?

Problem 1: \documentclass[12pt,a4paper]{article} \usepackage{amsmath,amssymb,newcent} \usepackage{pstricks} \usepackage{pst-node,pst-func,pst-plot,pst-eucl,pstricks-add,multido} \usepackage{auto-pst-...
3
votes
2answers
95 views

How to mark a segment?

\documentclass[12pt]{article} \usepackage{amsmath,amssymb,newcent} \usepackage{pstricks,pst-eucl} \usepackage{auto-pst-pdf} \begin{document} \begin{pspicture} \pstGeonode[PosAngle={90,0,-90}](1,2){...
3
votes
5answers
193 views

How to create a point on a line with an angle constraint?

I want to define a point (node) D on line AC such that angle ABC equals to angle CDE. How to do this by using the easiest trick of PSTricks? \documentclass[pstricks,border=1cm]{standalone} \...
1
vote
2answers
43 views

Errors due to operation on N-P.y and N-P.x of nodes produced by \pstTranslation

In the following MWE, only the combination of \pstTranslation and angle calculated via N-P.y N-P.x atan 90 sub produces error. How to solve it? MWE \documentclass[pstricks,margin=1cm]{standalone} \...
3
votes
1answer
139 views

Draw a figure with pst-eucl

I want to draw the following figure: By reading the following pst-eucl document http://www.bakoma-tex.com/doc/generic/pst-eucl/euclide_english.pdf, I came up with the following code: \documentclass[...
0
votes
1answer
62 views

PSTricks: Only specific color and linewidth for some part of figure

Consider the following non-MWE. \documentclass{article} \usepackage{pst-eucl} \begin{document} \begin{pspicture}(-1.5,0)(6,3.1) \pnodes(0,0){A}(0,3.1){B}(6,0){C} \pspolygon(A)(B)(C) \...
4
votes
2answers
209 views

What caused the unexpected outline below?

What caused the unexpected outline below? \documentclass[pstricks,border=0pt,12pt]{standalone} \usepackage{pst-eucl} \psset{PointName=none,PointSymbol=none} \begin{document} \...
2
votes
1answer
81 views

Why do we need to buffer the pst-eucl nodes before passing them to \rput?

Behavior of nodes defined pst-eucl seems to be different from those defined in pst-plot. In the section titled Direct node, I attempted to create a square with pq as it base inclined at a slope of ...
2
votes
2answers
160 views

How to prevent my node label from getting displaced to the left?

\documentclass[pstricks,border=12pt]{standalone} \usepackage{pst-eucl} \begin{document} \begin{pspicture}(3,4) \pstGeonode(1,1){A_i} \pstGeonode[PointName=A_j](1,2){Aj} \pstGeonode[...
3
votes
1answer
147 views

How can I prevent my labels from getting reflected?

The left triangle is the image of the right triangle about the vertical line in between them as the mirror. I only want geometric objects and label position (but excluding their labels) to be ...
2
votes
0answers
65 views

Why can't the abscissa and ordinate obtained from \psGetNodeCenter be reflected? [duplicate]

Consider the following simplified code. \documentclass[pstricks,border=2cm]{standalone} \usepackage{pst-eucl} \psset{saveNodeCoors} %\def\xy#1{!\psGetNodeCenter{#1} #1.x #1.y}% cannot be ...
3
votes
1answer
208 views

Documentation for changes to pst-eucl package

I just noticed today that when I use the eucl package, I get the following message: (/usr/local/texlive/2013/texmf-dist/tex/generic/pst-eucl/pst-eucl.tex `PST-Euclide v1.47, 2013/03/12 (Dominique ...
1
vote
1answer
225 views

A problem with cjkutf8 and pst-eucl

The following MWE cannot be compiled. You can see the error messages by yourself. \documentclass[pstricks,border=12pt]{standalone} \usepackage{CJKutf8} \usepackage{pst-eucl} \def\kor#1{% \begin{CJK}{...
4
votes
1answer
94 views

Why does my RPN expression to find a distance of 2 nodes produce a wrong output?

I want to find a variant for the following, \documentclass[pstricks,border=12pt]{standalone} \usepackage{pst-eucl} \addtopsstyle{gridstyle}{gridlabels=0pt,griddots=0} \begin{document} \begin{...
2
votes
1answer
221 views

What is lacking in my geometric calculation below?

The objective is to align the baseline of a label with the bisector. I want to summarize 4 possible tricks as follows. Let me know if there is another trick beyond my consideration. The first trick: ...
2
votes
1answer
323 views

pst-eucl bold labels and arc sizes

I got a couple of questions about pst-eucl. How can I make a point label bold? I've tried the following permutations \pstGeonode[PointName=\textbf{A}](1,1){A}(-1,-1){B} \pstGeonode[PointName={\bf A}](...
1
vote
1answer
261 views

Multiple pspicture environments breaks when using \pstMarkAngle

I have a pretty weird problem. If I use multiple pspicture environments in the same document, the first one gets rendered, but the other breaks. For example, \begin{pspicture}(-3,-3)(3,3) \...
3
votes
0answers
142 views

How to put an angle on a specific point? [closed]

I would like to, for example, make an triangle with one angle of 50 degrees and the adjacent segments of 4cm, so I can do that with the following code: \begin{pspicture}(0,0)(6,5) \pstTriangle(0,0){a}...
6
votes
3answers
322 views

Without using intersection method, can we find the following vector component?

Given that two vectors, i.e., green and red ones. The objective is to find the blue one such that the resultant of the green and blue ones is parallel to the red one and with the same direction as the ...
3
votes
2answers
477 views

How to automatically place points names of a polygon on the bisector lines?

Let us consider the simpler one which is a triangle. According to the pst-eucl, the point names will be placed on the bisector lines. The below example is contradictory to the above statement. \...
6
votes
2answers
384 views

How to rotate the label such that its base line is parallel to the bisector?

How to rotate the label counter clockwise such that its base line is parallel to the bisector? \documentclass[border=0pt,pstricks]{standalone} \usepackage{pst-eucl} \psset{PointName=none,PointSymbol=...