Draw arrow on sides of triangleList of available TikZ libraries with a short introductionTikZ: How to draw an...
It's a yearly task, alright
Sword in the Stone story where the sword was held in place by electromagnets
Is having access to past exams cheating and, if yes, could it be proven just by a good grade?
What is the blue range indicating on this manifold pressure gauge?
What is the likely impact on flights of grounding an entire aircraft series?
Extension of Splitting Fields over An Arbitrary Field
Should we release the security issues we found in our product as CVE or we can just update those on weekly release notes?
Do Bugbears' arms literally get longer when it's their turn?
Decoding assembly instructions in a Game Boy disassembler
Plywood subfloor won't screw down in a trailer home
What exactly is the purpose of connection links straped between the rocket and the launch pad
Want to switch to tankless, but can I use my existing wiring?
Welcoming 2019 Pi day: How to draw the letter π?
How can I discourage/prevent PCs from using door choke-points?
Playing ONE triplet (not three)
Should QA ask requirements to developers?
Time travel short story where dinosaur doesn't taste like chicken
Force user to remove USB token
Does anyone draw a parallel between Haman selling himself to Mordechai and Esav selling the birthright to Yaakov?
Deleting missing values from a dataset
Rejected in 4th interview round citing insufficient years of experience
What does おとこえしや mean?
Make a transparent 448*448 image
Word for a person who has no opinion about whether god exists
Draw arrow on sides of triangle
List of available TikZ libraries with a short introductionTikZ: How to draw an arrow in the middle of the line?Tikz: Arrowheads in the centerTikZ: Cropping the Bounding BoxRotate a node but not its content: the case of the ellipse decorationHow to define the default vertical distance between nodes?TikZ scaling graphic and adjust node position and keep font sizeNumerical conditional within tikz keys?TikZ: Drawing an arc from an intersection to an intersectionDrawing rectilinear curves in Tikz, aka an Etch-a-Sketch drawingLine up nested tikz enviroments or how to get rid of themHow to draw a square and its diagonals with arrows?TikZ: fill text color different than fill
MWE:
documentclass[12pt]{article}
usepackage{pgf}
usepackage{tikz}
usepackage{pgfplots}
begin{document}
begin{tikzpicture}
draw [line width=1pt] (0,5)-- (0,0);
draw [line width=1pt] (5,0)-- (0,5);
draw [line width=1pt] (0,0)-- (5,0);
draw [fill=black] (0,5) circle (1.5pt);
draw[color=black] (0.0,5.5) node {$A$};
draw [fill=black] (0,0) circle (1.5pt);
draw[color=black] (0.0,-0.5) node {$B$};
draw [fill=black] (5,0) circle (1.5pt);
draw[color=black] (5.0,-0.5) node {$C$};
end{tikzpicture}
end{document}
Question:
How can I draw direction arrow on each lines of triangle? (all possible style of arrows)
tikz-pgf tikz-arrows
add a comment |
MWE:
documentclass[12pt]{article}
usepackage{pgf}
usepackage{tikz}
usepackage{pgfplots}
begin{document}
begin{tikzpicture}
draw [line width=1pt] (0,5)-- (0,0);
draw [line width=1pt] (5,0)-- (0,5);
draw [line width=1pt] (0,0)-- (5,0);
draw [fill=black] (0,5) circle (1.5pt);
draw[color=black] (0.0,5.5) node {$A$};
draw [fill=black] (0,0) circle (1.5pt);
draw[color=black] (0.0,-0.5) node {$B$};
draw [fill=black] (5,0) circle (1.5pt);
draw[color=black] (5.0,-0.5) node {$C$};
end{tikzpicture}
end{document}
Question:
How can I draw direction arrow on each lines of triangle? (all possible style of arrows)
tikz-pgf tikz-arrows
add a comment |
MWE:
documentclass[12pt]{article}
usepackage{pgf}
usepackage{tikz}
usepackage{pgfplots}
begin{document}
begin{tikzpicture}
draw [line width=1pt] (0,5)-- (0,0);
draw [line width=1pt] (5,0)-- (0,5);
draw [line width=1pt] (0,0)-- (5,0);
draw [fill=black] (0,5) circle (1.5pt);
draw[color=black] (0.0,5.5) node {$A$};
draw [fill=black] (0,0) circle (1.5pt);
draw[color=black] (0.0,-0.5) node {$B$};
draw [fill=black] (5,0) circle (1.5pt);
draw[color=black] (5.0,-0.5) node {$C$};
end{tikzpicture}
end{document}
Question:
How can I draw direction arrow on each lines of triangle? (all possible style of arrows)
tikz-pgf tikz-arrows
MWE:
documentclass[12pt]{article}
usepackage{pgf}
usepackage{tikz}
usepackage{pgfplots}
begin{document}
begin{tikzpicture}
draw [line width=1pt] (0,5)-- (0,0);
draw [line width=1pt] (5,0)-- (0,5);
draw [line width=1pt] (0,0)-- (5,0);
draw [fill=black] (0,5) circle (1.5pt);
draw[color=black] (0.0,5.5) node {$A$};
draw [fill=black] (0,0) circle (1.5pt);
draw[color=black] (0.0,-0.5) node {$B$};
draw [fill=black] (5,0) circle (1.5pt);
draw[color=black] (5.0,-0.5) node {$C$};
end{tikzpicture}
end{document}
Question:
How can I draw direction arrow on each lines of triangle? (all possible style of arrows)
tikz-pgf tikz-arrows
tikz-pgf tikz-arrows
edited 1 hour ago
sandu
3,56542855
3,56542855
asked 1 hour ago
SandySandy
732915
732915
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
Maybe I misread the question, but if you want to vary the type of the arrow you may want to use
documentclass[12pt]{article}
usepackage{tikz}
usetikzlibrary{decorations.markings}
begin{document}
% based on https://tex.stackexchange.com/a/39282/121799
tikzset{->-/.style n args={2}{decoration={
markings,
mark=at position #1 with {arrow{#2}}},postaction={decorate}}}
begin{tikzpicture}[bullet/.style={circle,inner sep=1.5pt,fill}]
path (0,5) node[bullet,label=above:$A$](A){}
(0,0) node[bullet,label=below:$B$](B) {}
(5,0) node[bullet,label=below:$C$](C) {};
foreach X/Arrow [remember=X as LastX (initially C)]in
{A/latex,B/stealth,C/>}
{draw[line width=1pt,->-={0.5}{Arrow}] (LastX) -- (X);}
end{tikzpicture}
end{document}
As for your comment: this draws three triangles. Is that what you are looking for?
documentclass[12pt]{article}
usepackage{tikz}
usetikzlibrary{decorations.markings}
begin{document}
% based on https://tex.stackexchange.com/a/39282/121799
tikzset{->-/.style n args={2}{decoration={
markings,
mark=at position #1 with {arrow[line width=1pt]{#2}}},postaction={decorate}}}
begin{tikzpicture}[bullet/.style={circle,inner sep=1.5pt,fill}]
begin{scope}
path (0,5) node[bullet,label=above:$A$](A){}
(0,0) node[bullet,label=below:$B$](B) {}
(5,0) node[bullet,label=below:$C$](C) {};
foreach X [remember=X as LastX (initially C)] in {A,B,C}
{draw[line width=1pt,->-={0.5}{latex}] (LastX) -- (X);}
end{scope}
begin{scope}[xshift=6cm]
path (0,5) node[bullet,label=above:$A$](A'){}
(0,0) node[bullet,label=below:$B$](B') {}
(5,0) node[bullet,label=below:$C$](C') {};
foreach X [remember=X as LastX (initially C')]in {A',B',C'}
{draw[line width=1pt,->-={0.5}{stealth}] (LastX) -- (X);}
end{scope}
begin{scope}[yshift=-6.6cm]
path (0,5) node[bullet,label=above:$A$](A''){}
(0,0) node[bullet,label=below:$B$](B'') {}
(5,0) node[bullet,label=below:$C$](C'') {};
foreach X [remember=X as LastX (initially C'')]in {A'',B'',C''}
{draw[line width=1pt,->-={0.5}{>}] (LastX) -- (X);}
end{scope}
end{tikzpicture}
end{document}
No friend, you understand my question better And the answer that I had hoped for almost got to be found. Only one request is please give me three different codes with arrows(three triangle with arrows) that you mentioned.
– Sandy
57 mins ago
Should i increase size of arrows? i am waiting.......
– Sandy
53 mins ago
@Sandy The three different arrows are already inforeach X/Arrow [remember=X as LastX (initially C)]in {A/latex,B/stealth,C/>}
, where they are set aslatex
,stealth
and standard types. Yes, you can make the arrows thicker e.g. by saying{arrow[line width=2pt]{#2}}}
instead of{arrow{#2}}}
.
– marmot
50 mins ago
1
@Sandy Yes, I will be happy to follow your request if I understand it. You want three triangles? If so, do they all have the same dimensions? Are the next to each other? Or do you want 3 arrow heads on a given edge?
– marmot
40 mins ago
1
@Sandy Just for additional information, here is a (quite complete) list of available arrow tips.
– JouleV
16 mins ago
|
show 5 more comments
Using TikZ: How to draw an arrow in the middle of the line?
%documentclass[border=2mm]{standalone}
documentclass{article}
usepackage{tikz}
usetikzlibrary{decorations.markings}
begin{document}
begin{tikzpicture}
draw [fill=black] (0,5) circle (1.5pt);
draw[color=black] (0.0,5.5) node {$A$};
draw [fill=black] (0,0) circle (1.5pt);
draw[color=black] (0.0,-0.5) node {$B$};
draw [fill=black] (5,0) circle (1.5pt);
draw[color=black] (5.0,-0.5) node {$C$};
begin{scope}[very thick,decoration={
markings,
mark=at position 0.5 with {arrow{>}}}
]
draw [line width=1pt,postaction={decorate}] (0,5)-- (0,0);
draw [line width=1pt,postaction={decorate}] (5,0)-- (0,5);
draw [line width=1pt,postaction={decorate}] (0,0)-- (5,0);
end{scope}
end{tikzpicture}
end{document}
Is it possible of article document type?
– Sandy
49 mins ago
@Sandy Yes...sure
– sandu
47 mins ago
Would you please modified your codes for article?
– Sandy
17 mins ago
@Sandy done... see the code above....
– sandu
10 mins ago
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%2f479406%2fdraw-arrow-on-sides-of-triangle%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
Maybe I misread the question, but if you want to vary the type of the arrow you may want to use
documentclass[12pt]{article}
usepackage{tikz}
usetikzlibrary{decorations.markings}
begin{document}
% based on https://tex.stackexchange.com/a/39282/121799
tikzset{->-/.style n args={2}{decoration={
markings,
mark=at position #1 with {arrow{#2}}},postaction={decorate}}}
begin{tikzpicture}[bullet/.style={circle,inner sep=1.5pt,fill}]
path (0,5) node[bullet,label=above:$A$](A){}
(0,0) node[bullet,label=below:$B$](B) {}
(5,0) node[bullet,label=below:$C$](C) {};
foreach X/Arrow [remember=X as LastX (initially C)]in
{A/latex,B/stealth,C/>}
{draw[line width=1pt,->-={0.5}{Arrow}] (LastX) -- (X);}
end{tikzpicture}
end{document}
As for your comment: this draws three triangles. Is that what you are looking for?
documentclass[12pt]{article}
usepackage{tikz}
usetikzlibrary{decorations.markings}
begin{document}
% based on https://tex.stackexchange.com/a/39282/121799
tikzset{->-/.style n args={2}{decoration={
markings,
mark=at position #1 with {arrow[line width=1pt]{#2}}},postaction={decorate}}}
begin{tikzpicture}[bullet/.style={circle,inner sep=1.5pt,fill}]
begin{scope}
path (0,5) node[bullet,label=above:$A$](A){}
(0,0) node[bullet,label=below:$B$](B) {}
(5,0) node[bullet,label=below:$C$](C) {};
foreach X [remember=X as LastX (initially C)] in {A,B,C}
{draw[line width=1pt,->-={0.5}{latex}] (LastX) -- (X);}
end{scope}
begin{scope}[xshift=6cm]
path (0,5) node[bullet,label=above:$A$](A'){}
(0,0) node[bullet,label=below:$B$](B') {}
(5,0) node[bullet,label=below:$C$](C') {};
foreach X [remember=X as LastX (initially C')]in {A',B',C'}
{draw[line width=1pt,->-={0.5}{stealth}] (LastX) -- (X);}
end{scope}
begin{scope}[yshift=-6.6cm]
path (0,5) node[bullet,label=above:$A$](A''){}
(0,0) node[bullet,label=below:$B$](B'') {}
(5,0) node[bullet,label=below:$C$](C'') {};
foreach X [remember=X as LastX (initially C'')]in {A'',B'',C''}
{draw[line width=1pt,->-={0.5}{>}] (LastX) -- (X);}
end{scope}
end{tikzpicture}
end{document}
No friend, you understand my question better And the answer that I had hoped for almost got to be found. Only one request is please give me three different codes with arrows(three triangle with arrows) that you mentioned.
– Sandy
57 mins ago
Should i increase size of arrows? i am waiting.......
– Sandy
53 mins ago
@Sandy The three different arrows are already inforeach X/Arrow [remember=X as LastX (initially C)]in {A/latex,B/stealth,C/>}
, where they are set aslatex
,stealth
and standard types. Yes, you can make the arrows thicker e.g. by saying{arrow[line width=2pt]{#2}}}
instead of{arrow{#2}}}
.
– marmot
50 mins ago
1
@Sandy Yes, I will be happy to follow your request if I understand it. You want three triangles? If so, do they all have the same dimensions? Are the next to each other? Or do you want 3 arrow heads on a given edge?
– marmot
40 mins ago
1
@Sandy Just for additional information, here is a (quite complete) list of available arrow tips.
– JouleV
16 mins ago
|
show 5 more comments
Maybe I misread the question, but if you want to vary the type of the arrow you may want to use
documentclass[12pt]{article}
usepackage{tikz}
usetikzlibrary{decorations.markings}
begin{document}
% based on https://tex.stackexchange.com/a/39282/121799
tikzset{->-/.style n args={2}{decoration={
markings,
mark=at position #1 with {arrow{#2}}},postaction={decorate}}}
begin{tikzpicture}[bullet/.style={circle,inner sep=1.5pt,fill}]
path (0,5) node[bullet,label=above:$A$](A){}
(0,0) node[bullet,label=below:$B$](B) {}
(5,0) node[bullet,label=below:$C$](C) {};
foreach X/Arrow [remember=X as LastX (initially C)]in
{A/latex,B/stealth,C/>}
{draw[line width=1pt,->-={0.5}{Arrow}] (LastX) -- (X);}
end{tikzpicture}
end{document}
As for your comment: this draws three triangles. Is that what you are looking for?
documentclass[12pt]{article}
usepackage{tikz}
usetikzlibrary{decorations.markings}
begin{document}
% based on https://tex.stackexchange.com/a/39282/121799
tikzset{->-/.style n args={2}{decoration={
markings,
mark=at position #1 with {arrow[line width=1pt]{#2}}},postaction={decorate}}}
begin{tikzpicture}[bullet/.style={circle,inner sep=1.5pt,fill}]
begin{scope}
path (0,5) node[bullet,label=above:$A$](A){}
(0,0) node[bullet,label=below:$B$](B) {}
(5,0) node[bullet,label=below:$C$](C) {};
foreach X [remember=X as LastX (initially C)] in {A,B,C}
{draw[line width=1pt,->-={0.5}{latex}] (LastX) -- (X);}
end{scope}
begin{scope}[xshift=6cm]
path (0,5) node[bullet,label=above:$A$](A'){}
(0,0) node[bullet,label=below:$B$](B') {}
(5,0) node[bullet,label=below:$C$](C') {};
foreach X [remember=X as LastX (initially C')]in {A',B',C'}
{draw[line width=1pt,->-={0.5}{stealth}] (LastX) -- (X);}
end{scope}
begin{scope}[yshift=-6.6cm]
path (0,5) node[bullet,label=above:$A$](A''){}
(0,0) node[bullet,label=below:$B$](B'') {}
(5,0) node[bullet,label=below:$C$](C'') {};
foreach X [remember=X as LastX (initially C'')]in {A'',B'',C''}
{draw[line width=1pt,->-={0.5}{>}] (LastX) -- (X);}
end{scope}
end{tikzpicture}
end{document}
No friend, you understand my question better And the answer that I had hoped for almost got to be found. Only one request is please give me three different codes with arrows(three triangle with arrows) that you mentioned.
– Sandy
57 mins ago
Should i increase size of arrows? i am waiting.......
– Sandy
53 mins ago
@Sandy The three different arrows are already inforeach X/Arrow [remember=X as LastX (initially C)]in {A/latex,B/stealth,C/>}
, where they are set aslatex
,stealth
and standard types. Yes, you can make the arrows thicker e.g. by saying{arrow[line width=2pt]{#2}}}
instead of{arrow{#2}}}
.
– marmot
50 mins ago
1
@Sandy Yes, I will be happy to follow your request if I understand it. You want three triangles? If so, do they all have the same dimensions? Are the next to each other? Or do you want 3 arrow heads on a given edge?
– marmot
40 mins ago
1
@Sandy Just for additional information, here is a (quite complete) list of available arrow tips.
– JouleV
16 mins ago
|
show 5 more comments
Maybe I misread the question, but if you want to vary the type of the arrow you may want to use
documentclass[12pt]{article}
usepackage{tikz}
usetikzlibrary{decorations.markings}
begin{document}
% based on https://tex.stackexchange.com/a/39282/121799
tikzset{->-/.style n args={2}{decoration={
markings,
mark=at position #1 with {arrow{#2}}},postaction={decorate}}}
begin{tikzpicture}[bullet/.style={circle,inner sep=1.5pt,fill}]
path (0,5) node[bullet,label=above:$A$](A){}
(0,0) node[bullet,label=below:$B$](B) {}
(5,0) node[bullet,label=below:$C$](C) {};
foreach X/Arrow [remember=X as LastX (initially C)]in
{A/latex,B/stealth,C/>}
{draw[line width=1pt,->-={0.5}{Arrow}] (LastX) -- (X);}
end{tikzpicture}
end{document}
As for your comment: this draws three triangles. Is that what you are looking for?
documentclass[12pt]{article}
usepackage{tikz}
usetikzlibrary{decorations.markings}
begin{document}
% based on https://tex.stackexchange.com/a/39282/121799
tikzset{->-/.style n args={2}{decoration={
markings,
mark=at position #1 with {arrow[line width=1pt]{#2}}},postaction={decorate}}}
begin{tikzpicture}[bullet/.style={circle,inner sep=1.5pt,fill}]
begin{scope}
path (0,5) node[bullet,label=above:$A$](A){}
(0,0) node[bullet,label=below:$B$](B) {}
(5,0) node[bullet,label=below:$C$](C) {};
foreach X [remember=X as LastX (initially C)] in {A,B,C}
{draw[line width=1pt,->-={0.5}{latex}] (LastX) -- (X);}
end{scope}
begin{scope}[xshift=6cm]
path (0,5) node[bullet,label=above:$A$](A'){}
(0,0) node[bullet,label=below:$B$](B') {}
(5,0) node[bullet,label=below:$C$](C') {};
foreach X [remember=X as LastX (initially C')]in {A',B',C'}
{draw[line width=1pt,->-={0.5}{stealth}] (LastX) -- (X);}
end{scope}
begin{scope}[yshift=-6.6cm]
path (0,5) node[bullet,label=above:$A$](A''){}
(0,0) node[bullet,label=below:$B$](B'') {}
(5,0) node[bullet,label=below:$C$](C'') {};
foreach X [remember=X as LastX (initially C'')]in {A'',B'',C''}
{draw[line width=1pt,->-={0.5}{>}] (LastX) -- (X);}
end{scope}
end{tikzpicture}
end{document}
Maybe I misread the question, but if you want to vary the type of the arrow you may want to use
documentclass[12pt]{article}
usepackage{tikz}
usetikzlibrary{decorations.markings}
begin{document}
% based on https://tex.stackexchange.com/a/39282/121799
tikzset{->-/.style n args={2}{decoration={
markings,
mark=at position #1 with {arrow{#2}}},postaction={decorate}}}
begin{tikzpicture}[bullet/.style={circle,inner sep=1.5pt,fill}]
path (0,5) node[bullet,label=above:$A$](A){}
(0,0) node[bullet,label=below:$B$](B) {}
(5,0) node[bullet,label=below:$C$](C) {};
foreach X/Arrow [remember=X as LastX (initially C)]in
{A/latex,B/stealth,C/>}
{draw[line width=1pt,->-={0.5}{Arrow}] (LastX) -- (X);}
end{tikzpicture}
end{document}
As for your comment: this draws three triangles. Is that what you are looking for?
documentclass[12pt]{article}
usepackage{tikz}
usetikzlibrary{decorations.markings}
begin{document}
% based on https://tex.stackexchange.com/a/39282/121799
tikzset{->-/.style n args={2}{decoration={
markings,
mark=at position #1 with {arrow[line width=1pt]{#2}}},postaction={decorate}}}
begin{tikzpicture}[bullet/.style={circle,inner sep=1.5pt,fill}]
begin{scope}
path (0,5) node[bullet,label=above:$A$](A){}
(0,0) node[bullet,label=below:$B$](B) {}
(5,0) node[bullet,label=below:$C$](C) {};
foreach X [remember=X as LastX (initially C)] in {A,B,C}
{draw[line width=1pt,->-={0.5}{latex}] (LastX) -- (X);}
end{scope}
begin{scope}[xshift=6cm]
path (0,5) node[bullet,label=above:$A$](A'){}
(0,0) node[bullet,label=below:$B$](B') {}
(5,0) node[bullet,label=below:$C$](C') {};
foreach X [remember=X as LastX (initially C')]in {A',B',C'}
{draw[line width=1pt,->-={0.5}{stealth}] (LastX) -- (X);}
end{scope}
begin{scope}[yshift=-6.6cm]
path (0,5) node[bullet,label=above:$A$](A''){}
(0,0) node[bullet,label=below:$B$](B'') {}
(5,0) node[bullet,label=below:$C$](C'') {};
foreach X [remember=X as LastX (initially C'')]in {A'',B'',C''}
{draw[line width=1pt,->-={0.5}{>}] (LastX) -- (X);}
end{scope}
end{tikzpicture}
end{document}
edited 21 mins ago
answered 1 hour ago
marmotmarmot
108k5132249
108k5132249
No friend, you understand my question better And the answer that I had hoped for almost got to be found. Only one request is please give me three different codes with arrows(three triangle with arrows) that you mentioned.
– Sandy
57 mins ago
Should i increase size of arrows? i am waiting.......
– Sandy
53 mins ago
@Sandy The three different arrows are already inforeach X/Arrow [remember=X as LastX (initially C)]in {A/latex,B/stealth,C/>}
, where they are set aslatex
,stealth
and standard types. Yes, you can make the arrows thicker e.g. by saying{arrow[line width=2pt]{#2}}}
instead of{arrow{#2}}}
.
– marmot
50 mins ago
1
@Sandy Yes, I will be happy to follow your request if I understand it. You want three triangles? If so, do they all have the same dimensions? Are the next to each other? Or do you want 3 arrow heads on a given edge?
– marmot
40 mins ago
1
@Sandy Just for additional information, here is a (quite complete) list of available arrow tips.
– JouleV
16 mins ago
|
show 5 more comments
No friend, you understand my question better And the answer that I had hoped for almost got to be found. Only one request is please give me three different codes with arrows(three triangle with arrows) that you mentioned.
– Sandy
57 mins ago
Should i increase size of arrows? i am waiting.......
– Sandy
53 mins ago
@Sandy The three different arrows are already inforeach X/Arrow [remember=X as LastX (initially C)]in {A/latex,B/stealth,C/>}
, where they are set aslatex
,stealth
and standard types. Yes, you can make the arrows thicker e.g. by saying{arrow[line width=2pt]{#2}}}
instead of{arrow{#2}}}
.
– marmot
50 mins ago
1
@Sandy Yes, I will be happy to follow your request if I understand it. You want three triangles? If so, do they all have the same dimensions? Are the next to each other? Or do you want 3 arrow heads on a given edge?
– marmot
40 mins ago
1
@Sandy Just for additional information, here is a (quite complete) list of available arrow tips.
– JouleV
16 mins ago
No friend, you understand my question better And the answer that I had hoped for almost got to be found. Only one request is please give me three different codes with arrows(three triangle with arrows) that you mentioned.
– Sandy
57 mins ago
No friend, you understand my question better And the answer that I had hoped for almost got to be found. Only one request is please give me three different codes with arrows(three triangle with arrows) that you mentioned.
– Sandy
57 mins ago
Should i increase size of arrows? i am waiting.......
– Sandy
53 mins ago
Should i increase size of arrows? i am waiting.......
– Sandy
53 mins ago
@Sandy The three different arrows are already in
foreach X/Arrow [remember=X as LastX (initially C)]in {A/latex,B/stealth,C/>}
, where they are set as latex
, stealth
and standard types. Yes, you can make the arrows thicker e.g. by saying {arrow[line width=2pt]{#2}}}
instead of {arrow{#2}}}
.– marmot
50 mins ago
@Sandy The three different arrows are already in
foreach X/Arrow [remember=X as LastX (initially C)]in {A/latex,B/stealth,C/>}
, where they are set as latex
, stealth
and standard types. Yes, you can make the arrows thicker e.g. by saying {arrow[line width=2pt]{#2}}}
instead of {arrow{#2}}}
.– marmot
50 mins ago
1
1
@Sandy Yes, I will be happy to follow your request if I understand it. You want three triangles? If so, do they all have the same dimensions? Are the next to each other? Or do you want 3 arrow heads on a given edge?
– marmot
40 mins ago
@Sandy Yes, I will be happy to follow your request if I understand it. You want three triangles? If so, do they all have the same dimensions? Are the next to each other? Or do you want 3 arrow heads on a given edge?
– marmot
40 mins ago
1
1
@Sandy Just for additional information, here is a (quite complete) list of available arrow tips.
– JouleV
16 mins ago
@Sandy Just for additional information, here is a (quite complete) list of available arrow tips.
– JouleV
16 mins ago
|
show 5 more comments
Using TikZ: How to draw an arrow in the middle of the line?
%documentclass[border=2mm]{standalone}
documentclass{article}
usepackage{tikz}
usetikzlibrary{decorations.markings}
begin{document}
begin{tikzpicture}
draw [fill=black] (0,5) circle (1.5pt);
draw[color=black] (0.0,5.5) node {$A$};
draw [fill=black] (0,0) circle (1.5pt);
draw[color=black] (0.0,-0.5) node {$B$};
draw [fill=black] (5,0) circle (1.5pt);
draw[color=black] (5.0,-0.5) node {$C$};
begin{scope}[very thick,decoration={
markings,
mark=at position 0.5 with {arrow{>}}}
]
draw [line width=1pt,postaction={decorate}] (0,5)-- (0,0);
draw [line width=1pt,postaction={decorate}] (5,0)-- (0,5);
draw [line width=1pt,postaction={decorate}] (0,0)-- (5,0);
end{scope}
end{tikzpicture}
end{document}
Is it possible of article document type?
– Sandy
49 mins ago
@Sandy Yes...sure
– sandu
47 mins ago
Would you please modified your codes for article?
– Sandy
17 mins ago
@Sandy done... see the code above....
– sandu
10 mins ago
add a comment |
Using TikZ: How to draw an arrow in the middle of the line?
%documentclass[border=2mm]{standalone}
documentclass{article}
usepackage{tikz}
usetikzlibrary{decorations.markings}
begin{document}
begin{tikzpicture}
draw [fill=black] (0,5) circle (1.5pt);
draw[color=black] (0.0,5.5) node {$A$};
draw [fill=black] (0,0) circle (1.5pt);
draw[color=black] (0.0,-0.5) node {$B$};
draw [fill=black] (5,0) circle (1.5pt);
draw[color=black] (5.0,-0.5) node {$C$};
begin{scope}[very thick,decoration={
markings,
mark=at position 0.5 with {arrow{>}}}
]
draw [line width=1pt,postaction={decorate}] (0,5)-- (0,0);
draw [line width=1pt,postaction={decorate}] (5,0)-- (0,5);
draw [line width=1pt,postaction={decorate}] (0,0)-- (5,0);
end{scope}
end{tikzpicture}
end{document}
Is it possible of article document type?
– Sandy
49 mins ago
@Sandy Yes...sure
– sandu
47 mins ago
Would you please modified your codes for article?
– Sandy
17 mins ago
@Sandy done... see the code above....
– sandu
10 mins ago
add a comment |
Using TikZ: How to draw an arrow in the middle of the line?
%documentclass[border=2mm]{standalone}
documentclass{article}
usepackage{tikz}
usetikzlibrary{decorations.markings}
begin{document}
begin{tikzpicture}
draw [fill=black] (0,5) circle (1.5pt);
draw[color=black] (0.0,5.5) node {$A$};
draw [fill=black] (0,0) circle (1.5pt);
draw[color=black] (0.0,-0.5) node {$B$};
draw [fill=black] (5,0) circle (1.5pt);
draw[color=black] (5.0,-0.5) node {$C$};
begin{scope}[very thick,decoration={
markings,
mark=at position 0.5 with {arrow{>}}}
]
draw [line width=1pt,postaction={decorate}] (0,5)-- (0,0);
draw [line width=1pt,postaction={decorate}] (5,0)-- (0,5);
draw [line width=1pt,postaction={decorate}] (0,0)-- (5,0);
end{scope}
end{tikzpicture}
end{document}
Using TikZ: How to draw an arrow in the middle of the line?
%documentclass[border=2mm]{standalone}
documentclass{article}
usepackage{tikz}
usetikzlibrary{decorations.markings}
begin{document}
begin{tikzpicture}
draw [fill=black] (0,5) circle (1.5pt);
draw[color=black] (0.0,5.5) node {$A$};
draw [fill=black] (0,0) circle (1.5pt);
draw[color=black] (0.0,-0.5) node {$B$};
draw [fill=black] (5,0) circle (1.5pt);
draw[color=black] (5.0,-0.5) node {$C$};
begin{scope}[very thick,decoration={
markings,
mark=at position 0.5 with {arrow{>}}}
]
draw [line width=1pt,postaction={decorate}] (0,5)-- (0,0);
draw [line width=1pt,postaction={decorate}] (5,0)-- (0,5);
draw [line width=1pt,postaction={decorate}] (0,0)-- (5,0);
end{scope}
end{tikzpicture}
end{document}
edited 47 mins ago
answered 1 hour ago
sandusandu
3,56542855
3,56542855
Is it possible of article document type?
– Sandy
49 mins ago
@Sandy Yes...sure
– sandu
47 mins ago
Would you please modified your codes for article?
– Sandy
17 mins ago
@Sandy done... see the code above....
– sandu
10 mins ago
add a comment |
Is it possible of article document type?
– Sandy
49 mins ago
@Sandy Yes...sure
– sandu
47 mins ago
Would you please modified your codes for article?
– Sandy
17 mins ago
@Sandy done... see the code above....
– sandu
10 mins ago
Is it possible of article document type?
– Sandy
49 mins ago
Is it possible of article document type?
– Sandy
49 mins ago
@Sandy Yes...sure
– sandu
47 mins ago
@Sandy Yes...sure
– sandu
47 mins ago
Would you please modified your codes for article?
– Sandy
17 mins ago
Would you please modified your codes for article?
– Sandy
17 mins ago
@Sandy done... see the code above....
– sandu
10 mins ago
@Sandy done... see the code above....
– sandu
10 mins ago
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%2f479406%2fdraw-arrow-on-sides-of-triangle%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