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}
pstCircleABC[PosAngle=60]{A}{B}{C}{O}
end{pspicture}
end{document}
The result of compiling:
Question 1:
How to get a point M such as MA=2/3AB, or more generally MA=(a/b)AB and a point M' belong to small arc CA such as arc M'A=2/3AB, or more generally M'A=(a/b)AB.
Question 2:
How to get bisector of angle A BUT are two bisectors or three bisectors.
Responding to AS'comment below.
pstricks pst-eucl
add a comment |
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}
pstCircleABC[PosAngle=60]{A}{B}{C}{O}
end{pspicture}
end{document}
The result of compiling:
Question 1:
How to get a point M such as MA=2/3AB, or more generally MA=(a/b)AB and a point M' belong to small arc CA such as arc M'A=2/3AB, or more generally M'A=(a/b)AB.
Question 2:
How to get bisector of angle A BUT are two bisectors or three bisectors.
Responding to AS'comment below.
pstricks pst-eucl
1
Can you explain your second question more clearly please? what do you mean by "BUT are ..."
– Thruston
Dec 10 '18 at 9:16
@Thruston In pst-eucl documentation, only to draw one bisector, " BUT are " is equivalent " to get". My English is not so good. :-))
– chishimotoji
Dec 10 '18 at 9:19
add a comment |
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}
pstCircleABC[PosAngle=60]{A}{B}{C}{O}
end{pspicture}
end{document}
The result of compiling:
Question 1:
How to get a point M such as MA=2/3AB, or more generally MA=(a/b)AB and a point M' belong to small arc CA such as arc M'A=2/3AB, or more generally M'A=(a/b)AB.
Question 2:
How to get bisector of angle A BUT are two bisectors or three bisectors.
Responding to AS'comment below.
pstricks pst-eucl
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}
pstCircleABC[PosAngle=60]{A}{B}{C}{O}
end{pspicture}
end{document}
The result of compiling:
Question 1:
How to get a point M such as MA=2/3AB, or more generally MA=(a/b)AB and a point M' belong to small arc CA such as arc M'A=2/3AB, or more generally M'A=(a/b)AB.
Question 2:
How to get bisector of angle A BUT are two bisectors or three bisectors.
Responding to AS'comment below.
pstricks pst-eucl
pstricks pst-eucl
edited Dec 10 '18 at 10:34
God Must Be Crazy
5,60511039
5,60511039
asked Dec 10 '18 at 9:05
chishimotoji
820316
820316
1
Can you explain your second question more clearly please? what do you mean by "BUT are ..."
– Thruston
Dec 10 '18 at 9:16
@Thruston In pst-eucl documentation, only to draw one bisector, " BUT are " is equivalent " to get". My English is not so good. :-))
– chishimotoji
Dec 10 '18 at 9:19
add a comment |
1
Can you explain your second question more clearly please? what do you mean by "BUT are ..."
– Thruston
Dec 10 '18 at 9:16
@Thruston In pst-eucl documentation, only to draw one bisector, " BUT are " is equivalent " to get". My English is not so good. :-))
– chishimotoji
Dec 10 '18 at 9:19
1
1
Can you explain your second question more clearly please? what do you mean by "BUT are ..."
– Thruston
Dec 10 '18 at 9:16
Can you explain your second question more clearly please? what do you mean by "BUT are ..."
– Thruston
Dec 10 '18 at 9:16
@Thruston In pst-eucl documentation, only to draw one bisector, " BUT are " is equivalent " to get". My English is not so good. :-))
– chishimotoji
Dec 10 '18 at 9:19
@Thruston In pst-eucl documentation, only to draw one bisector, " BUT are " is equivalent " to get". My English is not so good. :-))
– chishimotoji
Dec 10 '18 at 9:19
add a comment |
2 Answers
2
active
oldest
votes
Step 1
documentclass[pstricks,12pt,border=15pt]{standalone}
usepackage{pst-eucl}
begin{document}
begin{pspicture}[showgrid](-1,-3)(7,5)
pstTriangle(2,4){A}(0,0){B}(6,0){C}
pstCircleABC[PosAngle=60]{A}{B}{C}{O}
pstHomO[HomCoef=0.6666]{A}{B}[M]% 2/3 --> 0.6666
end{pspicture}
end{document}
Note: HomCoef
cannot accept RPN 2 3 div
so I have to insert 0.6666
(3 decimals places should suffice, I think).
Step 2
documentclass[pstricks,12pt,border=15pt]{standalone}
usepackage{pst-eucl}
begin{document}
begin{pspicture}[showgrid](-1,-3)(7,5)
pstTriangle(2,4){A}(0,0){B}(6,0){C}
pstCircleABC[PosAngle=60]{A}{B}{C}{O}
pstHomO[HomCoef=0.6666]{A}{B}[M]% 2/3 --> 0.6666
pstRotation[AngleCoef=0.3333,RotAngle=pstAngleAOB{C}{O}{A}]{O}{C}[M']
end{pspicture}
end{document}
Note: AngleCoef
must come before RotAngle
. It is not commutative!
Step 3 (Final)
documentclass[pstricks,12pt,border=15pt]{standalone}
usepackage{pst-eucl}
begin{document}
begin{pspicture}[showgrid=false](-1,-3)(7,5)
pstTriangle(2,4){A}(0,0){B}(6,0){C}
pstCircleABC[PosAngle=225]{A}{B}{C}{O}
pstHomO[HomCoef=0.6666]{A}{B}[M]% 2/3 --> 0.6666
pstRotation[AngleCoef=0.3333,RotAngle=pstAngleAOB{C}{O}{A}]{O}{C}[M']
psset{PointName=none,PointSymbol=none}
pstRotation[AngleCoef=0.3333,RotAngle=pstAngleAOB{B}{A}{C}]{A}{B}[P1]
pstRotation[AngleCoef=0.6666,RotAngle=pstAngleAOB{B}{A}{C}]{A}{B}[P2]
pstInterLL{B}{C}{A}{P1}{Q1}
pstInterLL{B}{C}{A}{P2}{Q2}
psset{Mark=MarkHash,MarkAngle=90,MarkAngleRadius=.8}
pstMarkAngle{B}{A}{Q1}{}
pstMarkAngle{Q1}{A}{Q2}{}
pstMarkAngle{Q2}{A}{C}{}
psset{linestyle=dashed}
psline(A)(Q1)
psline(A)(Q2)
end{pspicture}
end{document}
Note: We have pstSegmentMark
(ends with Mark
) to mark a segment but we have pstMarkAngle
(begins with Mark
) to mark an angle. It seems the package author likes making inconsistent names.
Last Edit
pscalculate
from pst-calculate
package can make me possible to insert infix calculations fed to the HomCoef
and AngleCoef
.
documentclass[pstricks,12pt,border=15pt]{standalone}
usepackage{pst-eucl}
usepackage{pst-calculate}
begin{document}
begin{pspicture}[showgrid=false](-1,-3)(7,5)
pstTriangle(2,4){A}(0,0){B}(6,0){C}
pstCircleABC[PosAngle=225]{A}{B}{C}{O}
pstHomO[HomCoef=pscalculate{2/3}]{A}{B}[M]% Now without hard coded 0.6666
pstRotation[AngleCoef=pscalculate{1/3},RotAngle=pstAngleAOB{C}{O}{A}]{O}{C}[M']
psset{PointName=none,PointSymbol=none}
pstRotation[AngleCoef=pscalculate{1/3},RotAngle=pstAngleAOB{B}{A}{C}]{A}{B}[P1]
pstRotation[AngleCoef=pscalculate{2/3},RotAngle=pstAngleAOB{B}{A}{C}]{A}{B}[P2]
pstInterLL{B}{C}{A}{P1}{Q1}
pstInterLL{B}{C}{A}{P2}{Q2}
psset{Mark=MarkHash,MarkAngle=90,MarkAngleRadius=.8}
pstMarkAngle{B}{A}{Q1}{}
pstMarkAngle{Q1}{A}{Q2}{}
pstMarkAngle{Q2}{A}{C}{}
psset{linestyle=dashed}
psline(A)(Q1)
psline(A)(Q2)
end{pspicture}
end{document}
1
Very good. This is a exciting trick.
– chishimotoji
Dec 10 '18 at 13:44
add a comment |
documentclass[pstricks,12pt,border=15pt]{standalone}
usepackage{pst-eucl}
begin{document}
begin{pspicture}[showgrid](-1,-3)(7,5)
pstTriangle(2,4){A}(0,0){B}(6,0){C}
pstCircleABC[PosAngle=60]{A}{B}{C}{O}
pstHomO[HomCoef=0.667]{A}{B}[M]
pstRotation[AngleCoef=0.333,RotAngle=pstAngleAOB{C}{O}{A}]{O}{C}[M']
psset{PointSymbol=none,PointName=none}
pstRotation[AngleCoef=0.333,RotAngle=pstAngleAOB{B}{A}{C}]{A}{B}[M1]
pstRotation[AngleCoef=0.667,RotAngle=pstAngleAOB{B}{A}{C}]{A}{B}[M2]
pcline[linestyle=dashed](A)(M1)
pcline[linestyle=dashed](A)(M2)
end{pspicture}
end{document}
Mr. Herbert, could you modify theHomCoef
andAngleCoef
to be able to accept postfix notation? Defining a new command namedpstAngleMark
as an alias ofpstMarkAngle
. Modifying the core such thatAngleCoef
andRotAngle
can be interchanged. Thank you!
– God Must Be Crazy
Dec 10 '18 at 10:41
I found a "bug" inpsCircleTangents
. See my answer. Try changex
from3
to5
with step 1. The tangent line moves from one side to opposite side when the radii change from smaller to equal.
– God Must Be Crazy
Dec 10 '18 at 17:41
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f464092%2fhow-to-divide-arc-line-and-angle-with-a-certain-ratio%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Step 1
documentclass[pstricks,12pt,border=15pt]{standalone}
usepackage{pst-eucl}
begin{document}
begin{pspicture}[showgrid](-1,-3)(7,5)
pstTriangle(2,4){A}(0,0){B}(6,0){C}
pstCircleABC[PosAngle=60]{A}{B}{C}{O}
pstHomO[HomCoef=0.6666]{A}{B}[M]% 2/3 --> 0.6666
end{pspicture}
end{document}
Note: HomCoef
cannot accept RPN 2 3 div
so I have to insert 0.6666
(3 decimals places should suffice, I think).
Step 2
documentclass[pstricks,12pt,border=15pt]{standalone}
usepackage{pst-eucl}
begin{document}
begin{pspicture}[showgrid](-1,-3)(7,5)
pstTriangle(2,4){A}(0,0){B}(6,0){C}
pstCircleABC[PosAngle=60]{A}{B}{C}{O}
pstHomO[HomCoef=0.6666]{A}{B}[M]% 2/3 --> 0.6666
pstRotation[AngleCoef=0.3333,RotAngle=pstAngleAOB{C}{O}{A}]{O}{C}[M']
end{pspicture}
end{document}
Note: AngleCoef
must come before RotAngle
. It is not commutative!
Step 3 (Final)
documentclass[pstricks,12pt,border=15pt]{standalone}
usepackage{pst-eucl}
begin{document}
begin{pspicture}[showgrid=false](-1,-3)(7,5)
pstTriangle(2,4){A}(0,0){B}(6,0){C}
pstCircleABC[PosAngle=225]{A}{B}{C}{O}
pstHomO[HomCoef=0.6666]{A}{B}[M]% 2/3 --> 0.6666
pstRotation[AngleCoef=0.3333,RotAngle=pstAngleAOB{C}{O}{A}]{O}{C}[M']
psset{PointName=none,PointSymbol=none}
pstRotation[AngleCoef=0.3333,RotAngle=pstAngleAOB{B}{A}{C}]{A}{B}[P1]
pstRotation[AngleCoef=0.6666,RotAngle=pstAngleAOB{B}{A}{C}]{A}{B}[P2]
pstInterLL{B}{C}{A}{P1}{Q1}
pstInterLL{B}{C}{A}{P2}{Q2}
psset{Mark=MarkHash,MarkAngle=90,MarkAngleRadius=.8}
pstMarkAngle{B}{A}{Q1}{}
pstMarkAngle{Q1}{A}{Q2}{}
pstMarkAngle{Q2}{A}{C}{}
psset{linestyle=dashed}
psline(A)(Q1)
psline(A)(Q2)
end{pspicture}
end{document}
Note: We have pstSegmentMark
(ends with Mark
) to mark a segment but we have pstMarkAngle
(begins with Mark
) to mark an angle. It seems the package author likes making inconsistent names.
Last Edit
pscalculate
from pst-calculate
package can make me possible to insert infix calculations fed to the HomCoef
and AngleCoef
.
documentclass[pstricks,12pt,border=15pt]{standalone}
usepackage{pst-eucl}
usepackage{pst-calculate}
begin{document}
begin{pspicture}[showgrid=false](-1,-3)(7,5)
pstTriangle(2,4){A}(0,0){B}(6,0){C}
pstCircleABC[PosAngle=225]{A}{B}{C}{O}
pstHomO[HomCoef=pscalculate{2/3}]{A}{B}[M]% Now without hard coded 0.6666
pstRotation[AngleCoef=pscalculate{1/3},RotAngle=pstAngleAOB{C}{O}{A}]{O}{C}[M']
psset{PointName=none,PointSymbol=none}
pstRotation[AngleCoef=pscalculate{1/3},RotAngle=pstAngleAOB{B}{A}{C}]{A}{B}[P1]
pstRotation[AngleCoef=pscalculate{2/3},RotAngle=pstAngleAOB{B}{A}{C}]{A}{B}[P2]
pstInterLL{B}{C}{A}{P1}{Q1}
pstInterLL{B}{C}{A}{P2}{Q2}
psset{Mark=MarkHash,MarkAngle=90,MarkAngleRadius=.8}
pstMarkAngle{B}{A}{Q1}{}
pstMarkAngle{Q1}{A}{Q2}{}
pstMarkAngle{Q2}{A}{C}{}
psset{linestyle=dashed}
psline(A)(Q1)
psline(A)(Q2)
end{pspicture}
end{document}
1
Very good. This is a exciting trick.
– chishimotoji
Dec 10 '18 at 13:44
add a comment |
Step 1
documentclass[pstricks,12pt,border=15pt]{standalone}
usepackage{pst-eucl}
begin{document}
begin{pspicture}[showgrid](-1,-3)(7,5)
pstTriangle(2,4){A}(0,0){B}(6,0){C}
pstCircleABC[PosAngle=60]{A}{B}{C}{O}
pstHomO[HomCoef=0.6666]{A}{B}[M]% 2/3 --> 0.6666
end{pspicture}
end{document}
Note: HomCoef
cannot accept RPN 2 3 div
so I have to insert 0.6666
(3 decimals places should suffice, I think).
Step 2
documentclass[pstricks,12pt,border=15pt]{standalone}
usepackage{pst-eucl}
begin{document}
begin{pspicture}[showgrid](-1,-3)(7,5)
pstTriangle(2,4){A}(0,0){B}(6,0){C}
pstCircleABC[PosAngle=60]{A}{B}{C}{O}
pstHomO[HomCoef=0.6666]{A}{B}[M]% 2/3 --> 0.6666
pstRotation[AngleCoef=0.3333,RotAngle=pstAngleAOB{C}{O}{A}]{O}{C}[M']
end{pspicture}
end{document}
Note: AngleCoef
must come before RotAngle
. It is not commutative!
Step 3 (Final)
documentclass[pstricks,12pt,border=15pt]{standalone}
usepackage{pst-eucl}
begin{document}
begin{pspicture}[showgrid=false](-1,-3)(7,5)
pstTriangle(2,4){A}(0,0){B}(6,0){C}
pstCircleABC[PosAngle=225]{A}{B}{C}{O}
pstHomO[HomCoef=0.6666]{A}{B}[M]% 2/3 --> 0.6666
pstRotation[AngleCoef=0.3333,RotAngle=pstAngleAOB{C}{O}{A}]{O}{C}[M']
psset{PointName=none,PointSymbol=none}
pstRotation[AngleCoef=0.3333,RotAngle=pstAngleAOB{B}{A}{C}]{A}{B}[P1]
pstRotation[AngleCoef=0.6666,RotAngle=pstAngleAOB{B}{A}{C}]{A}{B}[P2]
pstInterLL{B}{C}{A}{P1}{Q1}
pstInterLL{B}{C}{A}{P2}{Q2}
psset{Mark=MarkHash,MarkAngle=90,MarkAngleRadius=.8}
pstMarkAngle{B}{A}{Q1}{}
pstMarkAngle{Q1}{A}{Q2}{}
pstMarkAngle{Q2}{A}{C}{}
psset{linestyle=dashed}
psline(A)(Q1)
psline(A)(Q2)
end{pspicture}
end{document}
Note: We have pstSegmentMark
(ends with Mark
) to mark a segment but we have pstMarkAngle
(begins with Mark
) to mark an angle. It seems the package author likes making inconsistent names.
Last Edit
pscalculate
from pst-calculate
package can make me possible to insert infix calculations fed to the HomCoef
and AngleCoef
.
documentclass[pstricks,12pt,border=15pt]{standalone}
usepackage{pst-eucl}
usepackage{pst-calculate}
begin{document}
begin{pspicture}[showgrid=false](-1,-3)(7,5)
pstTriangle(2,4){A}(0,0){B}(6,0){C}
pstCircleABC[PosAngle=225]{A}{B}{C}{O}
pstHomO[HomCoef=pscalculate{2/3}]{A}{B}[M]% Now without hard coded 0.6666
pstRotation[AngleCoef=pscalculate{1/3},RotAngle=pstAngleAOB{C}{O}{A}]{O}{C}[M']
psset{PointName=none,PointSymbol=none}
pstRotation[AngleCoef=pscalculate{1/3},RotAngle=pstAngleAOB{B}{A}{C}]{A}{B}[P1]
pstRotation[AngleCoef=pscalculate{2/3},RotAngle=pstAngleAOB{B}{A}{C}]{A}{B}[P2]
pstInterLL{B}{C}{A}{P1}{Q1}
pstInterLL{B}{C}{A}{P2}{Q2}
psset{Mark=MarkHash,MarkAngle=90,MarkAngleRadius=.8}
pstMarkAngle{B}{A}{Q1}{}
pstMarkAngle{Q1}{A}{Q2}{}
pstMarkAngle{Q2}{A}{C}{}
psset{linestyle=dashed}
psline(A)(Q1)
psline(A)(Q2)
end{pspicture}
end{document}
1
Very good. This is a exciting trick.
– chishimotoji
Dec 10 '18 at 13:44
add a comment |
Step 1
documentclass[pstricks,12pt,border=15pt]{standalone}
usepackage{pst-eucl}
begin{document}
begin{pspicture}[showgrid](-1,-3)(7,5)
pstTriangle(2,4){A}(0,0){B}(6,0){C}
pstCircleABC[PosAngle=60]{A}{B}{C}{O}
pstHomO[HomCoef=0.6666]{A}{B}[M]% 2/3 --> 0.6666
end{pspicture}
end{document}
Note: HomCoef
cannot accept RPN 2 3 div
so I have to insert 0.6666
(3 decimals places should suffice, I think).
Step 2
documentclass[pstricks,12pt,border=15pt]{standalone}
usepackage{pst-eucl}
begin{document}
begin{pspicture}[showgrid](-1,-3)(7,5)
pstTriangle(2,4){A}(0,0){B}(6,0){C}
pstCircleABC[PosAngle=60]{A}{B}{C}{O}
pstHomO[HomCoef=0.6666]{A}{B}[M]% 2/3 --> 0.6666
pstRotation[AngleCoef=0.3333,RotAngle=pstAngleAOB{C}{O}{A}]{O}{C}[M']
end{pspicture}
end{document}
Note: AngleCoef
must come before RotAngle
. It is not commutative!
Step 3 (Final)
documentclass[pstricks,12pt,border=15pt]{standalone}
usepackage{pst-eucl}
begin{document}
begin{pspicture}[showgrid=false](-1,-3)(7,5)
pstTriangle(2,4){A}(0,0){B}(6,0){C}
pstCircleABC[PosAngle=225]{A}{B}{C}{O}
pstHomO[HomCoef=0.6666]{A}{B}[M]% 2/3 --> 0.6666
pstRotation[AngleCoef=0.3333,RotAngle=pstAngleAOB{C}{O}{A}]{O}{C}[M']
psset{PointName=none,PointSymbol=none}
pstRotation[AngleCoef=0.3333,RotAngle=pstAngleAOB{B}{A}{C}]{A}{B}[P1]
pstRotation[AngleCoef=0.6666,RotAngle=pstAngleAOB{B}{A}{C}]{A}{B}[P2]
pstInterLL{B}{C}{A}{P1}{Q1}
pstInterLL{B}{C}{A}{P2}{Q2}
psset{Mark=MarkHash,MarkAngle=90,MarkAngleRadius=.8}
pstMarkAngle{B}{A}{Q1}{}
pstMarkAngle{Q1}{A}{Q2}{}
pstMarkAngle{Q2}{A}{C}{}
psset{linestyle=dashed}
psline(A)(Q1)
psline(A)(Q2)
end{pspicture}
end{document}
Note: We have pstSegmentMark
(ends with Mark
) to mark a segment but we have pstMarkAngle
(begins with Mark
) to mark an angle. It seems the package author likes making inconsistent names.
Last Edit
pscalculate
from pst-calculate
package can make me possible to insert infix calculations fed to the HomCoef
and AngleCoef
.
documentclass[pstricks,12pt,border=15pt]{standalone}
usepackage{pst-eucl}
usepackage{pst-calculate}
begin{document}
begin{pspicture}[showgrid=false](-1,-3)(7,5)
pstTriangle(2,4){A}(0,0){B}(6,0){C}
pstCircleABC[PosAngle=225]{A}{B}{C}{O}
pstHomO[HomCoef=pscalculate{2/3}]{A}{B}[M]% Now without hard coded 0.6666
pstRotation[AngleCoef=pscalculate{1/3},RotAngle=pstAngleAOB{C}{O}{A}]{O}{C}[M']
psset{PointName=none,PointSymbol=none}
pstRotation[AngleCoef=pscalculate{1/3},RotAngle=pstAngleAOB{B}{A}{C}]{A}{B}[P1]
pstRotation[AngleCoef=pscalculate{2/3},RotAngle=pstAngleAOB{B}{A}{C}]{A}{B}[P2]
pstInterLL{B}{C}{A}{P1}{Q1}
pstInterLL{B}{C}{A}{P2}{Q2}
psset{Mark=MarkHash,MarkAngle=90,MarkAngleRadius=.8}
pstMarkAngle{B}{A}{Q1}{}
pstMarkAngle{Q1}{A}{Q2}{}
pstMarkAngle{Q2}{A}{C}{}
psset{linestyle=dashed}
psline(A)(Q1)
psline(A)(Q2)
end{pspicture}
end{document}
Step 1
documentclass[pstricks,12pt,border=15pt]{standalone}
usepackage{pst-eucl}
begin{document}
begin{pspicture}[showgrid](-1,-3)(7,5)
pstTriangle(2,4){A}(0,0){B}(6,0){C}
pstCircleABC[PosAngle=60]{A}{B}{C}{O}
pstHomO[HomCoef=0.6666]{A}{B}[M]% 2/3 --> 0.6666
end{pspicture}
end{document}
Note: HomCoef
cannot accept RPN 2 3 div
so I have to insert 0.6666
(3 decimals places should suffice, I think).
Step 2
documentclass[pstricks,12pt,border=15pt]{standalone}
usepackage{pst-eucl}
begin{document}
begin{pspicture}[showgrid](-1,-3)(7,5)
pstTriangle(2,4){A}(0,0){B}(6,0){C}
pstCircleABC[PosAngle=60]{A}{B}{C}{O}
pstHomO[HomCoef=0.6666]{A}{B}[M]% 2/3 --> 0.6666
pstRotation[AngleCoef=0.3333,RotAngle=pstAngleAOB{C}{O}{A}]{O}{C}[M']
end{pspicture}
end{document}
Note: AngleCoef
must come before RotAngle
. It is not commutative!
Step 3 (Final)
documentclass[pstricks,12pt,border=15pt]{standalone}
usepackage{pst-eucl}
begin{document}
begin{pspicture}[showgrid=false](-1,-3)(7,5)
pstTriangle(2,4){A}(0,0){B}(6,0){C}
pstCircleABC[PosAngle=225]{A}{B}{C}{O}
pstHomO[HomCoef=0.6666]{A}{B}[M]% 2/3 --> 0.6666
pstRotation[AngleCoef=0.3333,RotAngle=pstAngleAOB{C}{O}{A}]{O}{C}[M']
psset{PointName=none,PointSymbol=none}
pstRotation[AngleCoef=0.3333,RotAngle=pstAngleAOB{B}{A}{C}]{A}{B}[P1]
pstRotation[AngleCoef=0.6666,RotAngle=pstAngleAOB{B}{A}{C}]{A}{B}[P2]
pstInterLL{B}{C}{A}{P1}{Q1}
pstInterLL{B}{C}{A}{P2}{Q2}
psset{Mark=MarkHash,MarkAngle=90,MarkAngleRadius=.8}
pstMarkAngle{B}{A}{Q1}{}
pstMarkAngle{Q1}{A}{Q2}{}
pstMarkAngle{Q2}{A}{C}{}
psset{linestyle=dashed}
psline(A)(Q1)
psline(A)(Q2)
end{pspicture}
end{document}
Note: We have pstSegmentMark
(ends with Mark
) to mark a segment but we have pstMarkAngle
(begins with Mark
) to mark an angle. It seems the package author likes making inconsistent names.
Last Edit
pscalculate
from pst-calculate
package can make me possible to insert infix calculations fed to the HomCoef
and AngleCoef
.
documentclass[pstricks,12pt,border=15pt]{standalone}
usepackage{pst-eucl}
usepackage{pst-calculate}
begin{document}
begin{pspicture}[showgrid=false](-1,-3)(7,5)
pstTriangle(2,4){A}(0,0){B}(6,0){C}
pstCircleABC[PosAngle=225]{A}{B}{C}{O}
pstHomO[HomCoef=pscalculate{2/3}]{A}{B}[M]% Now without hard coded 0.6666
pstRotation[AngleCoef=pscalculate{1/3},RotAngle=pstAngleAOB{C}{O}{A}]{O}{C}[M']
psset{PointName=none,PointSymbol=none}
pstRotation[AngleCoef=pscalculate{1/3},RotAngle=pstAngleAOB{B}{A}{C}]{A}{B}[P1]
pstRotation[AngleCoef=pscalculate{2/3},RotAngle=pstAngleAOB{B}{A}{C}]{A}{B}[P2]
pstInterLL{B}{C}{A}{P1}{Q1}
pstInterLL{B}{C}{A}{P2}{Q2}
psset{Mark=MarkHash,MarkAngle=90,MarkAngleRadius=.8}
pstMarkAngle{B}{A}{Q1}{}
pstMarkAngle{Q1}{A}{Q2}{}
pstMarkAngle{Q2}{A}{C}{}
psset{linestyle=dashed}
psline(A)(Q1)
psline(A)(Q2)
end{pspicture}
end{document}
edited Dec 10 '18 at 13:41
answered Dec 10 '18 at 9:40
God Must Be Crazy
5,60511039
5,60511039
1
Very good. This is a exciting trick.
– chishimotoji
Dec 10 '18 at 13:44
add a comment |
1
Very good. This is a exciting trick.
– chishimotoji
Dec 10 '18 at 13:44
1
1
Very good. This is a exciting trick.
– chishimotoji
Dec 10 '18 at 13:44
Very good. This is a exciting trick.
– chishimotoji
Dec 10 '18 at 13:44
add a comment |
documentclass[pstricks,12pt,border=15pt]{standalone}
usepackage{pst-eucl}
begin{document}
begin{pspicture}[showgrid](-1,-3)(7,5)
pstTriangle(2,4){A}(0,0){B}(6,0){C}
pstCircleABC[PosAngle=60]{A}{B}{C}{O}
pstHomO[HomCoef=0.667]{A}{B}[M]
pstRotation[AngleCoef=0.333,RotAngle=pstAngleAOB{C}{O}{A}]{O}{C}[M']
psset{PointSymbol=none,PointName=none}
pstRotation[AngleCoef=0.333,RotAngle=pstAngleAOB{B}{A}{C}]{A}{B}[M1]
pstRotation[AngleCoef=0.667,RotAngle=pstAngleAOB{B}{A}{C}]{A}{B}[M2]
pcline[linestyle=dashed](A)(M1)
pcline[linestyle=dashed](A)(M2)
end{pspicture}
end{document}
Mr. Herbert, could you modify theHomCoef
andAngleCoef
to be able to accept postfix notation? Defining a new command namedpstAngleMark
as an alias ofpstMarkAngle
. Modifying the core such thatAngleCoef
andRotAngle
can be interchanged. Thank you!
– God Must Be Crazy
Dec 10 '18 at 10:41
I found a "bug" inpsCircleTangents
. See my answer. Try changex
from3
to5
with step 1. The tangent line moves from one side to opposite side when the radii change from smaller to equal.
– God Must Be Crazy
Dec 10 '18 at 17:41
add a comment |
documentclass[pstricks,12pt,border=15pt]{standalone}
usepackage{pst-eucl}
begin{document}
begin{pspicture}[showgrid](-1,-3)(7,5)
pstTriangle(2,4){A}(0,0){B}(6,0){C}
pstCircleABC[PosAngle=60]{A}{B}{C}{O}
pstHomO[HomCoef=0.667]{A}{B}[M]
pstRotation[AngleCoef=0.333,RotAngle=pstAngleAOB{C}{O}{A}]{O}{C}[M']
psset{PointSymbol=none,PointName=none}
pstRotation[AngleCoef=0.333,RotAngle=pstAngleAOB{B}{A}{C}]{A}{B}[M1]
pstRotation[AngleCoef=0.667,RotAngle=pstAngleAOB{B}{A}{C}]{A}{B}[M2]
pcline[linestyle=dashed](A)(M1)
pcline[linestyle=dashed](A)(M2)
end{pspicture}
end{document}
Mr. Herbert, could you modify theHomCoef
andAngleCoef
to be able to accept postfix notation? Defining a new command namedpstAngleMark
as an alias ofpstMarkAngle
. Modifying the core such thatAngleCoef
andRotAngle
can be interchanged. Thank you!
– God Must Be Crazy
Dec 10 '18 at 10:41
I found a "bug" inpsCircleTangents
. See my answer. Try changex
from3
to5
with step 1. The tangent line moves from one side to opposite side when the radii change from smaller to equal.
– God Must Be Crazy
Dec 10 '18 at 17:41
add a comment |
documentclass[pstricks,12pt,border=15pt]{standalone}
usepackage{pst-eucl}
begin{document}
begin{pspicture}[showgrid](-1,-3)(7,5)
pstTriangle(2,4){A}(0,0){B}(6,0){C}
pstCircleABC[PosAngle=60]{A}{B}{C}{O}
pstHomO[HomCoef=0.667]{A}{B}[M]
pstRotation[AngleCoef=0.333,RotAngle=pstAngleAOB{C}{O}{A}]{O}{C}[M']
psset{PointSymbol=none,PointName=none}
pstRotation[AngleCoef=0.333,RotAngle=pstAngleAOB{B}{A}{C}]{A}{B}[M1]
pstRotation[AngleCoef=0.667,RotAngle=pstAngleAOB{B}{A}{C}]{A}{B}[M2]
pcline[linestyle=dashed](A)(M1)
pcline[linestyle=dashed](A)(M2)
end{pspicture}
end{document}
documentclass[pstricks,12pt,border=15pt]{standalone}
usepackage{pst-eucl}
begin{document}
begin{pspicture}[showgrid](-1,-3)(7,5)
pstTriangle(2,4){A}(0,0){B}(6,0){C}
pstCircleABC[PosAngle=60]{A}{B}{C}{O}
pstHomO[HomCoef=0.667]{A}{B}[M]
pstRotation[AngleCoef=0.333,RotAngle=pstAngleAOB{C}{O}{A}]{O}{C}[M']
psset{PointSymbol=none,PointName=none}
pstRotation[AngleCoef=0.333,RotAngle=pstAngleAOB{B}{A}{C}]{A}{B}[M1]
pstRotation[AngleCoef=0.667,RotAngle=pstAngleAOB{B}{A}{C}]{A}{B}[M2]
pcline[linestyle=dashed](A)(M1)
pcline[linestyle=dashed](A)(M2)
end{pspicture}
end{document}
edited Dec 10 '18 at 10:09
answered Dec 10 '18 at 10:04
Herbert
269k24408717
269k24408717
Mr. Herbert, could you modify theHomCoef
andAngleCoef
to be able to accept postfix notation? Defining a new command namedpstAngleMark
as an alias ofpstMarkAngle
. Modifying the core such thatAngleCoef
andRotAngle
can be interchanged. Thank you!
– God Must Be Crazy
Dec 10 '18 at 10:41
I found a "bug" inpsCircleTangents
. See my answer. Try changex
from3
to5
with step 1. The tangent line moves from one side to opposite side when the radii change from smaller to equal.
– God Must Be Crazy
Dec 10 '18 at 17:41
add a comment |
Mr. Herbert, could you modify theHomCoef
andAngleCoef
to be able to accept postfix notation? Defining a new command namedpstAngleMark
as an alias ofpstMarkAngle
. Modifying the core such thatAngleCoef
andRotAngle
can be interchanged. Thank you!
– God Must Be Crazy
Dec 10 '18 at 10:41
I found a "bug" inpsCircleTangents
. See my answer. Try changex
from3
to5
with step 1. The tangent line moves from one side to opposite side when the radii change from smaller to equal.
– God Must Be Crazy
Dec 10 '18 at 17:41
Mr. Herbert, could you modify the
HomCoef
and AngleCoef
to be able to accept postfix notation? Defining a new command named pstAngleMark
as an alias of pstMarkAngle
. Modifying the core such that AngleCoef
and RotAngle
can be interchanged. Thank you!– God Must Be Crazy
Dec 10 '18 at 10:41
Mr. Herbert, could you modify the
HomCoef
and AngleCoef
to be able to accept postfix notation? Defining a new command named pstAngleMark
as an alias of pstMarkAngle
. Modifying the core such that AngleCoef
and RotAngle
can be interchanged. Thank you!– God Must Be Crazy
Dec 10 '18 at 10:41
I found a "bug" in
psCircleTangents
. See my answer. Try change x
from 3
to 5
with step 1. The tangent line moves from one side to opposite side when the radii change from smaller to equal.– God Must Be Crazy
Dec 10 '18 at 17:41
I found a "bug" in
psCircleTangents
. See my answer. Try change x
from 3
to 5
with step 1. The tangent line moves from one side to opposite side when the radii change from smaller to equal.– God Must Be Crazy
Dec 10 '18 at 17:41
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f464092%2fhow-to-divide-arc-line-and-angle-with-a-certain-ratio%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
Can you explain your second question more clearly please? what do you mean by "BUT are ..."
– Thruston
Dec 10 '18 at 9:16
@Thruston In pst-eucl documentation, only to draw one bisector, " BUT are " is equivalent " to get". My English is not so good. :-))
– chishimotoji
Dec 10 '18 at 9:19