The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [pst-eucl]

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

35 questions
Filter by
Sorted by
Tagged with
142 views

116 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,...
62 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} \...
80 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,...
293 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,...
88 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{...
204 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} \...
142 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){...
593 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}...
108 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,-...
206 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[...
163 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} \...
300 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} ...
103 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-...
53 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-...
107 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){...
195 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} \...
44 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} \...
147 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[...
63 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) \...
212 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} \...
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 ...
162 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[...
150 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 ...
67 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 ...
209 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 ...
230 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}{...
97 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{...
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: ...
330 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}](...
264 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) \...
144 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}...
326 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 ...