Using Tikz, Tikzmark to show differentiation of ln f(x)












7















I am trying to replicate this diagram. My confusion is due to the reason that I am not starting in an tikzpicture enviroment but in an align* environment. Here is a skeleton of the diagram. I believe this is a correct beginning:



documentclass{article}
usepackage{tikz}
usepackage{mathtools,amsmath,geometry}
usetikzlibrary{tikzmark}

begin{document}
begin{align*}
h(x)&=ln (x^{2}-8x) && \
& && \
& && \
h^{prime}(x)&=dfrac{textcolor{red}{2x-8}}{textcolor{blue}{x^{2}-8x}} && \
end{align*}
end{document}


This outputs



enter image description here



My goal is to create:



enter image description here



Creating the circles 1 and 2 are possible but programming it right in the context of the labels and arrows is what I am not sure how to approach?
Tikzmark is the right tool here.










share|improve this question



























    7















    I am trying to replicate this diagram. My confusion is due to the reason that I am not starting in an tikzpicture enviroment but in an align* environment. Here is a skeleton of the diagram. I believe this is a correct beginning:



    documentclass{article}
    usepackage{tikz}
    usepackage{mathtools,amsmath,geometry}
    usetikzlibrary{tikzmark}

    begin{document}
    begin{align*}
    h(x)&=ln (x^{2}-8x) && \
    & && \
    & && \
    h^{prime}(x)&=dfrac{textcolor{red}{2x-8}}{textcolor{blue}{x^{2}-8x}} && \
    end{align*}
    end{document}


    This outputs



    enter image description here



    My goal is to create:



    enter image description here



    Creating the circles 1 and 2 are possible but programming it right in the context of the labels and arrows is what I am not sure how to approach?
    Tikzmark is the right tool here.










    share|improve this question

























      7












      7








      7


      2






      I am trying to replicate this diagram. My confusion is due to the reason that I am not starting in an tikzpicture enviroment but in an align* environment. Here is a skeleton of the diagram. I believe this is a correct beginning:



      documentclass{article}
      usepackage{tikz}
      usepackage{mathtools,amsmath,geometry}
      usetikzlibrary{tikzmark}

      begin{document}
      begin{align*}
      h(x)&=ln (x^{2}-8x) && \
      & && \
      & && \
      h^{prime}(x)&=dfrac{textcolor{red}{2x-8}}{textcolor{blue}{x^{2}-8x}} && \
      end{align*}
      end{document}


      This outputs



      enter image description here



      My goal is to create:



      enter image description here



      Creating the circles 1 and 2 are possible but programming it right in the context of the labels and arrows is what I am not sure how to approach?
      Tikzmark is the right tool here.










      share|improve this question














      I am trying to replicate this diagram. My confusion is due to the reason that I am not starting in an tikzpicture enviroment but in an align* environment. Here is a skeleton of the diagram. I believe this is a correct beginning:



      documentclass{article}
      usepackage{tikz}
      usepackage{mathtools,amsmath,geometry}
      usetikzlibrary{tikzmark}

      begin{document}
      begin{align*}
      h(x)&=ln (x^{2}-8x) && \
      & && \
      & && \
      h^{prime}(x)&=dfrac{textcolor{red}{2x-8}}{textcolor{blue}{x^{2}-8x}} && \
      end{align*}
      end{document}


      This outputs



      enter image description here



      My goal is to create:



      enter image description here



      Creating the circles 1 and 2 are possible but programming it right in the context of the labels and arrows is what I am not sure how to approach?
      Tikzmark is the right tool here.







      tikz-pgf tikzmark






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Feb 10 at 15:18









      MathScholarMathScholar

      1,04629




      1,04629






















          1 Answer
          1






          active

          oldest

          votes


















          9














          Something like this? (EDIT: Added descriptions, thanks to ArtificialStupidity for speeding me up!)




          1. The braces are done with decorations.pathreplacing. You could also do them with underbrace and overbrace.

          2. Instead of adding several empty lines, you can produce vertical gaps by adding [distance] after \. I added one more such distance since the annotations are drawn in overlay mode and would run in the text otherwise.

          3. The nodes with texts are placed along the vertical line at certain positions indicated by pos=... (and then moved to the right).




          documentclass{article}
          usepackage{tikz}
          usepackage{mathtools,amsmath,geometry}
          usetikzlibrary{tikzmark,decorations.pathreplacing}

          begin{document}
          begin{align*}
          h(x)&=ln tikzmarknode{ln}{(x^{2}-8x)} && \[6em]
          h^{prime}(x)&=dfrac{tikzmarknode[text=red]{num}{2x-8}}{tikzmarknode[text=blue]{den}{x^{2}-8x}}
          && \[2em]
          end{align*}
          begin{tikzpicture}[overlay,remember picture]
          draw[red,thick,decorate,decoration={brace,mirror}] (ln.south west) -- (ln.south east)
          coordinate[midway,below=0.5em](aux1);
          draw[red,thick,decorate,decoration={brace,raise=1pt}] (num.north west) -- (num.north east)
          coordinate[midway,above=0.5em](aux2);
          draw[red,thick,decorate,decoration={brace,mirror}] (den.south west) -- (den.south east)
          coordinate[midway,below=0.5em](aux3);
          path (aux1) -- (aux2) coordinate[midway] (aux4);
          draw[-latex,red] (aux1) -- (aux4-|aux1) -| (aux2)
          node[pos=0.5,left=0.25em,circle,black,draw,inner sep=1pt]{1};
          draw[latex-,red] (aux3) |- ++ (3em,-2em)
          node[pos=0.5,left=0.25em,circle,black,draw,inner sep=1pt]{2} |-(aux4-|aux1)
          node[pos=0.2,right=1em,circle,black,draw,inner sep=1pt,
          label={[blue]right:Divide by the ``inside'' function.}] {2}
          node[pos=0.4,right=1em,circle,black,draw,inner sep=1pt,
          label={[red]right:Differentiate the ``inside'' function.}] {1};
          end{tikzpicture}
          Hello
          end{document}


          enter image description here






          share|improve this answer


























          • +1 of course, but does it need 2 compilations? And how about the descriptions on the right side?

            – The Inventor of God
            Feb 10 at 15:44








          • 1





            @ArtificialStupidity Thanks! The TikZ overlay,remember picture trick generally requires two compilations. In the first compilation, the remembered coordinates get written to the aux file and in the second step they get used. That's why they are off in the first compilation. TeX doesn't tell you right away where it is going to put stuff (where meaning absolute page coordinates).

            – marmot
            Feb 10 at 15:49






          • 1





            @ArtificialStupidity You also have to say draw when you say blue. E.g. path[blue] does not produce a visible curve (or whatever), and path[blue,draw] does. So color=blue sets the color. Likewise, decoration=.... just sets the decoration. And in order to use it, you need to say decorate. Or you can say path[draw,postaction={decorate,decoration=decoration A}, postaction={decorate,decoration=decoration B}]...` to have the path drawn and decorated by two different decorations.

            – marmot
            Feb 10 at 16:15






          • 1





            @Marmot, yes I really do appreciate your willingness to help!

            – MathScholar
            Feb 10 at 16:18






          • 1





            @MathScholar I think it is fair to say that all credits go to LoopSpace for providing us with the great library.

            – marmot
            Feb 10 at 16:20











          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
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f474192%2fusing-tikz-tikzmark-to-show-differentiation-of-ln-fx%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









          9














          Something like this? (EDIT: Added descriptions, thanks to ArtificialStupidity for speeding me up!)




          1. The braces are done with decorations.pathreplacing. You could also do them with underbrace and overbrace.

          2. Instead of adding several empty lines, you can produce vertical gaps by adding [distance] after \. I added one more such distance since the annotations are drawn in overlay mode and would run in the text otherwise.

          3. The nodes with texts are placed along the vertical line at certain positions indicated by pos=... (and then moved to the right).




          documentclass{article}
          usepackage{tikz}
          usepackage{mathtools,amsmath,geometry}
          usetikzlibrary{tikzmark,decorations.pathreplacing}

          begin{document}
          begin{align*}
          h(x)&=ln tikzmarknode{ln}{(x^{2}-8x)} && \[6em]
          h^{prime}(x)&=dfrac{tikzmarknode[text=red]{num}{2x-8}}{tikzmarknode[text=blue]{den}{x^{2}-8x}}
          && \[2em]
          end{align*}
          begin{tikzpicture}[overlay,remember picture]
          draw[red,thick,decorate,decoration={brace,mirror}] (ln.south west) -- (ln.south east)
          coordinate[midway,below=0.5em](aux1);
          draw[red,thick,decorate,decoration={brace,raise=1pt}] (num.north west) -- (num.north east)
          coordinate[midway,above=0.5em](aux2);
          draw[red,thick,decorate,decoration={brace,mirror}] (den.south west) -- (den.south east)
          coordinate[midway,below=0.5em](aux3);
          path (aux1) -- (aux2) coordinate[midway] (aux4);
          draw[-latex,red] (aux1) -- (aux4-|aux1) -| (aux2)
          node[pos=0.5,left=0.25em,circle,black,draw,inner sep=1pt]{1};
          draw[latex-,red] (aux3) |- ++ (3em,-2em)
          node[pos=0.5,left=0.25em,circle,black,draw,inner sep=1pt]{2} |-(aux4-|aux1)
          node[pos=0.2,right=1em,circle,black,draw,inner sep=1pt,
          label={[blue]right:Divide by the ``inside'' function.}] {2}
          node[pos=0.4,right=1em,circle,black,draw,inner sep=1pt,
          label={[red]right:Differentiate the ``inside'' function.}] {1};
          end{tikzpicture}
          Hello
          end{document}


          enter image description here






          share|improve this answer


























          • +1 of course, but does it need 2 compilations? And how about the descriptions on the right side?

            – The Inventor of God
            Feb 10 at 15:44








          • 1





            @ArtificialStupidity Thanks! The TikZ overlay,remember picture trick generally requires two compilations. In the first compilation, the remembered coordinates get written to the aux file and in the second step they get used. That's why they are off in the first compilation. TeX doesn't tell you right away where it is going to put stuff (where meaning absolute page coordinates).

            – marmot
            Feb 10 at 15:49






          • 1





            @ArtificialStupidity You also have to say draw when you say blue. E.g. path[blue] does not produce a visible curve (or whatever), and path[blue,draw] does. So color=blue sets the color. Likewise, decoration=.... just sets the decoration. And in order to use it, you need to say decorate. Or you can say path[draw,postaction={decorate,decoration=decoration A}, postaction={decorate,decoration=decoration B}]...` to have the path drawn and decorated by two different decorations.

            – marmot
            Feb 10 at 16:15






          • 1





            @Marmot, yes I really do appreciate your willingness to help!

            – MathScholar
            Feb 10 at 16:18






          • 1





            @MathScholar I think it is fair to say that all credits go to LoopSpace for providing us with the great library.

            – marmot
            Feb 10 at 16:20
















          9














          Something like this? (EDIT: Added descriptions, thanks to ArtificialStupidity for speeding me up!)




          1. The braces are done with decorations.pathreplacing. You could also do them with underbrace and overbrace.

          2. Instead of adding several empty lines, you can produce vertical gaps by adding [distance] after \. I added one more such distance since the annotations are drawn in overlay mode and would run in the text otherwise.

          3. The nodes with texts are placed along the vertical line at certain positions indicated by pos=... (and then moved to the right).




          documentclass{article}
          usepackage{tikz}
          usepackage{mathtools,amsmath,geometry}
          usetikzlibrary{tikzmark,decorations.pathreplacing}

          begin{document}
          begin{align*}
          h(x)&=ln tikzmarknode{ln}{(x^{2}-8x)} && \[6em]
          h^{prime}(x)&=dfrac{tikzmarknode[text=red]{num}{2x-8}}{tikzmarknode[text=blue]{den}{x^{2}-8x}}
          && \[2em]
          end{align*}
          begin{tikzpicture}[overlay,remember picture]
          draw[red,thick,decorate,decoration={brace,mirror}] (ln.south west) -- (ln.south east)
          coordinate[midway,below=0.5em](aux1);
          draw[red,thick,decorate,decoration={brace,raise=1pt}] (num.north west) -- (num.north east)
          coordinate[midway,above=0.5em](aux2);
          draw[red,thick,decorate,decoration={brace,mirror}] (den.south west) -- (den.south east)
          coordinate[midway,below=0.5em](aux3);
          path (aux1) -- (aux2) coordinate[midway] (aux4);
          draw[-latex,red] (aux1) -- (aux4-|aux1) -| (aux2)
          node[pos=0.5,left=0.25em,circle,black,draw,inner sep=1pt]{1};
          draw[latex-,red] (aux3) |- ++ (3em,-2em)
          node[pos=0.5,left=0.25em,circle,black,draw,inner sep=1pt]{2} |-(aux4-|aux1)
          node[pos=0.2,right=1em,circle,black,draw,inner sep=1pt,
          label={[blue]right:Divide by the ``inside'' function.}] {2}
          node[pos=0.4,right=1em,circle,black,draw,inner sep=1pt,
          label={[red]right:Differentiate the ``inside'' function.}] {1};
          end{tikzpicture}
          Hello
          end{document}


          enter image description here






          share|improve this answer


























          • +1 of course, but does it need 2 compilations? And how about the descriptions on the right side?

            – The Inventor of God
            Feb 10 at 15:44








          • 1





            @ArtificialStupidity Thanks! The TikZ overlay,remember picture trick generally requires two compilations. In the first compilation, the remembered coordinates get written to the aux file and in the second step they get used. That's why they are off in the first compilation. TeX doesn't tell you right away where it is going to put stuff (where meaning absolute page coordinates).

            – marmot
            Feb 10 at 15:49






          • 1





            @ArtificialStupidity You also have to say draw when you say blue. E.g. path[blue] does not produce a visible curve (or whatever), and path[blue,draw] does. So color=blue sets the color. Likewise, decoration=.... just sets the decoration. And in order to use it, you need to say decorate. Or you can say path[draw,postaction={decorate,decoration=decoration A}, postaction={decorate,decoration=decoration B}]...` to have the path drawn and decorated by two different decorations.

            – marmot
            Feb 10 at 16:15






          • 1





            @Marmot, yes I really do appreciate your willingness to help!

            – MathScholar
            Feb 10 at 16:18






          • 1





            @MathScholar I think it is fair to say that all credits go to LoopSpace for providing us with the great library.

            – marmot
            Feb 10 at 16:20














          9












          9








          9







          Something like this? (EDIT: Added descriptions, thanks to ArtificialStupidity for speeding me up!)




          1. The braces are done with decorations.pathreplacing. You could also do them with underbrace and overbrace.

          2. Instead of adding several empty lines, you can produce vertical gaps by adding [distance] after \. I added one more such distance since the annotations are drawn in overlay mode and would run in the text otherwise.

          3. The nodes with texts are placed along the vertical line at certain positions indicated by pos=... (and then moved to the right).




          documentclass{article}
          usepackage{tikz}
          usepackage{mathtools,amsmath,geometry}
          usetikzlibrary{tikzmark,decorations.pathreplacing}

          begin{document}
          begin{align*}
          h(x)&=ln tikzmarknode{ln}{(x^{2}-8x)} && \[6em]
          h^{prime}(x)&=dfrac{tikzmarknode[text=red]{num}{2x-8}}{tikzmarknode[text=blue]{den}{x^{2}-8x}}
          && \[2em]
          end{align*}
          begin{tikzpicture}[overlay,remember picture]
          draw[red,thick,decorate,decoration={brace,mirror}] (ln.south west) -- (ln.south east)
          coordinate[midway,below=0.5em](aux1);
          draw[red,thick,decorate,decoration={brace,raise=1pt}] (num.north west) -- (num.north east)
          coordinate[midway,above=0.5em](aux2);
          draw[red,thick,decorate,decoration={brace,mirror}] (den.south west) -- (den.south east)
          coordinate[midway,below=0.5em](aux3);
          path (aux1) -- (aux2) coordinate[midway] (aux4);
          draw[-latex,red] (aux1) -- (aux4-|aux1) -| (aux2)
          node[pos=0.5,left=0.25em,circle,black,draw,inner sep=1pt]{1};
          draw[latex-,red] (aux3) |- ++ (3em,-2em)
          node[pos=0.5,left=0.25em,circle,black,draw,inner sep=1pt]{2} |-(aux4-|aux1)
          node[pos=0.2,right=1em,circle,black,draw,inner sep=1pt,
          label={[blue]right:Divide by the ``inside'' function.}] {2}
          node[pos=0.4,right=1em,circle,black,draw,inner sep=1pt,
          label={[red]right:Differentiate the ``inside'' function.}] {1};
          end{tikzpicture}
          Hello
          end{document}


          enter image description here






          share|improve this answer















          Something like this? (EDIT: Added descriptions, thanks to ArtificialStupidity for speeding me up!)




          1. The braces are done with decorations.pathreplacing. You could also do them with underbrace and overbrace.

          2. Instead of adding several empty lines, you can produce vertical gaps by adding [distance] after \. I added one more such distance since the annotations are drawn in overlay mode and would run in the text otherwise.

          3. The nodes with texts are placed along the vertical line at certain positions indicated by pos=... (and then moved to the right).




          documentclass{article}
          usepackage{tikz}
          usepackage{mathtools,amsmath,geometry}
          usetikzlibrary{tikzmark,decorations.pathreplacing}

          begin{document}
          begin{align*}
          h(x)&=ln tikzmarknode{ln}{(x^{2}-8x)} && \[6em]
          h^{prime}(x)&=dfrac{tikzmarknode[text=red]{num}{2x-8}}{tikzmarknode[text=blue]{den}{x^{2}-8x}}
          && \[2em]
          end{align*}
          begin{tikzpicture}[overlay,remember picture]
          draw[red,thick,decorate,decoration={brace,mirror}] (ln.south west) -- (ln.south east)
          coordinate[midway,below=0.5em](aux1);
          draw[red,thick,decorate,decoration={brace,raise=1pt}] (num.north west) -- (num.north east)
          coordinate[midway,above=0.5em](aux2);
          draw[red,thick,decorate,decoration={brace,mirror}] (den.south west) -- (den.south east)
          coordinate[midway,below=0.5em](aux3);
          path (aux1) -- (aux2) coordinate[midway] (aux4);
          draw[-latex,red] (aux1) -- (aux4-|aux1) -| (aux2)
          node[pos=0.5,left=0.25em,circle,black,draw,inner sep=1pt]{1};
          draw[latex-,red] (aux3) |- ++ (3em,-2em)
          node[pos=0.5,left=0.25em,circle,black,draw,inner sep=1pt]{2} |-(aux4-|aux1)
          node[pos=0.2,right=1em,circle,black,draw,inner sep=1pt,
          label={[blue]right:Divide by the ``inside'' function.}] {2}
          node[pos=0.4,right=1em,circle,black,draw,inner sep=1pt,
          label={[red]right:Differentiate the ``inside'' function.}] {1};
          end{tikzpicture}
          Hello
          end{document}


          enter image description here







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Feb 10 at 16:02

























          answered Feb 10 at 15:40









          marmotmarmot

          107k5129244




          107k5129244













          • +1 of course, but does it need 2 compilations? And how about the descriptions on the right side?

            – The Inventor of God
            Feb 10 at 15:44








          • 1





            @ArtificialStupidity Thanks! The TikZ overlay,remember picture trick generally requires two compilations. In the first compilation, the remembered coordinates get written to the aux file and in the second step they get used. That's why they are off in the first compilation. TeX doesn't tell you right away where it is going to put stuff (where meaning absolute page coordinates).

            – marmot
            Feb 10 at 15:49






          • 1





            @ArtificialStupidity You also have to say draw when you say blue. E.g. path[blue] does not produce a visible curve (or whatever), and path[blue,draw] does. So color=blue sets the color. Likewise, decoration=.... just sets the decoration. And in order to use it, you need to say decorate. Or you can say path[draw,postaction={decorate,decoration=decoration A}, postaction={decorate,decoration=decoration B}]...` to have the path drawn and decorated by two different decorations.

            – marmot
            Feb 10 at 16:15






          • 1





            @Marmot, yes I really do appreciate your willingness to help!

            – MathScholar
            Feb 10 at 16:18






          • 1





            @MathScholar I think it is fair to say that all credits go to LoopSpace for providing us with the great library.

            – marmot
            Feb 10 at 16:20



















          • +1 of course, but does it need 2 compilations? And how about the descriptions on the right side?

            – The Inventor of God
            Feb 10 at 15:44








          • 1





            @ArtificialStupidity Thanks! The TikZ overlay,remember picture trick generally requires two compilations. In the first compilation, the remembered coordinates get written to the aux file and in the second step they get used. That's why they are off in the first compilation. TeX doesn't tell you right away where it is going to put stuff (where meaning absolute page coordinates).

            – marmot
            Feb 10 at 15:49






          • 1





            @ArtificialStupidity You also have to say draw when you say blue. E.g. path[blue] does not produce a visible curve (or whatever), and path[blue,draw] does. So color=blue sets the color. Likewise, decoration=.... just sets the decoration. And in order to use it, you need to say decorate. Or you can say path[draw,postaction={decorate,decoration=decoration A}, postaction={decorate,decoration=decoration B}]...` to have the path drawn and decorated by two different decorations.

            – marmot
            Feb 10 at 16:15






          • 1





            @Marmot, yes I really do appreciate your willingness to help!

            – MathScholar
            Feb 10 at 16:18






          • 1





            @MathScholar I think it is fair to say that all credits go to LoopSpace for providing us with the great library.

            – marmot
            Feb 10 at 16:20

















          +1 of course, but does it need 2 compilations? And how about the descriptions on the right side?

          – The Inventor of God
          Feb 10 at 15:44







          +1 of course, but does it need 2 compilations? And how about the descriptions on the right side?

          – The Inventor of God
          Feb 10 at 15:44






          1




          1





          @ArtificialStupidity Thanks! The TikZ overlay,remember picture trick generally requires two compilations. In the first compilation, the remembered coordinates get written to the aux file and in the second step they get used. That's why they are off in the first compilation. TeX doesn't tell you right away where it is going to put stuff (where meaning absolute page coordinates).

          – marmot
          Feb 10 at 15:49





          @ArtificialStupidity Thanks! The TikZ overlay,remember picture trick generally requires two compilations. In the first compilation, the remembered coordinates get written to the aux file and in the second step they get used. That's why they are off in the first compilation. TeX doesn't tell you right away where it is going to put stuff (where meaning absolute page coordinates).

          – marmot
          Feb 10 at 15:49




          1




          1





          @ArtificialStupidity You also have to say draw when you say blue. E.g. path[blue] does not produce a visible curve (or whatever), and path[blue,draw] does. So color=blue sets the color. Likewise, decoration=.... just sets the decoration. And in order to use it, you need to say decorate. Or you can say path[draw,postaction={decorate,decoration=decoration A}, postaction={decorate,decoration=decoration B}]...` to have the path drawn and decorated by two different decorations.

          – marmot
          Feb 10 at 16:15





          @ArtificialStupidity You also have to say draw when you say blue. E.g. path[blue] does not produce a visible curve (or whatever), and path[blue,draw] does. So color=blue sets the color. Likewise, decoration=.... just sets the decoration. And in order to use it, you need to say decorate. Or you can say path[draw,postaction={decorate,decoration=decoration A}, postaction={decorate,decoration=decoration B}]...` to have the path drawn and decorated by two different decorations.

          – marmot
          Feb 10 at 16:15




          1




          1





          @Marmot, yes I really do appreciate your willingness to help!

          – MathScholar
          Feb 10 at 16:18





          @Marmot, yes I really do appreciate your willingness to help!

          – MathScholar
          Feb 10 at 16:18




          1




          1





          @MathScholar I think it is fair to say that all credits go to LoopSpace for providing us with the great library.

          – marmot
          Feb 10 at 16:20





          @MathScholar I think it is fair to say that all credits go to LoopSpace for providing us with the great library.

          – marmot
          Feb 10 at 16:20


















          draft saved

          draft discarded




















































          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%2f474192%2fusing-tikz-tikzmark-to-show-differentiation-of-ln-fx%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

          Probability when a professor distributes a quiz and homework assignment to a class of n students.

          Aardman Animations

          Are they similar matrix