Questions tagged [pst-eucl]

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

Filter by
Sorted by
Tagged with
1 vote
1 answer
66 views

How to pass an algebraic expression with \pstAngleAOB to RotAngle?

I attempted to assign \i*\pstAngleAOB{A'}{T}{B'}/10 instead of manually-calculated value \i*16.626 to RotAngle as shown in the following example (see the commented rows). MWE \documentclass[pstricks,...
user avatar
1 vote
1 answer
49 views

Page rotation with pstricks and font package

I have a problem with a simple example (text rotating). Here's the code: \documentclass[11pt]{report} \usepackage[default]{sourcesanspro} \usepackage{pst-eucl} \begin{document} \begin{pspicture}(...
user avatar
2 votes
2 answers
108 views

pst-euclid: getting the inner circle

To draw geometrical figures I'm reading this. Now, I was testing \pstTriangleIC to get the incircle but I get a classical "undefined control sequence" error. What is wrong with my code? I ...
user avatar
  • 191
1 vote
1 answer
49 views

Setting nodesep in RPN differs from nodesep set with \pscalculate

Why does nodesep={!50 194 sqrt div} differ from nodesep=\pscalculate{50/sqrt(194)}? \documentclass[pstricks,border=10mm,12pt]{standalone} \usepackage{pst-eucl} \psset{unit=5mm} \begin{document} \begin{...
user avatar
2 votes
1 answer
84 views

Strange behaviour of \pstTriangle

When I compile the following code with etex , dvips and ps2pdf, I have a strange output: \input pstricks.tex \input pst-eucl.tex { \psline[linewidth=0.2pt](0,0)(1,0) } \hskip2cm \pstTriangle(0,0){A}(...
user avatar
  • 25.6k
7 votes
1 answer
176 views

How to clip and draw a picture approximately?

\documentclass[border=10pt]{standalone} \usepackage{pst-eucl,pst-text,pstricks-add,pst-grad} \usepackage{mathptmx} \begin{document} \begin{pspicture}[showgrid](-5,-5)(10,5) \psframe*[fillstyle=solid,...
user avatar
2 votes
1 answer
142 views

How to calculate ratio of two side automatically?

\documentclass[border=10pt,12pt,pstricks]{standalone} \usepackage{pst-eucl,amsmath,amssymb,pst-calculate} \begin{document} \begin{pspicture}[showgrid](-1,-1)(7,6) \pstGeonode[PosAngle={-135,90,-45}](0,...
user avatar
3 votes
1 answer
112 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} \...
user avatar
3 votes
1 answer
92 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,labelsep=...
user avatar
4 votes
2 answers
349 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,...
user avatar
2 votes
1 answer
96 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{...
user avatar
3 votes
4 answers
345 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} \...
user avatar
3 votes
1 answer
212 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){...
user avatar
6 votes
4 answers
620 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}}...
user avatar
3 votes
1 answer
154 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,-...
user avatar
8 votes
3 answers
331 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[...
user avatar
4 votes
1 answer
903 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} \...
user avatar
5 votes
2 answers
358 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} ...
user avatar
4 votes
2 answers
264 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-...
user avatar
2 votes
1 answer
70 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-...
user avatar
3 votes
2 answers
252 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){...
user avatar
3 votes
5 answers
237 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} \...
user avatar
1 vote
2 answers
50 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} \...
user avatar
3 votes
1 answer
217 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[...
user avatar
0 votes
1 answer
77 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) \...
user avatar
4 votes
2 answers
225 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} \...
user avatar
2 votes
1 answer
86 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 ...
user avatar
2 votes
2 answers
175 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[...
user avatar
3 votes
1 answer
161 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 ...
user avatar
2 votes
0 answers
73 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 ...
user avatar
3 votes
1 answer
236 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 ...
user avatar
  • 49k
1 vote
1 answer
291 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}{...
user avatar
4 votes
1 answer
103 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{...
user avatar
2 votes
1 answer
227 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: ...
user avatar
2 votes
1 answer
417 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}](...
user avatar
  • 4,597
1 vote
1 answer
316 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) \...
user avatar
  • 4,597
3 votes
0 answers
145 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}...
user avatar
  • 31
6 votes
3 answers
342 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 ...
user avatar
3 votes
2 answers
491 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. \...
user avatar
6 votes
2 answers
396 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=...
user avatar