Arrow between lines in the align environmentLaTeX equivalent of ConTeXt buffersRotate a node but not its...
Where is the line between being obedient and getting bullied by a boss?
How to lift/raise/repair a segment of concrete slab?
Rationale to prefer local variables over instance variables?
What should the omniscient narrator call a character?
Is there a full canon version of Tyrion's jackass/honeycomb joke?
Starting index at zero
Book about a time-travel war fought by computers
Is the withholding of funding notice allowed?
Is it possible to make a clamp function shorter than a ternary in JS?
Is there a math equivalent to the conditional ternary operator?
Non-Italian European mafias in USA?
Why I cant see italic font at the header?
Why is it "take a leak?"
Do you continue making death saving throws while petrified?
How to kill a localhost:8080
Are small insurances worth it
Wrap all numerics in JSON with quotes
How do I deal with being jealous of my own players?
What are the issues with an additional (limited) concentration slot instead of Bladesong?
How do you say “my friend is throwing a party, do you wanna come?” in german
What does @RC mean in SSDT SQL Server Unit Testing?
Get length of the longest sequence of numbers with the same sign
When was drinking water recognized as crucial in marathon running?
The need of reserving one's ability in job interviews
Arrow between lines in the align environment
LaTeX equivalent of ConTeXt buffersRotate a node but not its content: the case of the ellipse decorationTikZ scaling graphic and adjust node position and keep font sizeA very complicated multiple lines problem in the align environmentTikZ/ERD: node (=Entity) label on the insideTikZ: Drawing an arc from an intersection to an intersectionLine up nested tikz enviroments or how to get rid of themBeamer: Uncovering lines in the align environmentCommutative diagram with curve connecting between nodesAutomatically find which nodes are closest, to aid drawing lines within a TikZ matrix
I want to add some texts between lines in the align* environment like this:
I tried the following code:
begin{align*}
abc &= def + def + def + def tikzmark{a}\
&= ghi + ghi tikzmark{b}\
&= jkltikzmark{c}\
&= mno + mnotikzmark{d}
end{align*}
begin{tikzpicture}[remember picture, overlay]
draw[->] ([xshift=2mm] pic cs:a)
to [out=0,in=0 ]
node[midway,anchor=west,xshift=3mm] {footnotesize defitnition}
([xshift=2mm] pic cs:b);
draw[->] ([xshift=2mm] pic cs:c)
to [out=0,in=0 ]
node[midway,anchor=west,xshift=3mm] {footnotesize blablabla}
([xshift=2mm] pic cs:d);
end{tikzpicture}
but it only gives
There are two problems:
(i) I want to make every arrow aligned vertically
(ii) As I am going to use this arrow very frequently, I want to define it as a sort of newcommand thing.
What can I do?
tikz-pgf align arrows
New contributor
add a comment |
I want to add some texts between lines in the align* environment like this:
I tried the following code:
begin{align*}
abc &= def + def + def + def tikzmark{a}\
&= ghi + ghi tikzmark{b}\
&= jkltikzmark{c}\
&= mno + mnotikzmark{d}
end{align*}
begin{tikzpicture}[remember picture, overlay]
draw[->] ([xshift=2mm] pic cs:a)
to [out=0,in=0 ]
node[midway,anchor=west,xshift=3mm] {footnotesize defitnition}
([xshift=2mm] pic cs:b);
draw[->] ([xshift=2mm] pic cs:c)
to [out=0,in=0 ]
node[midway,anchor=west,xshift=3mm] {footnotesize blablabla}
([xshift=2mm] pic cs:d);
end{tikzpicture}
but it only gives
There are two problems:
(i) I want to make every arrow aligned vertically
(ii) As I am going to use this arrow very frequently, I want to define it as a sort of newcommand thing.
What can I do?
tikz-pgf align arrows
New contributor
1
Welcome to TeX.SE! Can you please show us what you have tried so far?
– Kurt
4 hours ago
add a comment |
I want to add some texts between lines in the align* environment like this:
I tried the following code:
begin{align*}
abc &= def + def + def + def tikzmark{a}\
&= ghi + ghi tikzmark{b}\
&= jkltikzmark{c}\
&= mno + mnotikzmark{d}
end{align*}
begin{tikzpicture}[remember picture, overlay]
draw[->] ([xshift=2mm] pic cs:a)
to [out=0,in=0 ]
node[midway,anchor=west,xshift=3mm] {footnotesize defitnition}
([xshift=2mm] pic cs:b);
draw[->] ([xshift=2mm] pic cs:c)
to [out=0,in=0 ]
node[midway,anchor=west,xshift=3mm] {footnotesize blablabla}
([xshift=2mm] pic cs:d);
end{tikzpicture}
but it only gives
There are two problems:
(i) I want to make every arrow aligned vertically
(ii) As I am going to use this arrow very frequently, I want to define it as a sort of newcommand thing.
What can I do?
tikz-pgf align arrows
New contributor
I want to add some texts between lines in the align* environment like this:
I tried the following code:
begin{align*}
abc &= def + def + def + def tikzmark{a}\
&= ghi + ghi tikzmark{b}\
&= jkltikzmark{c}\
&= mno + mnotikzmark{d}
end{align*}
begin{tikzpicture}[remember picture, overlay]
draw[->] ([xshift=2mm] pic cs:a)
to [out=0,in=0 ]
node[midway,anchor=west,xshift=3mm] {footnotesize defitnition}
([xshift=2mm] pic cs:b);
draw[->] ([xshift=2mm] pic cs:c)
to [out=0,in=0 ]
node[midway,anchor=west,xshift=3mm] {footnotesize blablabla}
([xshift=2mm] pic cs:d);
end{tikzpicture}
but it only gives
There are two problems:
(i) I want to make every arrow aligned vertically
(ii) As I am going to use this arrow very frequently, I want to define it as a sort of newcommand thing.
What can I do?
tikz-pgf align arrows
tikz-pgf align arrows
New contributor
New contributor
edited 2 hours ago
Sandy G
2,6771321
2,6771321
New contributor
asked 4 hours ago
user182849user182849
233
233
New contributor
New contributor
1
Welcome to TeX.SE! Can you please show us what you have tried so far?
– Kurt
4 hours ago
add a comment |
1
Welcome to TeX.SE! Can you please show us what you have tried so far?
– Kurt
4 hours ago
1
1
Welcome to TeX.SE! Can you please show us what you have tried so far?
– Kurt
4 hours ago
Welcome to TeX.SE! Can you please show us what you have tried so far?
– Kurt
4 hours ago
add a comment |
2 Answers
2
active
oldest
votes
This can be done using the witharrows
package.
Here is the code:
documentclass{article}
usepackage{witharrows}
begin{document}
[
begin{WithArrows}
abc &= def+def+def+def Arrow[tikz={font={mdseries}}]{definition} \
&= hgi+hgi\
&= jklArrow[tikz={font={mdseries}}]{blablabla}\
&=mno+mno
end{WithArrows}
]
end{document}
Note that you may have to compile twice when using witharrows
.
Go to the package documentation at CTAN to see the many options for usage including fonts, arrowheads, curvature, color, etc.
This's exactly what I want. Thanks!
– user182849
2 hours ago
1
My pleasure, @user182849. It may seem strange, but we typically don't thank posters in comments. Thanks are expressed by voting up (when you have sufficient reputation) and by accepting the answer you find best resolves your question. Welcome to TeX.SX!
– Sandy G
2 hours ago
Thank you for introducing me to this wonderful packagewitharrows
: -)
– AndréC
1 hour ago
add a comment |
Just for completeness: with tikzmark
, which you are using, there is no problem in completing the code to give
documentclass{article}
usepackage{amsmath}
usepackage{tikz}
usetikzlibrary{tikzmark}
begin{document}
begin{align*}
abc &= def + def + def + def tikzmarknode{a}{}\
&= ghi + ghi tikzmarknode{b}{}\
&= jkltikzmarknode{c}{}\
&= mno + mnotikzmarknode{d}{}
end{align*}
begin{tikzpicture}[remember picture, overlay,font=footnotesize]
draw[-latex] ([xshift=2mm]a.east) coordinate (r)
to [out=0,in=0,looseness=2]
node[midway,anchor=west,xshift=3mm] {definition}
(b -| r);
draw[-latex] (c-|r)
to [out=0,in=0,looseness=2]
node[midway,anchor=west,xshift=3mm] {blablabla}
(d-|r);
end{tikzpicture}
end{document}
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
});
}
});
user182849 is a new contributor. Be nice, and check out our Code of Conduct.
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%2f477956%2farrow-between-lines-in-the-align-environment%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
This can be done using the witharrows
package.
Here is the code:
documentclass{article}
usepackage{witharrows}
begin{document}
[
begin{WithArrows}
abc &= def+def+def+def Arrow[tikz={font={mdseries}}]{definition} \
&= hgi+hgi\
&= jklArrow[tikz={font={mdseries}}]{blablabla}\
&=mno+mno
end{WithArrows}
]
end{document}
Note that you may have to compile twice when using witharrows
.
Go to the package documentation at CTAN to see the many options for usage including fonts, arrowheads, curvature, color, etc.
This's exactly what I want. Thanks!
– user182849
2 hours ago
1
My pleasure, @user182849. It may seem strange, but we typically don't thank posters in comments. Thanks are expressed by voting up (when you have sufficient reputation) and by accepting the answer you find best resolves your question. Welcome to TeX.SX!
– Sandy G
2 hours ago
Thank you for introducing me to this wonderful packagewitharrows
: -)
– AndréC
1 hour ago
add a comment |
This can be done using the witharrows
package.
Here is the code:
documentclass{article}
usepackage{witharrows}
begin{document}
[
begin{WithArrows}
abc &= def+def+def+def Arrow[tikz={font={mdseries}}]{definition} \
&= hgi+hgi\
&= jklArrow[tikz={font={mdseries}}]{blablabla}\
&=mno+mno
end{WithArrows}
]
end{document}
Note that you may have to compile twice when using witharrows
.
Go to the package documentation at CTAN to see the many options for usage including fonts, arrowheads, curvature, color, etc.
This's exactly what I want. Thanks!
– user182849
2 hours ago
1
My pleasure, @user182849. It may seem strange, but we typically don't thank posters in comments. Thanks are expressed by voting up (when you have sufficient reputation) and by accepting the answer you find best resolves your question. Welcome to TeX.SX!
– Sandy G
2 hours ago
Thank you for introducing me to this wonderful packagewitharrows
: -)
– AndréC
1 hour ago
add a comment |
This can be done using the witharrows
package.
Here is the code:
documentclass{article}
usepackage{witharrows}
begin{document}
[
begin{WithArrows}
abc &= def+def+def+def Arrow[tikz={font={mdseries}}]{definition} \
&= hgi+hgi\
&= jklArrow[tikz={font={mdseries}}]{blablabla}\
&=mno+mno
end{WithArrows}
]
end{document}
Note that you may have to compile twice when using witharrows
.
Go to the package documentation at CTAN to see the many options for usage including fonts, arrowheads, curvature, color, etc.
This can be done using the witharrows
package.
Here is the code:
documentclass{article}
usepackage{witharrows}
begin{document}
[
begin{WithArrows}
abc &= def+def+def+def Arrow[tikz={font={mdseries}}]{definition} \
&= hgi+hgi\
&= jklArrow[tikz={font={mdseries}}]{blablabla}\
&=mno+mno
end{WithArrows}
]
end{document}
Note that you may have to compile twice when using witharrows
.
Go to the package documentation at CTAN to see the many options for usage including fonts, arrowheads, curvature, color, etc.
answered 2 hours ago
Sandy GSandy G
2,6771321
2,6771321
This's exactly what I want. Thanks!
– user182849
2 hours ago
1
My pleasure, @user182849. It may seem strange, but we typically don't thank posters in comments. Thanks are expressed by voting up (when you have sufficient reputation) and by accepting the answer you find best resolves your question. Welcome to TeX.SX!
– Sandy G
2 hours ago
Thank you for introducing me to this wonderful packagewitharrows
: -)
– AndréC
1 hour ago
add a comment |
This's exactly what I want. Thanks!
– user182849
2 hours ago
1
My pleasure, @user182849. It may seem strange, but we typically don't thank posters in comments. Thanks are expressed by voting up (when you have sufficient reputation) and by accepting the answer you find best resolves your question. Welcome to TeX.SX!
– Sandy G
2 hours ago
Thank you for introducing me to this wonderful packagewitharrows
: -)
– AndréC
1 hour ago
This's exactly what I want. Thanks!
– user182849
2 hours ago
This's exactly what I want. Thanks!
– user182849
2 hours ago
1
1
My pleasure, @user182849. It may seem strange, but we typically don't thank posters in comments. Thanks are expressed by voting up (when you have sufficient reputation) and by accepting the answer you find best resolves your question. Welcome to TeX.SX!
– Sandy G
2 hours ago
My pleasure, @user182849. It may seem strange, but we typically don't thank posters in comments. Thanks are expressed by voting up (when you have sufficient reputation) and by accepting the answer you find best resolves your question. Welcome to TeX.SX!
– Sandy G
2 hours ago
Thank you for introducing me to this wonderful package
witharrows
: -)– AndréC
1 hour ago
Thank you for introducing me to this wonderful package
witharrows
: -)– AndréC
1 hour ago
add a comment |
Just for completeness: with tikzmark
, which you are using, there is no problem in completing the code to give
documentclass{article}
usepackage{amsmath}
usepackage{tikz}
usetikzlibrary{tikzmark}
begin{document}
begin{align*}
abc &= def + def + def + def tikzmarknode{a}{}\
&= ghi + ghi tikzmarknode{b}{}\
&= jkltikzmarknode{c}{}\
&= mno + mnotikzmarknode{d}{}
end{align*}
begin{tikzpicture}[remember picture, overlay,font=footnotesize]
draw[-latex] ([xshift=2mm]a.east) coordinate (r)
to [out=0,in=0,looseness=2]
node[midway,anchor=west,xshift=3mm] {definition}
(b -| r);
draw[-latex] (c-|r)
to [out=0,in=0,looseness=2]
node[midway,anchor=west,xshift=3mm] {blablabla}
(d-|r);
end{tikzpicture}
end{document}
add a comment |
Just for completeness: with tikzmark
, which you are using, there is no problem in completing the code to give
documentclass{article}
usepackage{amsmath}
usepackage{tikz}
usetikzlibrary{tikzmark}
begin{document}
begin{align*}
abc &= def + def + def + def tikzmarknode{a}{}\
&= ghi + ghi tikzmarknode{b}{}\
&= jkltikzmarknode{c}{}\
&= mno + mnotikzmarknode{d}{}
end{align*}
begin{tikzpicture}[remember picture, overlay,font=footnotesize]
draw[-latex] ([xshift=2mm]a.east) coordinate (r)
to [out=0,in=0,looseness=2]
node[midway,anchor=west,xshift=3mm] {definition}
(b -| r);
draw[-latex] (c-|r)
to [out=0,in=0,looseness=2]
node[midway,anchor=west,xshift=3mm] {blablabla}
(d-|r);
end{tikzpicture}
end{document}
add a comment |
Just for completeness: with tikzmark
, which you are using, there is no problem in completing the code to give
documentclass{article}
usepackage{amsmath}
usepackage{tikz}
usetikzlibrary{tikzmark}
begin{document}
begin{align*}
abc &= def + def + def + def tikzmarknode{a}{}\
&= ghi + ghi tikzmarknode{b}{}\
&= jkltikzmarknode{c}{}\
&= mno + mnotikzmarknode{d}{}
end{align*}
begin{tikzpicture}[remember picture, overlay,font=footnotesize]
draw[-latex] ([xshift=2mm]a.east) coordinate (r)
to [out=0,in=0,looseness=2]
node[midway,anchor=west,xshift=3mm] {definition}
(b -| r);
draw[-latex] (c-|r)
to [out=0,in=0,looseness=2]
node[midway,anchor=west,xshift=3mm] {blablabla}
(d-|r);
end{tikzpicture}
end{document}
Just for completeness: with tikzmark
, which you are using, there is no problem in completing the code to give
documentclass{article}
usepackage{amsmath}
usepackage{tikz}
usetikzlibrary{tikzmark}
begin{document}
begin{align*}
abc &= def + def + def + def tikzmarknode{a}{}\
&= ghi + ghi tikzmarknode{b}{}\
&= jkltikzmarknode{c}{}\
&= mno + mnotikzmarknode{d}{}
end{align*}
begin{tikzpicture}[remember picture, overlay,font=footnotesize]
draw[-latex] ([xshift=2mm]a.east) coordinate (r)
to [out=0,in=0,looseness=2]
node[midway,anchor=west,xshift=3mm] {definition}
(b -| r);
draw[-latex] (c-|r)
to [out=0,in=0,looseness=2]
node[midway,anchor=west,xshift=3mm] {blablabla}
(d-|r);
end{tikzpicture}
end{document}
answered 1 hour ago
marmotmarmot
106k4127242
106k4127242
add a comment |
add a comment |
user182849 is a new contributor. Be nice, and check out our Code of Conduct.
user182849 is a new contributor. Be nice, and check out our Code of Conduct.
user182849 is a new contributor. Be nice, and check out our Code of Conduct.
user182849 is a new contributor. Be nice, and check out our Code of Conduct.
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%2f477956%2farrow-between-lines-in-the-align-environment%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
Welcome to TeX.SE! Can you please show us what you have tried so far?
– Kurt
4 hours ago