Tikz: How to create arrow with two corners?
My problem is very similar to this question. However, I'm unable to use this solution in my figure.
I want to connect two nodes with an arrow which has two corners. Here is my code:
documentclass[12pt]{article}
usepackage{setspace,amsmath,graphicx,float}
usepackage[english]{babel}
usepackage[natbibapa]{apacite}
usepackage{times}
usepackage{tikz}
usetikzlibrary{shapes,arrows,arrows.meta,positioning,calc}
begin{document}
begin{figure}[H]
centering
tikzstyle{block} = [draw, rectangle, minimum height=5.5em, minimum width=19em]
tikzstyle{smallblock} = [draw, rectangle, minimum height=5.5em, minimum width=9em]
tikzstyle{input} = [coordinate]
tikzstyle{output} = [coordinate]
tikzstyle{pinstyle} = [pin edge={to-,thin,black}]
begin{tikzpicture}[auto,node distance=7cm,>=latex',align=center]
node [input, name=input] {};
node [block, rounded corners=5pt, right of=input] (A) {Start with the narrowest product\ or geographic market definition.};
node [block, rounded corners=5pt, below of=A, node distance=3.5cm] (B) {Is it profitable for a monopoly producer of\ that product to increase prices in a small but\ significant and nontransitory way?};
node [block, rounded corners=5pt, below of=B, node distance=3.5cm] (C) {There must be at least one good substitute\ excluded from the current market definition.\ Expand the market to include it.};
node [block, rounded corners=5pt, below of=C, node distance=3.5cm] (D) {Now have a multiproduct monopolist.\ Could he profitably raise prices?};
node [smallblock, rounded corners=5pt, right of=D, node distance=8cm] (E) {Stop.\ Market definition\ is wide enough.};
draw [-{Latex[length=3mm]}] (A) -- node[auto][name=1] [right]{} (B);
draw [-{Latex[length=3mm]}] (B) -- node[auto][name=2] [right]{No} (C);
draw [-{Latex[length=3mm]}] (C) -- node[auto][name=3] [right]{} (D);
draw [-{Latex[length=3mm]}] (D) -- node[auto][name=4] [above]{Yes} (E);
draw [-{Latex[length=3mm]}] (B) -| node[near start][name=5] [above]{Yes} (E);
draw [-{Latex[length=3mm]}] (D) -- +(0,1)|- node[auto][name=6] [left]{No} (C);
end{tikzpicture}
caption[Illustration of an HMT decision tree]{Illustration of an HMT decision tree citep{QuantTech}.}label{AlgorithmHMT}
end{figure}
end{document}
I want to connect block D with C (see the last draw
), but the code -- +(0,1)|- node
(as in the other question) does not work. I tried to alter it of course, but I'm not really making progress.
Can anyone please help?
tikz-arrows
add a comment |
My problem is very similar to this question. However, I'm unable to use this solution in my figure.
I want to connect two nodes with an arrow which has two corners. Here is my code:
documentclass[12pt]{article}
usepackage{setspace,amsmath,graphicx,float}
usepackage[english]{babel}
usepackage[natbibapa]{apacite}
usepackage{times}
usepackage{tikz}
usetikzlibrary{shapes,arrows,arrows.meta,positioning,calc}
begin{document}
begin{figure}[H]
centering
tikzstyle{block} = [draw, rectangle, minimum height=5.5em, minimum width=19em]
tikzstyle{smallblock} = [draw, rectangle, minimum height=5.5em, minimum width=9em]
tikzstyle{input} = [coordinate]
tikzstyle{output} = [coordinate]
tikzstyle{pinstyle} = [pin edge={to-,thin,black}]
begin{tikzpicture}[auto,node distance=7cm,>=latex',align=center]
node [input, name=input] {};
node [block, rounded corners=5pt, right of=input] (A) {Start with the narrowest product\ or geographic market definition.};
node [block, rounded corners=5pt, below of=A, node distance=3.5cm] (B) {Is it profitable for a monopoly producer of\ that product to increase prices in a small but\ significant and nontransitory way?};
node [block, rounded corners=5pt, below of=B, node distance=3.5cm] (C) {There must be at least one good substitute\ excluded from the current market definition.\ Expand the market to include it.};
node [block, rounded corners=5pt, below of=C, node distance=3.5cm] (D) {Now have a multiproduct monopolist.\ Could he profitably raise prices?};
node [smallblock, rounded corners=5pt, right of=D, node distance=8cm] (E) {Stop.\ Market definition\ is wide enough.};
draw [-{Latex[length=3mm]}] (A) -- node[auto][name=1] [right]{} (B);
draw [-{Latex[length=3mm]}] (B) -- node[auto][name=2] [right]{No} (C);
draw [-{Latex[length=3mm]}] (C) -- node[auto][name=3] [right]{} (D);
draw [-{Latex[length=3mm]}] (D) -- node[auto][name=4] [above]{Yes} (E);
draw [-{Latex[length=3mm]}] (B) -| node[near start][name=5] [above]{Yes} (E);
draw [-{Latex[length=3mm]}] (D) -- +(0,1)|- node[auto][name=6] [left]{No} (C);
end{tikzpicture}
caption[Illustration of an HMT decision tree]{Illustration of an HMT decision tree citep{QuantTech}.}label{AlgorithmHMT}
end{figure}
end{document}
I want to connect block D with C (see the last draw
), but the code -- +(0,1)|- node
(as in the other question) does not work. I tried to alter it of course, but I'm not really making progress.
Can anyone please help?
tikz-arrows
1
See this question tex.stackexchange.com/questions/55068/…
– percusse
Dec 28 '16 at 14:52
add a comment |
My problem is very similar to this question. However, I'm unable to use this solution in my figure.
I want to connect two nodes with an arrow which has two corners. Here is my code:
documentclass[12pt]{article}
usepackage{setspace,amsmath,graphicx,float}
usepackage[english]{babel}
usepackage[natbibapa]{apacite}
usepackage{times}
usepackage{tikz}
usetikzlibrary{shapes,arrows,arrows.meta,positioning,calc}
begin{document}
begin{figure}[H]
centering
tikzstyle{block} = [draw, rectangle, minimum height=5.5em, minimum width=19em]
tikzstyle{smallblock} = [draw, rectangle, minimum height=5.5em, minimum width=9em]
tikzstyle{input} = [coordinate]
tikzstyle{output} = [coordinate]
tikzstyle{pinstyle} = [pin edge={to-,thin,black}]
begin{tikzpicture}[auto,node distance=7cm,>=latex',align=center]
node [input, name=input] {};
node [block, rounded corners=5pt, right of=input] (A) {Start with the narrowest product\ or geographic market definition.};
node [block, rounded corners=5pt, below of=A, node distance=3.5cm] (B) {Is it profitable for a monopoly producer of\ that product to increase prices in a small but\ significant and nontransitory way?};
node [block, rounded corners=5pt, below of=B, node distance=3.5cm] (C) {There must be at least one good substitute\ excluded from the current market definition.\ Expand the market to include it.};
node [block, rounded corners=5pt, below of=C, node distance=3.5cm] (D) {Now have a multiproduct monopolist.\ Could he profitably raise prices?};
node [smallblock, rounded corners=5pt, right of=D, node distance=8cm] (E) {Stop.\ Market definition\ is wide enough.};
draw [-{Latex[length=3mm]}] (A) -- node[auto][name=1] [right]{} (B);
draw [-{Latex[length=3mm]}] (B) -- node[auto][name=2] [right]{No} (C);
draw [-{Latex[length=3mm]}] (C) -- node[auto][name=3] [right]{} (D);
draw [-{Latex[length=3mm]}] (D) -- node[auto][name=4] [above]{Yes} (E);
draw [-{Latex[length=3mm]}] (B) -| node[near start][name=5] [above]{Yes} (E);
draw [-{Latex[length=3mm]}] (D) -- +(0,1)|- node[auto][name=6] [left]{No} (C);
end{tikzpicture}
caption[Illustration of an HMT decision tree]{Illustration of an HMT decision tree citep{QuantTech}.}label{AlgorithmHMT}
end{figure}
end{document}
I want to connect block D with C (see the last draw
), but the code -- +(0,1)|- node
(as in the other question) does not work. I tried to alter it of course, but I'm not really making progress.
Can anyone please help?
tikz-arrows
My problem is very similar to this question. However, I'm unable to use this solution in my figure.
I want to connect two nodes with an arrow which has two corners. Here is my code:
documentclass[12pt]{article}
usepackage{setspace,amsmath,graphicx,float}
usepackage[english]{babel}
usepackage[natbibapa]{apacite}
usepackage{times}
usepackage{tikz}
usetikzlibrary{shapes,arrows,arrows.meta,positioning,calc}
begin{document}
begin{figure}[H]
centering
tikzstyle{block} = [draw, rectangle, minimum height=5.5em, minimum width=19em]
tikzstyle{smallblock} = [draw, rectangle, minimum height=5.5em, minimum width=9em]
tikzstyle{input} = [coordinate]
tikzstyle{output} = [coordinate]
tikzstyle{pinstyle} = [pin edge={to-,thin,black}]
begin{tikzpicture}[auto,node distance=7cm,>=latex',align=center]
node [input, name=input] {};
node [block, rounded corners=5pt, right of=input] (A) {Start with the narrowest product\ or geographic market definition.};
node [block, rounded corners=5pt, below of=A, node distance=3.5cm] (B) {Is it profitable for a monopoly producer of\ that product to increase prices in a small but\ significant and nontransitory way?};
node [block, rounded corners=5pt, below of=B, node distance=3.5cm] (C) {There must be at least one good substitute\ excluded from the current market definition.\ Expand the market to include it.};
node [block, rounded corners=5pt, below of=C, node distance=3.5cm] (D) {Now have a multiproduct monopolist.\ Could he profitably raise prices?};
node [smallblock, rounded corners=5pt, right of=D, node distance=8cm] (E) {Stop.\ Market definition\ is wide enough.};
draw [-{Latex[length=3mm]}] (A) -- node[auto][name=1] [right]{} (B);
draw [-{Latex[length=3mm]}] (B) -- node[auto][name=2] [right]{No} (C);
draw [-{Latex[length=3mm]}] (C) -- node[auto][name=3] [right]{} (D);
draw [-{Latex[length=3mm]}] (D) -- node[auto][name=4] [above]{Yes} (E);
draw [-{Latex[length=3mm]}] (B) -| node[near start][name=5] [above]{Yes} (E);
draw [-{Latex[length=3mm]}] (D) -- +(0,1)|- node[auto][name=6] [left]{No} (C);
end{tikzpicture}
caption[Illustration of an HMT decision tree]{Illustration of an HMT decision tree citep{QuantTech}.}label{AlgorithmHMT}
end{figure}
end{document}
I want to connect block D with C (see the last draw
), but the code -- +(0,1)|- node
(as in the other question) does not work. I tried to alter it of course, but I'm not really making progress.
Can anyone please help?
tikz-arrows
tikz-arrows
edited Apr 13 '17 at 12:34
Community♦
1
1
asked Dec 28 '16 at 14:28
Malganas
158112
158112
1
See this question tex.stackexchange.com/questions/55068/…
– percusse
Dec 28 '16 at 14:52
add a comment |
1
See this question tex.stackexchange.com/questions/55068/…
– percusse
Dec 28 '16 at 14:52
1
1
See this question tex.stackexchange.com/questions/55068/…
– percusse
Dec 28 '16 at 14:52
See this question tex.stackexchange.com/questions/55068/…
– percusse
Dec 28 '16 at 14:52
add a comment |
1 Answer
1
active
oldest
votes
Like this?
(I guess that you like to have something like the above picture)
I rewrote your MWE significantly
- deprecated
tikzstyle{<name>} = [...]
I replace with options oftikzpicture
as<name>/.style = {....}
(see MWE below) - with
tikzlibrary{positioning}
the correct syntax is for exampleleft=of <node name>
- for node distance I consider
positioning
again and definenode distance = <vertical> and <horizontal>
. for distance I select far smaller lengths than you (otherwise the picture is out of page) - for relative positioning with
+
you need explicit to define anchor of node:(D.west) -- + (-1,0)
.
Complete MWE:
documentclass[12pt]{article}
usepackage{setspace,amsmath,graphicx,float}
usepackage[english]{babel}
usepackage[natbibapa]{apacite}
usepackage{times}
usepackage{tikz}
usetikzlibrary{arrows, arrows.meta, calc, positioning, quotes, shapes}
begin{document}
begin{figure}
centering
begin{tikzpicture}[
auto,
node distance = 11mm and 22mm,
base/.style = {draw, rounded corners=5pt, minimum height=5.5em,
align=center},
block/.style = {base, minimum width=19em},
smallblock/.style = {base, minimum width=9em},
]
coordinate (in);
node [block,right=of in] (A) {Start with the narrowest product\
or geographic market definition.};
node [block,below=of A ] (B) {Is it profitable for a monopoly producer of\
that product to increase prices in a small but\
significant and nontransitory way?};
node [block,below=of B ] (C) {There must be at least one good substitute\
excluded from the current market definition.\
Expand the market to include it.};
node [block,below=of C ] (D) {Now have a multiproduct monopolist.\
Could he profitably raise prices?};
node [smallblock,right=of D] (E) {Stop.\
Market definition\
is wide enough.};
draw [-{Latex[length=3mm]}]
(A) edge (B)
(B) edge ["No"] (C)
(C) edge (D)
(D) edge ["Yes"] (E);
draw [-{Latex[length=3mm]}]
(B) -| node[pos=0.25,name=5] {Yes} (E);
draw [-{Latex[length=3mm]}]
(D.west) -- +(-1,0) |- node[pos=0.25] {No} (C);
end{tikzpicture}
caption[Illustration of an HMT decision tree]
{Illustration of an HMT decision tree citep{QuantTech}.}
label{AlgorithmHMT}
end{figure}
end{document}
Thank you so much @Zarko! That's exactly what I wanted and I'm glad that I have a working sample of a pro. I picked my code up from various sources and I knew it was amateurishly done. Now I finally have something to analyse how it is done correctly.
– Malganas
Dec 28 '16 at 15:57
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%2f346041%2ftikz-how-to-create-arrow-with-two-corners%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
Like this?
(I guess that you like to have something like the above picture)
I rewrote your MWE significantly
- deprecated
tikzstyle{<name>} = [...]
I replace with options oftikzpicture
as<name>/.style = {....}
(see MWE below) - with
tikzlibrary{positioning}
the correct syntax is for exampleleft=of <node name>
- for node distance I consider
positioning
again and definenode distance = <vertical> and <horizontal>
. for distance I select far smaller lengths than you (otherwise the picture is out of page) - for relative positioning with
+
you need explicit to define anchor of node:(D.west) -- + (-1,0)
.
Complete MWE:
documentclass[12pt]{article}
usepackage{setspace,amsmath,graphicx,float}
usepackage[english]{babel}
usepackage[natbibapa]{apacite}
usepackage{times}
usepackage{tikz}
usetikzlibrary{arrows, arrows.meta, calc, positioning, quotes, shapes}
begin{document}
begin{figure}
centering
begin{tikzpicture}[
auto,
node distance = 11mm and 22mm,
base/.style = {draw, rounded corners=5pt, minimum height=5.5em,
align=center},
block/.style = {base, minimum width=19em},
smallblock/.style = {base, minimum width=9em},
]
coordinate (in);
node [block,right=of in] (A) {Start with the narrowest product\
or geographic market definition.};
node [block,below=of A ] (B) {Is it profitable for a monopoly producer of\
that product to increase prices in a small but\
significant and nontransitory way?};
node [block,below=of B ] (C) {There must be at least one good substitute\
excluded from the current market definition.\
Expand the market to include it.};
node [block,below=of C ] (D) {Now have a multiproduct monopolist.\
Could he profitably raise prices?};
node [smallblock,right=of D] (E) {Stop.\
Market definition\
is wide enough.};
draw [-{Latex[length=3mm]}]
(A) edge (B)
(B) edge ["No"] (C)
(C) edge (D)
(D) edge ["Yes"] (E);
draw [-{Latex[length=3mm]}]
(B) -| node[pos=0.25,name=5] {Yes} (E);
draw [-{Latex[length=3mm]}]
(D.west) -- +(-1,0) |- node[pos=0.25] {No} (C);
end{tikzpicture}
caption[Illustration of an HMT decision tree]
{Illustration of an HMT decision tree citep{QuantTech}.}
label{AlgorithmHMT}
end{figure}
end{document}
Thank you so much @Zarko! That's exactly what I wanted and I'm glad that I have a working sample of a pro. I picked my code up from various sources and I knew it was amateurishly done. Now I finally have something to analyse how it is done correctly.
– Malganas
Dec 28 '16 at 15:57
add a comment |
Like this?
(I guess that you like to have something like the above picture)
I rewrote your MWE significantly
- deprecated
tikzstyle{<name>} = [...]
I replace with options oftikzpicture
as<name>/.style = {....}
(see MWE below) - with
tikzlibrary{positioning}
the correct syntax is for exampleleft=of <node name>
- for node distance I consider
positioning
again and definenode distance = <vertical> and <horizontal>
. for distance I select far smaller lengths than you (otherwise the picture is out of page) - for relative positioning with
+
you need explicit to define anchor of node:(D.west) -- + (-1,0)
.
Complete MWE:
documentclass[12pt]{article}
usepackage{setspace,amsmath,graphicx,float}
usepackage[english]{babel}
usepackage[natbibapa]{apacite}
usepackage{times}
usepackage{tikz}
usetikzlibrary{arrows, arrows.meta, calc, positioning, quotes, shapes}
begin{document}
begin{figure}
centering
begin{tikzpicture}[
auto,
node distance = 11mm and 22mm,
base/.style = {draw, rounded corners=5pt, minimum height=5.5em,
align=center},
block/.style = {base, minimum width=19em},
smallblock/.style = {base, minimum width=9em},
]
coordinate (in);
node [block,right=of in] (A) {Start with the narrowest product\
or geographic market definition.};
node [block,below=of A ] (B) {Is it profitable for a monopoly producer of\
that product to increase prices in a small but\
significant and nontransitory way?};
node [block,below=of B ] (C) {There must be at least one good substitute\
excluded from the current market definition.\
Expand the market to include it.};
node [block,below=of C ] (D) {Now have a multiproduct monopolist.\
Could he profitably raise prices?};
node [smallblock,right=of D] (E) {Stop.\
Market definition\
is wide enough.};
draw [-{Latex[length=3mm]}]
(A) edge (B)
(B) edge ["No"] (C)
(C) edge (D)
(D) edge ["Yes"] (E);
draw [-{Latex[length=3mm]}]
(B) -| node[pos=0.25,name=5] {Yes} (E);
draw [-{Latex[length=3mm]}]
(D.west) -- +(-1,0) |- node[pos=0.25] {No} (C);
end{tikzpicture}
caption[Illustration of an HMT decision tree]
{Illustration of an HMT decision tree citep{QuantTech}.}
label{AlgorithmHMT}
end{figure}
end{document}
Thank you so much @Zarko! That's exactly what I wanted and I'm glad that I have a working sample of a pro. I picked my code up from various sources and I knew it was amateurishly done. Now I finally have something to analyse how it is done correctly.
– Malganas
Dec 28 '16 at 15:57
add a comment |
Like this?
(I guess that you like to have something like the above picture)
I rewrote your MWE significantly
- deprecated
tikzstyle{<name>} = [...]
I replace with options oftikzpicture
as<name>/.style = {....}
(see MWE below) - with
tikzlibrary{positioning}
the correct syntax is for exampleleft=of <node name>
- for node distance I consider
positioning
again and definenode distance = <vertical> and <horizontal>
. for distance I select far smaller lengths than you (otherwise the picture is out of page) - for relative positioning with
+
you need explicit to define anchor of node:(D.west) -- + (-1,0)
.
Complete MWE:
documentclass[12pt]{article}
usepackage{setspace,amsmath,graphicx,float}
usepackage[english]{babel}
usepackage[natbibapa]{apacite}
usepackage{times}
usepackage{tikz}
usetikzlibrary{arrows, arrows.meta, calc, positioning, quotes, shapes}
begin{document}
begin{figure}
centering
begin{tikzpicture}[
auto,
node distance = 11mm and 22mm,
base/.style = {draw, rounded corners=5pt, minimum height=5.5em,
align=center},
block/.style = {base, minimum width=19em},
smallblock/.style = {base, minimum width=9em},
]
coordinate (in);
node [block,right=of in] (A) {Start with the narrowest product\
or geographic market definition.};
node [block,below=of A ] (B) {Is it profitable for a monopoly producer of\
that product to increase prices in a small but\
significant and nontransitory way?};
node [block,below=of B ] (C) {There must be at least one good substitute\
excluded from the current market definition.\
Expand the market to include it.};
node [block,below=of C ] (D) {Now have a multiproduct monopolist.\
Could he profitably raise prices?};
node [smallblock,right=of D] (E) {Stop.\
Market definition\
is wide enough.};
draw [-{Latex[length=3mm]}]
(A) edge (B)
(B) edge ["No"] (C)
(C) edge (D)
(D) edge ["Yes"] (E);
draw [-{Latex[length=3mm]}]
(B) -| node[pos=0.25,name=5] {Yes} (E);
draw [-{Latex[length=3mm]}]
(D.west) -- +(-1,0) |- node[pos=0.25] {No} (C);
end{tikzpicture}
caption[Illustration of an HMT decision tree]
{Illustration of an HMT decision tree citep{QuantTech}.}
label{AlgorithmHMT}
end{figure}
end{document}
Like this?
(I guess that you like to have something like the above picture)
I rewrote your MWE significantly
- deprecated
tikzstyle{<name>} = [...]
I replace with options oftikzpicture
as<name>/.style = {....}
(see MWE below) - with
tikzlibrary{positioning}
the correct syntax is for exampleleft=of <node name>
- for node distance I consider
positioning
again and definenode distance = <vertical> and <horizontal>
. for distance I select far smaller lengths than you (otherwise the picture is out of page) - for relative positioning with
+
you need explicit to define anchor of node:(D.west) -- + (-1,0)
.
Complete MWE:
documentclass[12pt]{article}
usepackage{setspace,amsmath,graphicx,float}
usepackage[english]{babel}
usepackage[natbibapa]{apacite}
usepackage{times}
usepackage{tikz}
usetikzlibrary{arrows, arrows.meta, calc, positioning, quotes, shapes}
begin{document}
begin{figure}
centering
begin{tikzpicture}[
auto,
node distance = 11mm and 22mm,
base/.style = {draw, rounded corners=5pt, minimum height=5.5em,
align=center},
block/.style = {base, minimum width=19em},
smallblock/.style = {base, minimum width=9em},
]
coordinate (in);
node [block,right=of in] (A) {Start with the narrowest product\
or geographic market definition.};
node [block,below=of A ] (B) {Is it profitable for a monopoly producer of\
that product to increase prices in a small but\
significant and nontransitory way?};
node [block,below=of B ] (C) {There must be at least one good substitute\
excluded from the current market definition.\
Expand the market to include it.};
node [block,below=of C ] (D) {Now have a multiproduct monopolist.\
Could he profitably raise prices?};
node [smallblock,right=of D] (E) {Stop.\
Market definition\
is wide enough.};
draw [-{Latex[length=3mm]}]
(A) edge (B)
(B) edge ["No"] (C)
(C) edge (D)
(D) edge ["Yes"] (E);
draw [-{Latex[length=3mm]}]
(B) -| node[pos=0.25,name=5] {Yes} (E);
draw [-{Latex[length=3mm]}]
(D.west) -- +(-1,0) |- node[pos=0.25] {No} (C);
end{tikzpicture}
caption[Illustration of an HMT decision tree]
{Illustration of an HMT decision tree citep{QuantTech}.}
label{AlgorithmHMT}
end{figure}
end{document}
edited Dec 14 '18 at 18:11
answered Dec 28 '16 at 15:32
Zarko
121k865157
121k865157
Thank you so much @Zarko! That's exactly what I wanted and I'm glad that I have a working sample of a pro. I picked my code up from various sources and I knew it was amateurishly done. Now I finally have something to analyse how it is done correctly.
– Malganas
Dec 28 '16 at 15:57
add a comment |
Thank you so much @Zarko! That's exactly what I wanted and I'm glad that I have a working sample of a pro. I picked my code up from various sources and I knew it was amateurishly done. Now I finally have something to analyse how it is done correctly.
– Malganas
Dec 28 '16 at 15:57
Thank you so much @Zarko! That's exactly what I wanted and I'm glad that I have a working sample of a pro. I picked my code up from various sources and I knew it was amateurishly done. Now I finally have something to analyse how it is done correctly.
– Malganas
Dec 28 '16 at 15:57
Thank you so much @Zarko! That's exactly what I wanted and I'm glad that I have a working sample of a pro. I picked my code up from various sources and I knew it was amateurishly done. Now I finally have something to analyse how it is done correctly.
– Malganas
Dec 28 '16 at 15:57
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%2f346041%2ftikz-how-to-create-arrow-with-two-corners%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
See this question tex.stackexchange.com/questions/55068/…
– percusse
Dec 28 '16 at 14:52