How to clip and draw a picture approximately?pst-eucl bold labels and arc sizesDraw arrow in pictureHow to clip a PSTricks image to its boundariesLaTeX Trellis Diagrams for STBCsDraw a figure with pst-euclHow to divide arc, line, and angle with a certain ratio?How to draw incircle (inscribed circle)?How to find points M and N such that AM=CN=BC only with a straight edge and a compass?How to blunt sharp joints?How to delete unnecessary dot?
Algorithmic thinking problems
Big equation writing in LaTeX
Is Chika Ofili's method for checking divisibility for 7 a "new discovery" in math?
Help me pair my socks
A bob hanging in an accelerating train moves backward. What is the force moving it backward?
Contacted by head of school regarding an issue - should I be worried?
Why don't electrical receptacles have more than one ground?
Why are Trump's handwritten notes being focused on in the news?
According to who?
Today‘s scale factor of the universe
How to equalize the chance of throwing the highest dice? (Riddle)
Do Klingons have escape pods?
Too many pull requests in backlog
Why is SpaceX not also working on a smaller version of Starship?
Does my workplace lack guidance or is it my lack of skills?
Can Vice President Pence be impeached before President Trump?
Using nicht where kein should be
Back with another one-line wonder!
What is the best way to go about re-learning an instrument?
What is the largest piece of space debris volumetrically?
What does "Massage with salt" mean in a recipe?
How can I swallow pills more easily?
Why I am not getting True when testing equation?
How do I negotiate salary when returning to a position I just left?
How to clip and draw a picture approximately?
pst-eucl bold labels and arc sizesDraw arrow in pictureHow to clip a PSTricks image to its boundariesLaTeX Trellis Diagrams for STBCsDraw a figure with pst-euclHow to divide arc, line, and angle with a certain ratio?How to draw incircle (inscribed circle)?How to find points M and N such that AM=CN=BC only with a straight edge and a compass?How to blunt sharp joints?How to delete unnecessary dot?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;
documentclass[border=10pt]standalone
usepackagepst-eucl,pst-text,pstricks-add,pst-grad
usepackagemathptmx
begindocument
beginpspicture[showgrid](-5,-5)(10,5)
psframe*[fillstyle=solid,opacity=.5](-5,-5)(10,5)
pssetPointName=none,PointSymbol=none,linewidth=4.5pt,linejoin=2
pnodes(5;100)A(5;160)B(5;-55)C(0,0)O
pstCGravABCABCG
pstTriangleIC[linestyle=none]ABC
pstBissectBAC[linestyle=none]BACA'
pstBissectBAC[linestyle=none]ACBC'
pstInterLL[PointSymbol=square]AA'CC'I
pstMiddleABBCM
pstInterLLAIMOE
psline[linecolor=red!50](O)(E)(A)(M)
cnodeput[linestyle=none,fillstyle=solid,fillcolor=red!50](IC_O)I'textbfI
cnodeput[linestyle=none,fillstyle=solid,fillcolor=red!50](G)G'textbfG
cnodeput[linestyle=none,fillstyle=solid,fillcolor=red!50](O)O'textbfO
%%%
definecolorColorMhsb0.99999, 1, 1
definecolorColorNhsb0, 0, 1
pspolygon[linewidth=7pt,gradbegin=ColorM,gradend=ColorN](A)(B)(C) %% !?
pscircle(0,0)5
%%%%
pssetfillstyle=gradient,gradbegin=red!50!orange,gradend=yellow!70,gradangle=50
DeclareFixedFontRMT1ptmbn1.7cm
beginpscharclip[linewidth=0.1pt]%
rput(3.25,2.75)RM Iranian% (3.25,2.75)!?
endpscharclip
beginpscharclip[linewidth=0.1pt]%
rput(4.5,1.2)RM Geometry% (4.5,1.2)!?
endpscharclip
beginpscharclip[linewidth=0.1pt]%
rput(5,-.25)RM Olympiad% (5,-.25)!?
endpscharclip
endpspicture
enddocument
The official image:
https://igo-official.ir/static/intro/images/logo.png
Question:
- The gradient can be used for
line
? - As the image ouput, I see the circle of I is smaller than G and O? How to fix?
- See
!?
in the image output, how to delete the extra white space? - How to clip
the part of content
inside circle (I tried but it is failed.) and arrange it evenly?(See the official image) - I don't have the knowledge about
font
, so can anyone tell me know?
(Yes, not drawing exactly, only need approximately)
pstricks pst-eucl pst-grad
add a comment
|
documentclass[border=10pt]standalone
usepackagepst-eucl,pst-text,pstricks-add,pst-grad
usepackagemathptmx
begindocument
beginpspicture[showgrid](-5,-5)(10,5)
psframe*[fillstyle=solid,opacity=.5](-5,-5)(10,5)
pssetPointName=none,PointSymbol=none,linewidth=4.5pt,linejoin=2
pnodes(5;100)A(5;160)B(5;-55)C(0,0)O
pstCGravABCABCG
pstTriangleIC[linestyle=none]ABC
pstBissectBAC[linestyle=none]BACA'
pstBissectBAC[linestyle=none]ACBC'
pstInterLL[PointSymbol=square]AA'CC'I
pstMiddleABBCM
pstInterLLAIMOE
psline[linecolor=red!50](O)(E)(A)(M)
cnodeput[linestyle=none,fillstyle=solid,fillcolor=red!50](IC_O)I'textbfI
cnodeput[linestyle=none,fillstyle=solid,fillcolor=red!50](G)G'textbfG
cnodeput[linestyle=none,fillstyle=solid,fillcolor=red!50](O)O'textbfO
%%%
definecolorColorMhsb0.99999, 1, 1
definecolorColorNhsb0, 0, 1
pspolygon[linewidth=7pt,gradbegin=ColorM,gradend=ColorN](A)(B)(C) %% !?
pscircle(0,0)5
%%%%
pssetfillstyle=gradient,gradbegin=red!50!orange,gradend=yellow!70,gradangle=50
DeclareFixedFontRMT1ptmbn1.7cm
beginpscharclip[linewidth=0.1pt]%
rput(3.25,2.75)RM Iranian% (3.25,2.75)!?
endpscharclip
beginpscharclip[linewidth=0.1pt]%
rput(4.5,1.2)RM Geometry% (4.5,1.2)!?
endpscharclip
beginpscharclip[linewidth=0.1pt]%
rput(5,-.25)RM Olympiad% (5,-.25)!?
endpscharclip
endpspicture
enddocument
The official image:
https://igo-official.ir/static/intro/images/logo.png
Question:
- The gradient can be used for
line
? - As the image ouput, I see the circle of I is smaller than G and O? How to fix?
- See
!?
in the image output, how to delete the extra white space? - How to clip
the part of content
inside circle (I tried but it is failed.) and arrange it evenly?(See the official image) - I don't have the knowledge about
font
, so can anyone tell me know?
(Yes, not drawing exactly, only need approximately)
pstricks pst-eucl pst-grad
add a comment
|
documentclass[border=10pt]standalone
usepackagepst-eucl,pst-text,pstricks-add,pst-grad
usepackagemathptmx
begindocument
beginpspicture[showgrid](-5,-5)(10,5)
psframe*[fillstyle=solid,opacity=.5](-5,-5)(10,5)
pssetPointName=none,PointSymbol=none,linewidth=4.5pt,linejoin=2
pnodes(5;100)A(5;160)B(5;-55)C(0,0)O
pstCGravABCABCG
pstTriangleIC[linestyle=none]ABC
pstBissectBAC[linestyle=none]BACA'
pstBissectBAC[linestyle=none]ACBC'
pstInterLL[PointSymbol=square]AA'CC'I
pstMiddleABBCM
pstInterLLAIMOE
psline[linecolor=red!50](O)(E)(A)(M)
cnodeput[linestyle=none,fillstyle=solid,fillcolor=red!50](IC_O)I'textbfI
cnodeput[linestyle=none,fillstyle=solid,fillcolor=red!50](G)G'textbfG
cnodeput[linestyle=none,fillstyle=solid,fillcolor=red!50](O)O'textbfO
%%%
definecolorColorMhsb0.99999, 1, 1
definecolorColorNhsb0, 0, 1
pspolygon[linewidth=7pt,gradbegin=ColorM,gradend=ColorN](A)(B)(C) %% !?
pscircle(0,0)5
%%%%
pssetfillstyle=gradient,gradbegin=red!50!orange,gradend=yellow!70,gradangle=50
DeclareFixedFontRMT1ptmbn1.7cm
beginpscharclip[linewidth=0.1pt]%
rput(3.25,2.75)RM Iranian% (3.25,2.75)!?
endpscharclip
beginpscharclip[linewidth=0.1pt]%
rput(4.5,1.2)RM Geometry% (4.5,1.2)!?
endpscharclip
beginpscharclip[linewidth=0.1pt]%
rput(5,-.25)RM Olympiad% (5,-.25)!?
endpscharclip
endpspicture
enddocument
The official image:
https://igo-official.ir/static/intro/images/logo.png
Question:
- The gradient can be used for
line
? - As the image ouput, I see the circle of I is smaller than G and O? How to fix?
- See
!?
in the image output, how to delete the extra white space? - How to clip
the part of content
inside circle (I tried but it is failed.) and arrange it evenly?(See the official image) - I don't have the knowledge about
font
, so can anyone tell me know?
(Yes, not drawing exactly, only need approximately)
pstricks pst-eucl pst-grad
documentclass[border=10pt]standalone
usepackagepst-eucl,pst-text,pstricks-add,pst-grad
usepackagemathptmx
begindocument
beginpspicture[showgrid](-5,-5)(10,5)
psframe*[fillstyle=solid,opacity=.5](-5,-5)(10,5)
pssetPointName=none,PointSymbol=none,linewidth=4.5pt,linejoin=2
pnodes(5;100)A(5;160)B(5;-55)C(0,0)O
pstCGravABCABCG
pstTriangleIC[linestyle=none]ABC
pstBissectBAC[linestyle=none]BACA'
pstBissectBAC[linestyle=none]ACBC'
pstInterLL[PointSymbol=square]AA'CC'I
pstMiddleABBCM
pstInterLLAIMOE
psline[linecolor=red!50](O)(E)(A)(M)
cnodeput[linestyle=none,fillstyle=solid,fillcolor=red!50](IC_O)I'textbfI
cnodeput[linestyle=none,fillstyle=solid,fillcolor=red!50](G)G'textbfG
cnodeput[linestyle=none,fillstyle=solid,fillcolor=red!50](O)O'textbfO
%%%
definecolorColorMhsb0.99999, 1, 1
definecolorColorNhsb0, 0, 1
pspolygon[linewidth=7pt,gradbegin=ColorM,gradend=ColorN](A)(B)(C) %% !?
pscircle(0,0)5
%%%%
pssetfillstyle=gradient,gradbegin=red!50!orange,gradend=yellow!70,gradangle=50
DeclareFixedFontRMT1ptmbn1.7cm
beginpscharclip[linewidth=0.1pt]%
rput(3.25,2.75)RM Iranian% (3.25,2.75)!?
endpscharclip
beginpscharclip[linewidth=0.1pt]%
rput(4.5,1.2)RM Geometry% (4.5,1.2)!?
endpscharclip
beginpscharclip[linewidth=0.1pt]%
rput(5,-.25)RM Olympiad% (5,-.25)!?
endpscharclip
endpspicture
enddocument
The official image:
https://igo-official.ir/static/intro/images/logo.png
Question:
- The gradient can be used for
line
? - As the image ouput, I see the circle of I is smaller than G and O? How to fix?
- See
!?
in the image output, how to delete the extra white space? - How to clip
the part of content
inside circle (I tried but it is failed.) and arrange it evenly?(See the official image) - I don't have the knowledge about
font
, so can anyone tell me know?
(Yes, not drawing exactly, only need approximately)
pstricks pst-eucl pst-grad
pstricks pst-eucl pst-grad
edited Sep 16 at 8:20
asked Sep 14 at 11:19
user179355user179355
add a comment
|
add a comment
|
1 Answer
1
active
oldest
votes
documentclassstandalone
usepackagepst-eucl,pst-text,pstricks-add,pst-grad
usepackagemathptmx
DeclareFixedFontRMT1ptmbn1.7cm%
begindocument
beginpspicture[showgrid=false](-5.2,-5.2)(10,5.2)
psframe*[fillstyle=solid,linecolor=black!40,opacity=.9](-5.2,-5.2)(10,5.2)
pscircle*[dimen=inner](0,0)5
%
pssetfillstyle=solid,fillcolor=black!15,linecolor=black!15%
rput[lb](0.5,-1)beginpscharclip[linewidth=0.1pt]%
RMtabular[t]lIranian\~Geometry\~~Olympiadendtabular
endpscharclip%
pssetPointName=none,PointSymbol=none,linewidth=4.5pt,linejoin=2%
pnodes(5;100)A(5;160)B(5;-55)C(0,0)O
pstCGravABCABCG%
pstTriangleIC[linestyle=none]ABC
pstBissectBAC[linestyle=none]BACA'
pstBissectBAC[linestyle=none]ACBC'
pstInterLL[PointSymbol=square]AA'CC'I
pstMiddleABBCM
pstInterLLAIMOE
psline[linecolor=red!50](O)(E)(A)(M)
cnodeput[linestyle=none,fillstyle=solid,fillcolor=red!50](IC_O)I'textbfI
cnodeput[linestyle=none,fillstyle=solid,fillcolor=red!50](G)G'textbfG
cnodeput[linestyle=none,fillstyle=solid,fillcolor=red!50](O)O'textbfO
%%%
definecolorColorMhsb0.99999, 1, 1%
definecolorColorNhsb0, 0, 1%
pspolygon[linewidth=7pt,gradbegin=ColorM,gradend=ColorN,linecolor=black!20](A)(B)(C)
psclippscircle[dimen=inner,linestyle=none](0,0)5
pssetfillstyle=gradient,gradbegin=red!50!orange,gradend=yellow!70,gradangle=50%
rput[lb](0.5,-1)beginpscharclip[linewidth=0.1pt]%
RMtabular[t]lIranian\~Geometry\~~Olympiadendtabular
endpscharclip%
pscircle[dimen=inner,linecolor=red!40,fillstyle=none](0,0)5
endpsclip
endpspicture
enddocument
endpscharclip
needs a %
at the end.
For the circle use dimen=inner
. You can Times or Helvetica as font. The rest can be done by yourself ...
Why is the radius of I smaller:
documentclassarticle
usepackagemathptmx
DeclareFixedFontRMT1ptmbn1.7cm%
newsaveboxCBox
begindocument
begin tabularllll
& width & height & depth \hline
I globalsboxCBoxRM I & thewdCBox & thehtCBox & thedpCBox\
G globalsboxCBoxRM G & thewdCBox & thehtCBox & thedpCBox\
O globalsboxCBoxRM O & thewdCBox & thehtCBox & thedpCBox\
endtabular
enddocument
For I we need at least a diameter of 33,33 pt, but for G and O we need at least a diameter of 37,63 pt ...
for identical circle radius:
documentclass[pstricks,border=12pt]standalone
usepackagepst-node
begindocument
beginpspicture[showgrid=false](5,2)
Cnodeput[radius=5mm](1,1)Leftfoovphantomg% to get the same height
Cnodeput[radius=5mm](4,1)Rightright
endpspicture
enddocument
2
tug.org/PSTricks/main.cgi?file=Examples/Colors/colors#contColor and for IGO usevphantomIGOI
,vphantomIGOG
, ... Then all radii are the same
– user187802
Sep 14 at 19:24
I tried withvphantomIGOI
,vphantomIGOG
, but it is unchanged. You can check. See edited question.
– user179355
Sep 16 at 8:21
my mistake:vphantom
doesn't work here. Use a node macro which allows to define a radius.
– user187802
Sep 16 at 8:23
radius
is also unchanged....
– user179355
Sep 16 at 8:43
Please to checkradius
macro forcnodeput
...
– user179355
Sep 18 at 10:22
|
show 1 more 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/4.0/"u003ecc by-sa 4.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%2f508258%2fhow-to-clip-and-draw-a-picture-approximately%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
documentclassstandalone
usepackagepst-eucl,pst-text,pstricks-add,pst-grad
usepackagemathptmx
DeclareFixedFontRMT1ptmbn1.7cm%
begindocument
beginpspicture[showgrid=false](-5.2,-5.2)(10,5.2)
psframe*[fillstyle=solid,linecolor=black!40,opacity=.9](-5.2,-5.2)(10,5.2)
pscircle*[dimen=inner](0,0)5
%
pssetfillstyle=solid,fillcolor=black!15,linecolor=black!15%
rput[lb](0.5,-1)beginpscharclip[linewidth=0.1pt]%
RMtabular[t]lIranian\~Geometry\~~Olympiadendtabular
endpscharclip%
pssetPointName=none,PointSymbol=none,linewidth=4.5pt,linejoin=2%
pnodes(5;100)A(5;160)B(5;-55)C(0,0)O
pstCGravABCABCG%
pstTriangleIC[linestyle=none]ABC
pstBissectBAC[linestyle=none]BACA'
pstBissectBAC[linestyle=none]ACBC'
pstInterLL[PointSymbol=square]AA'CC'I
pstMiddleABBCM
pstInterLLAIMOE
psline[linecolor=red!50](O)(E)(A)(M)
cnodeput[linestyle=none,fillstyle=solid,fillcolor=red!50](IC_O)I'textbfI
cnodeput[linestyle=none,fillstyle=solid,fillcolor=red!50](G)G'textbfG
cnodeput[linestyle=none,fillstyle=solid,fillcolor=red!50](O)O'textbfO
%%%
definecolorColorMhsb0.99999, 1, 1%
definecolorColorNhsb0, 0, 1%
pspolygon[linewidth=7pt,gradbegin=ColorM,gradend=ColorN,linecolor=black!20](A)(B)(C)
psclippscircle[dimen=inner,linestyle=none](0,0)5
pssetfillstyle=gradient,gradbegin=red!50!orange,gradend=yellow!70,gradangle=50%
rput[lb](0.5,-1)beginpscharclip[linewidth=0.1pt]%
RMtabular[t]lIranian\~Geometry\~~Olympiadendtabular
endpscharclip%
pscircle[dimen=inner,linecolor=red!40,fillstyle=none](0,0)5
endpsclip
endpspicture
enddocument
endpscharclip
needs a %
at the end.
For the circle use dimen=inner
. You can Times or Helvetica as font. The rest can be done by yourself ...
Why is the radius of I smaller:
documentclassarticle
usepackagemathptmx
DeclareFixedFontRMT1ptmbn1.7cm%
newsaveboxCBox
begindocument
begin tabularllll
& width & height & depth \hline
I globalsboxCBoxRM I & thewdCBox & thehtCBox & thedpCBox\
G globalsboxCBoxRM G & thewdCBox & thehtCBox & thedpCBox\
O globalsboxCBoxRM O & thewdCBox & thehtCBox & thedpCBox\
endtabular
enddocument
For I we need at least a diameter of 33,33 pt, but for G and O we need at least a diameter of 37,63 pt ...
for identical circle radius:
documentclass[pstricks,border=12pt]standalone
usepackagepst-node
begindocument
beginpspicture[showgrid=false](5,2)
Cnodeput[radius=5mm](1,1)Leftfoovphantomg% to get the same height
Cnodeput[radius=5mm](4,1)Rightright
endpspicture
enddocument
2
tug.org/PSTricks/main.cgi?file=Examples/Colors/colors#contColor and for IGO usevphantomIGOI
,vphantomIGOG
, ... Then all radii are the same
– user187802
Sep 14 at 19:24
I tried withvphantomIGOI
,vphantomIGOG
, but it is unchanged. You can check. See edited question.
– user179355
Sep 16 at 8:21
my mistake:vphantom
doesn't work here. Use a node macro which allows to define a radius.
– user187802
Sep 16 at 8:23
radius
is also unchanged....
– user179355
Sep 16 at 8:43
Please to checkradius
macro forcnodeput
...
– user179355
Sep 18 at 10:22
|
show 1 more comment
documentclassstandalone
usepackagepst-eucl,pst-text,pstricks-add,pst-grad
usepackagemathptmx
DeclareFixedFontRMT1ptmbn1.7cm%
begindocument
beginpspicture[showgrid=false](-5.2,-5.2)(10,5.2)
psframe*[fillstyle=solid,linecolor=black!40,opacity=.9](-5.2,-5.2)(10,5.2)
pscircle*[dimen=inner](0,0)5
%
pssetfillstyle=solid,fillcolor=black!15,linecolor=black!15%
rput[lb](0.5,-1)beginpscharclip[linewidth=0.1pt]%
RMtabular[t]lIranian\~Geometry\~~Olympiadendtabular
endpscharclip%
pssetPointName=none,PointSymbol=none,linewidth=4.5pt,linejoin=2%
pnodes(5;100)A(5;160)B(5;-55)C(0,0)O
pstCGravABCABCG%
pstTriangleIC[linestyle=none]ABC
pstBissectBAC[linestyle=none]BACA'
pstBissectBAC[linestyle=none]ACBC'
pstInterLL[PointSymbol=square]AA'CC'I
pstMiddleABBCM
pstInterLLAIMOE
psline[linecolor=red!50](O)(E)(A)(M)
cnodeput[linestyle=none,fillstyle=solid,fillcolor=red!50](IC_O)I'textbfI
cnodeput[linestyle=none,fillstyle=solid,fillcolor=red!50](G)G'textbfG
cnodeput[linestyle=none,fillstyle=solid,fillcolor=red!50](O)O'textbfO
%%%
definecolorColorMhsb0.99999, 1, 1%
definecolorColorNhsb0, 0, 1%
pspolygon[linewidth=7pt,gradbegin=ColorM,gradend=ColorN,linecolor=black!20](A)(B)(C)
psclippscircle[dimen=inner,linestyle=none](0,0)5
pssetfillstyle=gradient,gradbegin=red!50!orange,gradend=yellow!70,gradangle=50%
rput[lb](0.5,-1)beginpscharclip[linewidth=0.1pt]%
RMtabular[t]lIranian\~Geometry\~~Olympiadendtabular
endpscharclip%
pscircle[dimen=inner,linecolor=red!40,fillstyle=none](0,0)5
endpsclip
endpspicture
enddocument
endpscharclip
needs a %
at the end.
For the circle use dimen=inner
. You can Times or Helvetica as font. The rest can be done by yourself ...
Why is the radius of I smaller:
documentclassarticle
usepackagemathptmx
DeclareFixedFontRMT1ptmbn1.7cm%
newsaveboxCBox
begindocument
begin tabularllll
& width & height & depth \hline
I globalsboxCBoxRM I & thewdCBox & thehtCBox & thedpCBox\
G globalsboxCBoxRM G & thewdCBox & thehtCBox & thedpCBox\
O globalsboxCBoxRM O & thewdCBox & thehtCBox & thedpCBox\
endtabular
enddocument
For I we need at least a diameter of 33,33 pt, but for G and O we need at least a diameter of 37,63 pt ...
for identical circle radius:
documentclass[pstricks,border=12pt]standalone
usepackagepst-node
begindocument
beginpspicture[showgrid=false](5,2)
Cnodeput[radius=5mm](1,1)Leftfoovphantomg% to get the same height
Cnodeput[radius=5mm](4,1)Rightright
endpspicture
enddocument
2
tug.org/PSTricks/main.cgi?file=Examples/Colors/colors#contColor and for IGO usevphantomIGOI
,vphantomIGOG
, ... Then all radii are the same
– user187802
Sep 14 at 19:24
I tried withvphantomIGOI
,vphantomIGOG
, but it is unchanged. You can check. See edited question.
– user179355
Sep 16 at 8:21
my mistake:vphantom
doesn't work here. Use a node macro which allows to define a radius.
– user187802
Sep 16 at 8:23
radius
is also unchanged....
– user179355
Sep 16 at 8:43
Please to checkradius
macro forcnodeput
...
– user179355
Sep 18 at 10:22
|
show 1 more comment
documentclassstandalone
usepackagepst-eucl,pst-text,pstricks-add,pst-grad
usepackagemathptmx
DeclareFixedFontRMT1ptmbn1.7cm%
begindocument
beginpspicture[showgrid=false](-5.2,-5.2)(10,5.2)
psframe*[fillstyle=solid,linecolor=black!40,opacity=.9](-5.2,-5.2)(10,5.2)
pscircle*[dimen=inner](0,0)5
%
pssetfillstyle=solid,fillcolor=black!15,linecolor=black!15%
rput[lb](0.5,-1)beginpscharclip[linewidth=0.1pt]%
RMtabular[t]lIranian\~Geometry\~~Olympiadendtabular
endpscharclip%
pssetPointName=none,PointSymbol=none,linewidth=4.5pt,linejoin=2%
pnodes(5;100)A(5;160)B(5;-55)C(0,0)O
pstCGravABCABCG%
pstTriangleIC[linestyle=none]ABC
pstBissectBAC[linestyle=none]BACA'
pstBissectBAC[linestyle=none]ACBC'
pstInterLL[PointSymbol=square]AA'CC'I
pstMiddleABBCM
pstInterLLAIMOE
psline[linecolor=red!50](O)(E)(A)(M)
cnodeput[linestyle=none,fillstyle=solid,fillcolor=red!50](IC_O)I'textbfI
cnodeput[linestyle=none,fillstyle=solid,fillcolor=red!50](G)G'textbfG
cnodeput[linestyle=none,fillstyle=solid,fillcolor=red!50](O)O'textbfO
%%%
definecolorColorMhsb0.99999, 1, 1%
definecolorColorNhsb0, 0, 1%
pspolygon[linewidth=7pt,gradbegin=ColorM,gradend=ColorN,linecolor=black!20](A)(B)(C)
psclippscircle[dimen=inner,linestyle=none](0,0)5
pssetfillstyle=gradient,gradbegin=red!50!orange,gradend=yellow!70,gradangle=50%
rput[lb](0.5,-1)beginpscharclip[linewidth=0.1pt]%
RMtabular[t]lIranian\~Geometry\~~Olympiadendtabular
endpscharclip%
pscircle[dimen=inner,linecolor=red!40,fillstyle=none](0,0)5
endpsclip
endpspicture
enddocument
endpscharclip
needs a %
at the end.
For the circle use dimen=inner
. You can Times or Helvetica as font. The rest can be done by yourself ...
Why is the radius of I smaller:
documentclassarticle
usepackagemathptmx
DeclareFixedFontRMT1ptmbn1.7cm%
newsaveboxCBox
begindocument
begin tabularllll
& width & height & depth \hline
I globalsboxCBoxRM I & thewdCBox & thehtCBox & thedpCBox\
G globalsboxCBoxRM G & thewdCBox & thehtCBox & thedpCBox\
O globalsboxCBoxRM O & thewdCBox & thehtCBox & thedpCBox\
endtabular
enddocument
For I we need at least a diameter of 33,33 pt, but for G and O we need at least a diameter of 37,63 pt ...
for identical circle radius:
documentclass[pstricks,border=12pt]standalone
usepackagepst-node
begindocument
beginpspicture[showgrid=false](5,2)
Cnodeput[radius=5mm](1,1)Leftfoovphantomg% to get the same height
Cnodeput[radius=5mm](4,1)Rightright
endpspicture
enddocument
documentclassstandalone
usepackagepst-eucl,pst-text,pstricks-add,pst-grad
usepackagemathptmx
DeclareFixedFontRMT1ptmbn1.7cm%
begindocument
beginpspicture[showgrid=false](-5.2,-5.2)(10,5.2)
psframe*[fillstyle=solid,linecolor=black!40,opacity=.9](-5.2,-5.2)(10,5.2)
pscircle*[dimen=inner](0,0)5
%
pssetfillstyle=solid,fillcolor=black!15,linecolor=black!15%
rput[lb](0.5,-1)beginpscharclip[linewidth=0.1pt]%
RMtabular[t]lIranian\~Geometry\~~Olympiadendtabular
endpscharclip%
pssetPointName=none,PointSymbol=none,linewidth=4.5pt,linejoin=2%
pnodes(5;100)A(5;160)B(5;-55)C(0,0)O
pstCGravABCABCG%
pstTriangleIC[linestyle=none]ABC
pstBissectBAC[linestyle=none]BACA'
pstBissectBAC[linestyle=none]ACBC'
pstInterLL[PointSymbol=square]AA'CC'I
pstMiddleABBCM
pstInterLLAIMOE
psline[linecolor=red!50](O)(E)(A)(M)
cnodeput[linestyle=none,fillstyle=solid,fillcolor=red!50](IC_O)I'textbfI
cnodeput[linestyle=none,fillstyle=solid,fillcolor=red!50](G)G'textbfG
cnodeput[linestyle=none,fillstyle=solid,fillcolor=red!50](O)O'textbfO
%%%
definecolorColorMhsb0.99999, 1, 1%
definecolorColorNhsb0, 0, 1%
pspolygon[linewidth=7pt,gradbegin=ColorM,gradend=ColorN,linecolor=black!20](A)(B)(C)
psclippscircle[dimen=inner,linestyle=none](0,0)5
pssetfillstyle=gradient,gradbegin=red!50!orange,gradend=yellow!70,gradangle=50%
rput[lb](0.5,-1)beginpscharclip[linewidth=0.1pt]%
RMtabular[t]lIranian\~Geometry\~~Olympiadendtabular
endpscharclip%
pscircle[dimen=inner,linecolor=red!40,fillstyle=none](0,0)5
endpsclip
endpspicture
enddocument
endpscharclip
needs a %
at the end.
For the circle use dimen=inner
. You can Times or Helvetica as font. The rest can be done by yourself ...
Why is the radius of I smaller:
documentclassarticle
usepackagemathptmx
DeclareFixedFontRMT1ptmbn1.7cm%
newsaveboxCBox
begindocument
begin tabularllll
& width & height & depth \hline
I globalsboxCBoxRM I & thewdCBox & thehtCBox & thedpCBox\
G globalsboxCBoxRM G & thewdCBox & thehtCBox & thedpCBox\
O globalsboxCBoxRM O & thewdCBox & thehtCBox & thedpCBox\
endtabular
enddocument
For I we need at least a diameter of 33,33 pt, but for G and O we need at least a diameter of 37,63 pt ...
for identical circle radius:
documentclass[pstricks,border=12pt]standalone
usepackagepst-node
begindocument
beginpspicture[showgrid=false](5,2)
Cnodeput[radius=5mm](1,1)Leftfoovphantomg% to get the same height
Cnodeput[radius=5mm](4,1)Rightright
endpspicture
enddocument
edited Sep 18 at 10:53
answered Sep 14 at 15:20
user187802user187802
7,4681 gold badge2 silver badges22 bronze badges
7,4681 gold badge2 silver badges22 bronze badges
2
tug.org/PSTricks/main.cgi?file=Examples/Colors/colors#contColor and for IGO usevphantomIGOI
,vphantomIGOG
, ... Then all radii are the same
– user187802
Sep 14 at 19:24
I tried withvphantomIGOI
,vphantomIGOG
, but it is unchanged. You can check. See edited question.
– user179355
Sep 16 at 8:21
my mistake:vphantom
doesn't work here. Use a node macro which allows to define a radius.
– user187802
Sep 16 at 8:23
radius
is also unchanged....
– user179355
Sep 16 at 8:43
Please to checkradius
macro forcnodeput
...
– user179355
Sep 18 at 10:22
|
show 1 more comment
2
tug.org/PSTricks/main.cgi?file=Examples/Colors/colors#contColor and for IGO usevphantomIGOI
,vphantomIGOG
, ... Then all radii are the same
– user187802
Sep 14 at 19:24
I tried withvphantomIGOI
,vphantomIGOG
, but it is unchanged. You can check. See edited question.
– user179355
Sep 16 at 8:21
my mistake:vphantom
doesn't work here. Use a node macro which allows to define a radius.
– user187802
Sep 16 at 8:23
radius
is also unchanged....
– user179355
Sep 16 at 8:43
Please to checkradius
macro forcnodeput
...
– user179355
Sep 18 at 10:22
2
2
tug.org/PSTricks/main.cgi?file=Examples/Colors/colors#contColor and for IGO use
vphantomIGOI
, vphantomIGOG
, ... Then all radii are the same– user187802
Sep 14 at 19:24
tug.org/PSTricks/main.cgi?file=Examples/Colors/colors#contColor and for IGO use
vphantomIGOI
, vphantomIGOG
, ... Then all radii are the same– user187802
Sep 14 at 19:24
I tried with
vphantomIGOI
,vphantomIGOG
, but it is unchanged. You can check. See edited question.– user179355
Sep 16 at 8:21
I tried with
vphantomIGOI
,vphantomIGOG
, but it is unchanged. You can check. See edited question.– user179355
Sep 16 at 8:21
my mistake:
vphantom
doesn't work here. Use a node macro which allows to define a radius.– user187802
Sep 16 at 8:23
my mistake:
vphantom
doesn't work here. Use a node macro which allows to define a radius.– user187802
Sep 16 at 8:23
radius
is also unchanged....– user179355
Sep 16 at 8:43
radius
is also unchanged....– user179355
Sep 16 at 8:43
Please to check
radius
macro for cnodeput
...– user179355
Sep 18 at 10:22
Please to check
radius
macro for cnodeput
...– user179355
Sep 18 at 10:22
|
show 1 more 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.
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%2f508258%2fhow-to-clip-and-draw-a-picture-approximately%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