Skip to main content

Questions tagged [pst-eucl]

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

Filter by
Sorted by
Tagged with
2 votes
0 answers
27 views

latex \pstTriangle problem

I try to create a macro to draw a Thales' configuration : \newcommand{\ThalesLenzen}[9]{ % Tracé du grand triangle \pstTriangle[linewidth=1pt,PointSymbol=none,PointNameSep=3mm](#1){#2}(#3){#4}(...
M. LENZEN's user avatar
1 vote
0 answers
226 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 ...
R. Gregory Taylor's user avatar
1 vote
2 answers
89 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 ...
Nicolas's user avatar
  • 1,537
1 vote
1 answer
77 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,...
Display Name's user avatar
  • 47.4k
1 vote
1 answer
64 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}(...
M. LENZEN's user avatar
2 votes
2 answers
174 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 ...
UnPerrito's user avatar
  • 300
1 vote
1 answer
63 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{...
Display Name's user avatar
  • 47.4k
2 votes
1 answer
117 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}(...
F. Pantigny's user avatar
  • 43.9k
7 votes
1 answer
192 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
184 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
133 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
101 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
364 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
106 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
436 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
312 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
641 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
182 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
383 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
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} \...
user avatar
5 votes
2 answers
396 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
411 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
94 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
521 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
319 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} \...
Display Name's user avatar
  • 47.4k
1 vote
2 answers
57 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} \...
Display Name's user avatar
  • 47.4k
2 votes
1 answer
240 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[...
user24043's user avatar
0 votes
1 answer
95 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) \...
Svend Tveskæg's user avatar
4 votes
2 answers
229 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} \...
kiss my armpit's user avatar
2 votes
1 answer
91 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 ...
kiss my armpit's user avatar
2 votes
2 answers
185 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[...
kiss my armpit's user avatar
3 votes
1 answer
165 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 ...
kiss my armpit's user avatar
2 votes
0 answers
74 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 ...
kiss my armpit's user avatar
3 votes
1 answer
253 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 ...
A.Ellett's user avatar
  • 50.9k
1 vote
1 answer
379 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}{...
kiss my armpit's user avatar
4 votes
1 answer
106 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{...
kiss my armpit's user avatar
2 votes
1 answer
231 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: ...
kiss my armpit's user avatar
2 votes
1 answer
449 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}](...
JustDanyul's user avatar
  • 5,117
1 vote
1 answer
329 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) \...
JustDanyul's user avatar
  • 5,117
3 votes
0 answers
158 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}...
Luca's user avatar
  • 31
6 votes
3 answers
351 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 ...
kiss my armpit's user avatar
3 votes
2 answers
509 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. \...
kiss my armpit's user avatar
6 votes
2 answers
430 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=...
kiss my armpit's user avatar