How to put black dot at node
Question: How can i put black node of different size at every vertex.(i mean at A, B, C, D and E)?
MWE:
documentclass{article}
usepackage{tikz}
usepackage{tkz-euclide}
usetkzobj{all}
begin{document}
begin{tikzpicture}
coordinate (O) at (0,0);
draw (O) circle (2.5);
coordinate[label = above left:$A$] (A) at (130:2.5);
coordinate[label = above right:$D$] (D) at (58:2.5);
coordinate[label = right:$C$] (C) at (0:2.5);
coordinate[label = left:$B$] (B) at (180:2.5);
draw (B) -- (D) -- (C);
draw (B) -- (A) -- (C);
draw (B) -- (C);
tkzInterLL(A,C)(B,D) tkzGetPoint{E}
tkzLabelPoints[above](E)
end{tikzpicture}
end{document}
tikz-pgf
add a comment |
Question: How can i put black node of different size at every vertex.(i mean at A, B, C, D and E)?
MWE:
documentclass{article}
usepackage{tikz}
usepackage{tkz-euclide}
usetkzobj{all}
begin{document}
begin{tikzpicture}
coordinate (O) at (0,0);
draw (O) circle (2.5);
coordinate[label = above left:$A$] (A) at (130:2.5);
coordinate[label = above right:$D$] (D) at (58:2.5);
coordinate[label = right:$C$] (C) at (0:2.5);
coordinate[label = left:$B$] (B) at (180:2.5);
draw (B) -- (D) -- (C);
draw (B) -- (A) -- (C);
draw (B) -- (C);
tkzInterLL(A,C)(B,D) tkzGetPoint{E}
tkzLabelPoints[above](E)
end{tikzpicture}
end{document}
tikz-pgf
add a comment |
Question: How can i put black node of different size at every vertex.(i mean at A, B, C, D and E)?
MWE:
documentclass{article}
usepackage{tikz}
usepackage{tkz-euclide}
usetkzobj{all}
begin{document}
begin{tikzpicture}
coordinate (O) at (0,0);
draw (O) circle (2.5);
coordinate[label = above left:$A$] (A) at (130:2.5);
coordinate[label = above right:$D$] (D) at (58:2.5);
coordinate[label = right:$C$] (C) at (0:2.5);
coordinate[label = left:$B$] (B) at (180:2.5);
draw (B) -- (D) -- (C);
draw (B) -- (A) -- (C);
draw (B) -- (C);
tkzInterLL(A,C)(B,D) tkzGetPoint{E}
tkzLabelPoints[above](E)
end{tikzpicture}
end{document}
tikz-pgf
Question: How can i put black node of different size at every vertex.(i mean at A, B, C, D and E)?
MWE:
documentclass{article}
usepackage{tikz}
usepackage{tkz-euclide}
usetkzobj{all}
begin{document}
begin{tikzpicture}
coordinate (O) at (0,0);
draw (O) circle (2.5);
coordinate[label = above left:$A$] (A) at (130:2.5);
coordinate[label = above right:$D$] (D) at (58:2.5);
coordinate[label = right:$C$] (C) at (0:2.5);
coordinate[label = left:$B$] (B) at (180:2.5);
draw (B) -- (D) -- (C);
draw (B) -- (A) -- (C);
draw (B) -- (C);
tkzInterLL(A,C)(B,D) tkzGetPoint{E}
tkzLabelPoints[above](E)
end{tikzpicture}
end{document}
tikz-pgf
tikz-pgf
edited Jan 30 at 8:56
Raaja
4,66921338
4,66921338
asked Jan 30 at 8:39
snehalsnehal
725915
725915
add a comment |
add a comment |
3 Answers
3
active
oldest
votes
Just by drawing a filled circle at each nodes corresponding to those vertices as in
documentclass{article}
usepackage{tikz}
usepackage{tkz-euclide}
usetkzobj{all}
begin{document}
begin{tikzpicture}
coordinate (O) at (0,0);
draw (O) circle (2.5);
coordinate[label = above left:$A$] (A) at (130:2.5);
coordinate[label = above right:$D$] (D) at (58:2.5);
coordinate[label = right:$C$] (C) at (0:2.5);
coordinate[label = left:$B$] (B) at (180:2.5);
draw (B) -- (D) -- (C);
draw (B) -- (A) -- (C);
draw (B) -- (C);
tkzInterLL(A,C)(B,D) tkzGetPoint{E}
tkzLabelPoints[above](E)
% lets place the dots
node at (A)[circle,fill,inner sep=1pt]{};
node at (B)[circle,fill,inner sep=1.5pt]{};
node at (C)[circle,fill,inner sep=2pt]{};
node at (D)[circle,fill,inner sep=2.5pt]{};
node at (E)[circle,fill,inner sep=3pt]{};
end{tikzpicture}
end{document}
which will give you

PS: Of course, you can add some smart looping to play with the size as well ;) as the number of vertices grow.
Addendum 1 For fun, now the looping part!
documentclass{article}
usepackage{tikz}
usepackage{tkz-euclide}
usetkzobj{all}
begin{document}
begin{tikzpicture}
coordinate (O) at (0,0);
draw (O) circle (2.5);
coordinate[label = above left:$A$] (A) at (130:2.5);
coordinate[label = above right:$D$] (D) at (58:2.5);
coordinate[label = right:$C$] (C) at (0:2.5);
coordinate[label = left:$B$] (B) at (180:2.5);
draw (B) -- (D) -- (C);
draw (B) -- (A) -- (C);
draw (B) -- (C);
tkzInterLL(A,C)(B,D) tkzGetPoint{E}
tkzLabelPoints[above](E)
% lets place the dots
foreach n/m in {A/1,B/1.5,C/2,D/2.5,E/3}
node at (n)[circle,fill,inner sep=m pt]{};
end{tikzpicture}
end{document}
add a comment |
Using TiKz intersections library (from tikzpgfmanual, page 87):
Coordinate system intersection: To specify the intersection of two
line, you provide two lines using the following two options:
first line=(first coordinate)--(second coordinate)
second line=(first coordinate)--(second coordinate)
documentclass[margin=5mm]{standalone}
usepackage{tikz}
usetikzlibrary{intersections}
begin{document}
begin{tikzpicture}
coordinate (O) at (0,0);
draw (O) circle (2.5);
coordinate[label = above left:$A$] (A) at (130:2.5);
coordinate[label = above right:$D$] (D) at (58:2.5);
coordinate[label = right:$C$] (C) at (0:2.5);
coordinate[label = left:$B$] (B) at (180:2.5);
draw (B)--(D)--(C)--(A)--(B)--(C);
fill (intersection cs:first line={(A)--(C)},
second line={(B)--(D)}) circle (2pt)node[above]{$E$};
fill (intersection cs:first line={(A)--(B)},
second line={(A)--(C)}) circle (2pt);
fill (intersection cs:first line={(A)--(B)},
second line={(B)--(C)}) circle (2pt);
fill (intersection cs:first line={(D)--(C)},
second line={(B)--(C)}) circle (2pt);
fill (intersection cs:first line={(D)--(C)},
second line={(B)--(D)}) circle (2pt);
end{tikzpicture}
end{document}

For different size and color:
documentclass[margin=5mm]{standalone}
usepackage{tikz}
usetikzlibrary{intersections}
begin{document}
begin{tikzpicture}
coordinate (O) at (0,0);
draw (O) circle (2.5);
coordinate[label = above left:$A$] (A) at (130:2.5);
coordinate[label = above right:$D$] (D) at (58:2.5);
coordinate[label = right:$C$] (C) at (0:2.5);
coordinate[label = left:$B$] (B) at (180:2.5);
draw (B) -- (D) -- (C)--(A)--(B)--(C);
fill[red] (intersection cs:first line={(A)--(C)},
second line={(B)--(D)}) circle (2pt)node[above]{$E$};
fill[blue] (intersection cs:first line={(A)--(B)},
second line={(A)--(C)}) circle (1pt);
fill[orange] (intersection cs:first line={(A)--(B)},
second line={(B)--(C)}) circle (2.5pt);
fill[magenta] (intersection cs:first line={(D)--(C)},
second line={(B)--(C)}) circle (3pt);
fill[cyan] (intersection cs:first line={(D)--(C)},
second line={(B)--(D)}) circle (4pt);
end{tikzpicture}
end{document}

1
@Raaja, OK, updated my answer.
– ferahfeza
Jan 30 at 10:31
add a comment |
Just for fun:
documentclass{article}
usepackage{tikz}
usepackage{tkz-euclide}
usepackage{circuitikz}% oh joy, another package!
usetkzobj{all}
begin{document}
begin{tikzpicture}
coordinate (O) at (0,0);
draw (O) circle (2.5);
coordinate[label = above left:$A$] (A) at (130:2.5);
coordinate[label = above right:$D$] (D) at (58:2.5);
coordinate[label = right:$C$] (C) at (0:2.5);
coordinate[label = left:$B$] (B) at (180:2.5);
draw (B) to[short,*-*] (D) to[short,-*] (C);
draw (B) to[short,-*] (A) -- (C);
draw (B) -- (C);
tkzInterLL(A,C)(B,D) tkzGetPoint{E}
node[circ,label=$E$] at (E) {};
end{tikzpicture}
end{document}
Elegant. Congrat.
– ferahfeza
Jan 30 at 15:31
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%2f472516%2fhow-to-put-black-dot-at-node%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
Just by drawing a filled circle at each nodes corresponding to those vertices as in
documentclass{article}
usepackage{tikz}
usepackage{tkz-euclide}
usetkzobj{all}
begin{document}
begin{tikzpicture}
coordinate (O) at (0,0);
draw (O) circle (2.5);
coordinate[label = above left:$A$] (A) at (130:2.5);
coordinate[label = above right:$D$] (D) at (58:2.5);
coordinate[label = right:$C$] (C) at (0:2.5);
coordinate[label = left:$B$] (B) at (180:2.5);
draw (B) -- (D) -- (C);
draw (B) -- (A) -- (C);
draw (B) -- (C);
tkzInterLL(A,C)(B,D) tkzGetPoint{E}
tkzLabelPoints[above](E)
% lets place the dots
node at (A)[circle,fill,inner sep=1pt]{};
node at (B)[circle,fill,inner sep=1.5pt]{};
node at (C)[circle,fill,inner sep=2pt]{};
node at (D)[circle,fill,inner sep=2.5pt]{};
node at (E)[circle,fill,inner sep=3pt]{};
end{tikzpicture}
end{document}
which will give you

PS: Of course, you can add some smart looping to play with the size as well ;) as the number of vertices grow.
Addendum 1 For fun, now the looping part!
documentclass{article}
usepackage{tikz}
usepackage{tkz-euclide}
usetkzobj{all}
begin{document}
begin{tikzpicture}
coordinate (O) at (0,0);
draw (O) circle (2.5);
coordinate[label = above left:$A$] (A) at (130:2.5);
coordinate[label = above right:$D$] (D) at (58:2.5);
coordinate[label = right:$C$] (C) at (0:2.5);
coordinate[label = left:$B$] (B) at (180:2.5);
draw (B) -- (D) -- (C);
draw (B) -- (A) -- (C);
draw (B) -- (C);
tkzInterLL(A,C)(B,D) tkzGetPoint{E}
tkzLabelPoints[above](E)
% lets place the dots
foreach n/m in {A/1,B/1.5,C/2,D/2.5,E/3}
node at (n)[circle,fill,inner sep=m pt]{};
end{tikzpicture}
end{document}
add a comment |
Just by drawing a filled circle at each nodes corresponding to those vertices as in
documentclass{article}
usepackage{tikz}
usepackage{tkz-euclide}
usetkzobj{all}
begin{document}
begin{tikzpicture}
coordinate (O) at (0,0);
draw (O) circle (2.5);
coordinate[label = above left:$A$] (A) at (130:2.5);
coordinate[label = above right:$D$] (D) at (58:2.5);
coordinate[label = right:$C$] (C) at (0:2.5);
coordinate[label = left:$B$] (B) at (180:2.5);
draw (B) -- (D) -- (C);
draw (B) -- (A) -- (C);
draw (B) -- (C);
tkzInterLL(A,C)(B,D) tkzGetPoint{E}
tkzLabelPoints[above](E)
% lets place the dots
node at (A)[circle,fill,inner sep=1pt]{};
node at (B)[circle,fill,inner sep=1.5pt]{};
node at (C)[circle,fill,inner sep=2pt]{};
node at (D)[circle,fill,inner sep=2.5pt]{};
node at (E)[circle,fill,inner sep=3pt]{};
end{tikzpicture}
end{document}
which will give you

PS: Of course, you can add some smart looping to play with the size as well ;) as the number of vertices grow.
Addendum 1 For fun, now the looping part!
documentclass{article}
usepackage{tikz}
usepackage{tkz-euclide}
usetkzobj{all}
begin{document}
begin{tikzpicture}
coordinate (O) at (0,0);
draw (O) circle (2.5);
coordinate[label = above left:$A$] (A) at (130:2.5);
coordinate[label = above right:$D$] (D) at (58:2.5);
coordinate[label = right:$C$] (C) at (0:2.5);
coordinate[label = left:$B$] (B) at (180:2.5);
draw (B) -- (D) -- (C);
draw (B) -- (A) -- (C);
draw (B) -- (C);
tkzInterLL(A,C)(B,D) tkzGetPoint{E}
tkzLabelPoints[above](E)
% lets place the dots
foreach n/m in {A/1,B/1.5,C/2,D/2.5,E/3}
node at (n)[circle,fill,inner sep=m pt]{};
end{tikzpicture}
end{document}
add a comment |
Just by drawing a filled circle at each nodes corresponding to those vertices as in
documentclass{article}
usepackage{tikz}
usepackage{tkz-euclide}
usetkzobj{all}
begin{document}
begin{tikzpicture}
coordinate (O) at (0,0);
draw (O) circle (2.5);
coordinate[label = above left:$A$] (A) at (130:2.5);
coordinate[label = above right:$D$] (D) at (58:2.5);
coordinate[label = right:$C$] (C) at (0:2.5);
coordinate[label = left:$B$] (B) at (180:2.5);
draw (B) -- (D) -- (C);
draw (B) -- (A) -- (C);
draw (B) -- (C);
tkzInterLL(A,C)(B,D) tkzGetPoint{E}
tkzLabelPoints[above](E)
% lets place the dots
node at (A)[circle,fill,inner sep=1pt]{};
node at (B)[circle,fill,inner sep=1.5pt]{};
node at (C)[circle,fill,inner sep=2pt]{};
node at (D)[circle,fill,inner sep=2.5pt]{};
node at (E)[circle,fill,inner sep=3pt]{};
end{tikzpicture}
end{document}
which will give you

PS: Of course, you can add some smart looping to play with the size as well ;) as the number of vertices grow.
Addendum 1 For fun, now the looping part!
documentclass{article}
usepackage{tikz}
usepackage{tkz-euclide}
usetkzobj{all}
begin{document}
begin{tikzpicture}
coordinate (O) at (0,0);
draw (O) circle (2.5);
coordinate[label = above left:$A$] (A) at (130:2.5);
coordinate[label = above right:$D$] (D) at (58:2.5);
coordinate[label = right:$C$] (C) at (0:2.5);
coordinate[label = left:$B$] (B) at (180:2.5);
draw (B) -- (D) -- (C);
draw (B) -- (A) -- (C);
draw (B) -- (C);
tkzInterLL(A,C)(B,D) tkzGetPoint{E}
tkzLabelPoints[above](E)
% lets place the dots
foreach n/m in {A/1,B/1.5,C/2,D/2.5,E/3}
node at (n)[circle,fill,inner sep=m pt]{};
end{tikzpicture}
end{document}
Just by drawing a filled circle at each nodes corresponding to those vertices as in
documentclass{article}
usepackage{tikz}
usepackage{tkz-euclide}
usetkzobj{all}
begin{document}
begin{tikzpicture}
coordinate (O) at (0,0);
draw (O) circle (2.5);
coordinate[label = above left:$A$] (A) at (130:2.5);
coordinate[label = above right:$D$] (D) at (58:2.5);
coordinate[label = right:$C$] (C) at (0:2.5);
coordinate[label = left:$B$] (B) at (180:2.5);
draw (B) -- (D) -- (C);
draw (B) -- (A) -- (C);
draw (B) -- (C);
tkzInterLL(A,C)(B,D) tkzGetPoint{E}
tkzLabelPoints[above](E)
% lets place the dots
node at (A)[circle,fill,inner sep=1pt]{};
node at (B)[circle,fill,inner sep=1.5pt]{};
node at (C)[circle,fill,inner sep=2pt]{};
node at (D)[circle,fill,inner sep=2.5pt]{};
node at (E)[circle,fill,inner sep=3pt]{};
end{tikzpicture}
end{document}
which will give you

PS: Of course, you can add some smart looping to play with the size as well ;) as the number of vertices grow.
Addendum 1 For fun, now the looping part!
documentclass{article}
usepackage{tikz}
usepackage{tkz-euclide}
usetkzobj{all}
begin{document}
begin{tikzpicture}
coordinate (O) at (0,0);
draw (O) circle (2.5);
coordinate[label = above left:$A$] (A) at (130:2.5);
coordinate[label = above right:$D$] (D) at (58:2.5);
coordinate[label = right:$C$] (C) at (0:2.5);
coordinate[label = left:$B$] (B) at (180:2.5);
draw (B) -- (D) -- (C);
draw (B) -- (A) -- (C);
draw (B) -- (C);
tkzInterLL(A,C)(B,D) tkzGetPoint{E}
tkzLabelPoints[above](E)
% lets place the dots
foreach n/m in {A/1,B/1.5,C/2,D/2.5,E/3}
node at (n)[circle,fill,inner sep=m pt]{};
end{tikzpicture}
end{document}
edited Jan 30 at 9:23
answered Jan 30 at 9:00
RaajaRaaja
4,66921338
4,66921338
add a comment |
add a comment |
Using TiKz intersections library (from tikzpgfmanual, page 87):
Coordinate system intersection: To specify the intersection of two
line, you provide two lines using the following two options:
first line=(first coordinate)--(second coordinate)
second line=(first coordinate)--(second coordinate)
documentclass[margin=5mm]{standalone}
usepackage{tikz}
usetikzlibrary{intersections}
begin{document}
begin{tikzpicture}
coordinate (O) at (0,0);
draw (O) circle (2.5);
coordinate[label = above left:$A$] (A) at (130:2.5);
coordinate[label = above right:$D$] (D) at (58:2.5);
coordinate[label = right:$C$] (C) at (0:2.5);
coordinate[label = left:$B$] (B) at (180:2.5);
draw (B)--(D)--(C)--(A)--(B)--(C);
fill (intersection cs:first line={(A)--(C)},
second line={(B)--(D)}) circle (2pt)node[above]{$E$};
fill (intersection cs:first line={(A)--(B)},
second line={(A)--(C)}) circle (2pt);
fill (intersection cs:first line={(A)--(B)},
second line={(B)--(C)}) circle (2pt);
fill (intersection cs:first line={(D)--(C)},
second line={(B)--(C)}) circle (2pt);
fill (intersection cs:first line={(D)--(C)},
second line={(B)--(D)}) circle (2pt);
end{tikzpicture}
end{document}

For different size and color:
documentclass[margin=5mm]{standalone}
usepackage{tikz}
usetikzlibrary{intersections}
begin{document}
begin{tikzpicture}
coordinate (O) at (0,0);
draw (O) circle (2.5);
coordinate[label = above left:$A$] (A) at (130:2.5);
coordinate[label = above right:$D$] (D) at (58:2.5);
coordinate[label = right:$C$] (C) at (0:2.5);
coordinate[label = left:$B$] (B) at (180:2.5);
draw (B) -- (D) -- (C)--(A)--(B)--(C);
fill[red] (intersection cs:first line={(A)--(C)},
second line={(B)--(D)}) circle (2pt)node[above]{$E$};
fill[blue] (intersection cs:first line={(A)--(B)},
second line={(A)--(C)}) circle (1pt);
fill[orange] (intersection cs:first line={(A)--(B)},
second line={(B)--(C)}) circle (2.5pt);
fill[magenta] (intersection cs:first line={(D)--(C)},
second line={(B)--(C)}) circle (3pt);
fill[cyan] (intersection cs:first line={(D)--(C)},
second line={(B)--(D)}) circle (4pt);
end{tikzpicture}
end{document}

1
@Raaja, OK, updated my answer.
– ferahfeza
Jan 30 at 10:31
add a comment |
Using TiKz intersections library (from tikzpgfmanual, page 87):
Coordinate system intersection: To specify the intersection of two
line, you provide two lines using the following two options:
first line=(first coordinate)--(second coordinate)
second line=(first coordinate)--(second coordinate)
documentclass[margin=5mm]{standalone}
usepackage{tikz}
usetikzlibrary{intersections}
begin{document}
begin{tikzpicture}
coordinate (O) at (0,0);
draw (O) circle (2.5);
coordinate[label = above left:$A$] (A) at (130:2.5);
coordinate[label = above right:$D$] (D) at (58:2.5);
coordinate[label = right:$C$] (C) at (0:2.5);
coordinate[label = left:$B$] (B) at (180:2.5);
draw (B)--(D)--(C)--(A)--(B)--(C);
fill (intersection cs:first line={(A)--(C)},
second line={(B)--(D)}) circle (2pt)node[above]{$E$};
fill (intersection cs:first line={(A)--(B)},
second line={(A)--(C)}) circle (2pt);
fill (intersection cs:first line={(A)--(B)},
second line={(B)--(C)}) circle (2pt);
fill (intersection cs:first line={(D)--(C)},
second line={(B)--(C)}) circle (2pt);
fill (intersection cs:first line={(D)--(C)},
second line={(B)--(D)}) circle (2pt);
end{tikzpicture}
end{document}

For different size and color:
documentclass[margin=5mm]{standalone}
usepackage{tikz}
usetikzlibrary{intersections}
begin{document}
begin{tikzpicture}
coordinate (O) at (0,0);
draw (O) circle (2.5);
coordinate[label = above left:$A$] (A) at (130:2.5);
coordinate[label = above right:$D$] (D) at (58:2.5);
coordinate[label = right:$C$] (C) at (0:2.5);
coordinate[label = left:$B$] (B) at (180:2.5);
draw (B) -- (D) -- (C)--(A)--(B)--(C);
fill[red] (intersection cs:first line={(A)--(C)},
second line={(B)--(D)}) circle (2pt)node[above]{$E$};
fill[blue] (intersection cs:first line={(A)--(B)},
second line={(A)--(C)}) circle (1pt);
fill[orange] (intersection cs:first line={(A)--(B)},
second line={(B)--(C)}) circle (2.5pt);
fill[magenta] (intersection cs:first line={(D)--(C)},
second line={(B)--(C)}) circle (3pt);
fill[cyan] (intersection cs:first line={(D)--(C)},
second line={(B)--(D)}) circle (4pt);
end{tikzpicture}
end{document}

1
@Raaja, OK, updated my answer.
– ferahfeza
Jan 30 at 10:31
add a comment |
Using TiKz intersections library (from tikzpgfmanual, page 87):
Coordinate system intersection: To specify the intersection of two
line, you provide two lines using the following two options:
first line=(first coordinate)--(second coordinate)
second line=(first coordinate)--(second coordinate)
documentclass[margin=5mm]{standalone}
usepackage{tikz}
usetikzlibrary{intersections}
begin{document}
begin{tikzpicture}
coordinate (O) at (0,0);
draw (O) circle (2.5);
coordinate[label = above left:$A$] (A) at (130:2.5);
coordinate[label = above right:$D$] (D) at (58:2.5);
coordinate[label = right:$C$] (C) at (0:2.5);
coordinate[label = left:$B$] (B) at (180:2.5);
draw (B)--(D)--(C)--(A)--(B)--(C);
fill (intersection cs:first line={(A)--(C)},
second line={(B)--(D)}) circle (2pt)node[above]{$E$};
fill (intersection cs:first line={(A)--(B)},
second line={(A)--(C)}) circle (2pt);
fill (intersection cs:first line={(A)--(B)},
second line={(B)--(C)}) circle (2pt);
fill (intersection cs:first line={(D)--(C)},
second line={(B)--(C)}) circle (2pt);
fill (intersection cs:first line={(D)--(C)},
second line={(B)--(D)}) circle (2pt);
end{tikzpicture}
end{document}

For different size and color:
documentclass[margin=5mm]{standalone}
usepackage{tikz}
usetikzlibrary{intersections}
begin{document}
begin{tikzpicture}
coordinate (O) at (0,0);
draw (O) circle (2.5);
coordinate[label = above left:$A$] (A) at (130:2.5);
coordinate[label = above right:$D$] (D) at (58:2.5);
coordinate[label = right:$C$] (C) at (0:2.5);
coordinate[label = left:$B$] (B) at (180:2.5);
draw (B) -- (D) -- (C)--(A)--(B)--(C);
fill[red] (intersection cs:first line={(A)--(C)},
second line={(B)--(D)}) circle (2pt)node[above]{$E$};
fill[blue] (intersection cs:first line={(A)--(B)},
second line={(A)--(C)}) circle (1pt);
fill[orange] (intersection cs:first line={(A)--(B)},
second line={(B)--(C)}) circle (2.5pt);
fill[magenta] (intersection cs:first line={(D)--(C)},
second line={(B)--(C)}) circle (3pt);
fill[cyan] (intersection cs:first line={(D)--(C)},
second line={(B)--(D)}) circle (4pt);
end{tikzpicture}
end{document}

Using TiKz intersections library (from tikzpgfmanual, page 87):
Coordinate system intersection: To specify the intersection of two
line, you provide two lines using the following two options:
first line=(first coordinate)--(second coordinate)
second line=(first coordinate)--(second coordinate)
documentclass[margin=5mm]{standalone}
usepackage{tikz}
usetikzlibrary{intersections}
begin{document}
begin{tikzpicture}
coordinate (O) at (0,0);
draw (O) circle (2.5);
coordinate[label = above left:$A$] (A) at (130:2.5);
coordinate[label = above right:$D$] (D) at (58:2.5);
coordinate[label = right:$C$] (C) at (0:2.5);
coordinate[label = left:$B$] (B) at (180:2.5);
draw (B)--(D)--(C)--(A)--(B)--(C);
fill (intersection cs:first line={(A)--(C)},
second line={(B)--(D)}) circle (2pt)node[above]{$E$};
fill (intersection cs:first line={(A)--(B)},
second line={(A)--(C)}) circle (2pt);
fill (intersection cs:first line={(A)--(B)},
second line={(B)--(C)}) circle (2pt);
fill (intersection cs:first line={(D)--(C)},
second line={(B)--(C)}) circle (2pt);
fill (intersection cs:first line={(D)--(C)},
second line={(B)--(D)}) circle (2pt);
end{tikzpicture}
end{document}

For different size and color:
documentclass[margin=5mm]{standalone}
usepackage{tikz}
usetikzlibrary{intersections}
begin{document}
begin{tikzpicture}
coordinate (O) at (0,0);
draw (O) circle (2.5);
coordinate[label = above left:$A$] (A) at (130:2.5);
coordinate[label = above right:$D$] (D) at (58:2.5);
coordinate[label = right:$C$] (C) at (0:2.5);
coordinate[label = left:$B$] (B) at (180:2.5);
draw (B) -- (D) -- (C)--(A)--(B)--(C);
fill[red] (intersection cs:first line={(A)--(C)},
second line={(B)--(D)}) circle (2pt)node[above]{$E$};
fill[blue] (intersection cs:first line={(A)--(B)},
second line={(A)--(C)}) circle (1pt);
fill[orange] (intersection cs:first line={(A)--(B)},
second line={(B)--(C)}) circle (2.5pt);
fill[magenta] (intersection cs:first line={(D)--(C)},
second line={(B)--(C)}) circle (3pt);
fill[cyan] (intersection cs:first line={(D)--(C)},
second line={(B)--(D)}) circle (4pt);
end{tikzpicture}
end{document}

edited Jan 30 at 10:29
answered Jan 30 at 9:36
ferahfezaferahfeza
6,71611932
6,71611932
1
@Raaja, OK, updated my answer.
– ferahfeza
Jan 30 at 10:31
add a comment |
1
@Raaja, OK, updated my answer.
– ferahfeza
Jan 30 at 10:31
1
1
@Raaja, OK, updated my answer.
– ferahfeza
Jan 30 at 10:31
@Raaja, OK, updated my answer.
– ferahfeza
Jan 30 at 10:31
add a comment |
Just for fun:
documentclass{article}
usepackage{tikz}
usepackage{tkz-euclide}
usepackage{circuitikz}% oh joy, another package!
usetkzobj{all}
begin{document}
begin{tikzpicture}
coordinate (O) at (0,0);
draw (O) circle (2.5);
coordinate[label = above left:$A$] (A) at (130:2.5);
coordinate[label = above right:$D$] (D) at (58:2.5);
coordinate[label = right:$C$] (C) at (0:2.5);
coordinate[label = left:$B$] (B) at (180:2.5);
draw (B) to[short,*-*] (D) to[short,-*] (C);
draw (B) to[short,-*] (A) -- (C);
draw (B) -- (C);
tkzInterLL(A,C)(B,D) tkzGetPoint{E}
node[circ,label=$E$] at (E) {};
end{tikzpicture}
end{document}
Elegant. Congrat.
– ferahfeza
Jan 30 at 15:31
add a comment |
Just for fun:
documentclass{article}
usepackage{tikz}
usepackage{tkz-euclide}
usepackage{circuitikz}% oh joy, another package!
usetkzobj{all}
begin{document}
begin{tikzpicture}
coordinate (O) at (0,0);
draw (O) circle (2.5);
coordinate[label = above left:$A$] (A) at (130:2.5);
coordinate[label = above right:$D$] (D) at (58:2.5);
coordinate[label = right:$C$] (C) at (0:2.5);
coordinate[label = left:$B$] (B) at (180:2.5);
draw (B) to[short,*-*] (D) to[short,-*] (C);
draw (B) to[short,-*] (A) -- (C);
draw (B) -- (C);
tkzInterLL(A,C)(B,D) tkzGetPoint{E}
node[circ,label=$E$] at (E) {};
end{tikzpicture}
end{document}
Elegant. Congrat.
– ferahfeza
Jan 30 at 15:31
add a comment |
Just for fun:
documentclass{article}
usepackage{tikz}
usepackage{tkz-euclide}
usepackage{circuitikz}% oh joy, another package!
usetkzobj{all}
begin{document}
begin{tikzpicture}
coordinate (O) at (0,0);
draw (O) circle (2.5);
coordinate[label = above left:$A$] (A) at (130:2.5);
coordinate[label = above right:$D$] (D) at (58:2.5);
coordinate[label = right:$C$] (C) at (0:2.5);
coordinate[label = left:$B$] (B) at (180:2.5);
draw (B) to[short,*-*] (D) to[short,-*] (C);
draw (B) to[short,-*] (A) -- (C);
draw (B) -- (C);
tkzInterLL(A,C)(B,D) tkzGetPoint{E}
node[circ,label=$E$] at (E) {};
end{tikzpicture}
end{document}
Just for fun:
documentclass{article}
usepackage{tikz}
usepackage{tkz-euclide}
usepackage{circuitikz}% oh joy, another package!
usetkzobj{all}
begin{document}
begin{tikzpicture}
coordinate (O) at (0,0);
draw (O) circle (2.5);
coordinate[label = above left:$A$] (A) at (130:2.5);
coordinate[label = above right:$D$] (D) at (58:2.5);
coordinate[label = right:$C$] (C) at (0:2.5);
coordinate[label = left:$B$] (B) at (180:2.5);
draw (B) to[short,*-*] (D) to[short,-*] (C);
draw (B) to[short,-*] (A) -- (C);
draw (B) -- (C);
tkzInterLL(A,C)(B,D) tkzGetPoint{E}
node[circ,label=$E$] at (E) {};
end{tikzpicture}
end{document}
answered Jan 30 at 14:45
John KormyloJohn Kormylo
45.2k12570
45.2k12570
Elegant. Congrat.
– ferahfeza
Jan 30 at 15:31
add a comment |
Elegant. Congrat.
– ferahfeza
Jan 30 at 15:31
Elegant. Congrat.
– ferahfeza
Jan 30 at 15:31
Elegant. Congrat.
– ferahfeza
Jan 30 at 15:31
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.
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%2f472516%2fhow-to-put-black-dot-at-node%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