Questions tagged [pst-eucl]
{pst-eucl} is a {pstricks} package addressing issues related to geometry.
42
questions
1
vote
0
answers
193
views
pstricks generates \pgfutil at protected\def\pgfmathprintnumber{% error [closed]
\documentclass{amsbook}
\usepackage{pst-eucl} %wrapper for PSTRICKS
\let\clipbox\relax %needed to overcome some incompatibility
\begin{document} ...
\end{document}
gives error \pgfutil at ...
1
vote
2
answers
85
views
Plots of perpendiculars
I would like to be able to draw this figure:
I tried with psteucl package but I'm facing some difficulties. The first is the plot of the perpendicular to the 1st face of the triangle.
I tested with ...
1
vote
1
answer
74
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,...
1
vote
1
answer
59
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}(...
2
votes
2
answers
157
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 ...
1
vote
1
answer
57
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{...
2
votes
1
answer
113
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}(...
7
votes
1
answer
191
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,...
2
votes
1
answer
173
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,...
3
votes
1
answer
123
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
1
answer
98
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=...
4
votes
2
answers
362
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
1
answer
104
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
4
answers
414
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
1
answer
289
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
4
answers
639
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
1
answer
175
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
3
answers
367
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[...
4
votes
1
answer
1k
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
2
answers
382
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
2
answers
372
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
1
answer
90
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
2
answers
436
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
5
answers
279
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
2
answers
54
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}
\...
2
votes
1
answer
227
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
1
answer
91
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
2
answers
228
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
1
answer
89
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
2
answers
179
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
1
answer
163
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
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 ...
3
votes
1
answer
244
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
1
answer
347
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
1
answer
105
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
1
answer
230
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
1
answer
439
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
1
answer
325
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
0
answers
153
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
3
answers
349
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
2
answers
505
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
2
answers
419
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=...