Arrow between lines in the align environmentLaTeX equivalent of ConTeXt buffersRotate a node but not its...

Is it possible to make a clamp function shorter than a ternary in JS?

Roots of 6th chords on the guitar for different inversions/voicings

Giving a talk in my old university, how prominently should I tell students my salary?

What are the issues with an additional (limited) concentration slot instead of Bladesong?

Which sins are beyond punishment?

The need of reserving one's ability in job interviews

Is there a frame of reference in which I was born before I was conceived?

I encountered my boss during an on-site interview at another company. Should I bring it up when seeing him next time?

How to kill a localhost:8080

Book about a time-travel war fought by computers

I can't die. Who am I?

How can I handle a player who pre-plans arguments about my rulings on RAW?

Canadian citizen, on US no-fly list. What can I do in order to be allowed on flights which go through US airspace?

Why do phishing e-mails use faked e-mail addresses instead of the real one?

What is better: yes / no radio, or simple checkbox?

For a 1-action spell, do I need to take a turn to ready the spell before I can cast it, or can I cast it immediately?

Plagiarism of code by other PhD student

Are small insurances worth it

Misplaced tyre lever - alternatives?

Practical reasons to have both a large police force and bounty hunting network?

How can I be pwned if I'm not registered on the compromised site?

If nine coins are tossed, what is the probability that the number of heads is even?

In Adventurer's League, is it possible to keep the Ring of Winter if you manage to acquire it in the Tomb of Annihilation adventure?

How to substitute values from a list into a function?



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













4















I want to add some texts between lines in the align* environment like this:



enter image description here



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



enter image description here



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?










share|improve this question









New contributor




user182849 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 1





    Welcome to TeX.SE! Can you please show us what you have tried so far?

    – Kurt
    4 hours ago
















4















I want to add some texts between lines in the align* environment like this:



enter image description here



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



enter image description here



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?










share|improve this question









New contributor




user182849 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 1





    Welcome to TeX.SE! Can you please show us what you have tried so far?

    – Kurt
    4 hours ago














4












4








4








I want to add some texts between lines in the align* environment like this:



enter image description here



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



enter image description here



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?










share|improve this question









New contributor




user182849 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












I want to add some texts between lines in the align* environment like this:



enter image description here



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



enter image description here



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






share|improve this question









New contributor




user182849 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




user182849 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 2 hours ago









Sandy G

2,6771321




2,6771321






New contributor




user182849 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 4 hours ago









user182849user182849

233




233




New contributor




user182849 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





user182849 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






user182849 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








  • 1





    Welcome to TeX.SE! Can you please show us what you have tried so far?

    – Kurt
    4 hours ago














  • 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










2 Answers
2






active

oldest

votes


















4














This can be done using the witharrows package.



enter image description here



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.






share|improve this answer
























  • 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 package witharrows : -)

    – AndréC
    1 hour ago





















1














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}


enter image description here






share|improve this answer























    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.










    draft saved

    draft discarded


















    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









    4














    This can be done using the witharrows package.



    enter image description here



    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.






    share|improve this answer
























    • 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 package witharrows : -)

      – AndréC
      1 hour ago


















    4














    This can be done using the witharrows package.



    enter image description here



    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.






    share|improve this answer
























    • 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 package witharrows : -)

      – AndréC
      1 hour ago
















    4












    4








    4







    This can be done using the witharrows package.



    enter image description here



    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.






    share|improve this answer













    This can be done using the witharrows package.



    enter image description here



    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.







    share|improve this answer












    share|improve this answer



    share|improve this answer










    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 package witharrows : -)

      – AndréC
      1 hour ago





















    • 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 package witharrows : -)

      – 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













    1














    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}


    enter image description here






    share|improve this answer




























      1














      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}


      enter image description here






      share|improve this answer


























        1












        1








        1







        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}


        enter image description here






        share|improve this answer













        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}


        enter image description here







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 1 hour ago









        marmotmarmot

        106k4127242




        106k4127242






















            user182849 is a new contributor. Be nice, and check out our Code of Conduct.










            draft saved

            draft discarded


















            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.




            draft saved


            draft discarded














            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





















































            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







            Popular posts from this blog

            is 'sed' thread safeWhat should someone know about using Python scripts in the shell?Nexenta bash script uses...

            How do i solve the “ No module named 'mlxtend' ” issue on Jupyter?

            Pilgersdorf Inhaltsverzeichnis Geografie | Geschichte | Bevölkerungsentwicklung | Politik | Kultur...