Drawing arrows from one table cell reference to another The 2019 Stack Overflow Developer...

Why can't devices on different VLANs, but on the same subnet, communicate?

Student Loan from years ago pops up and is taking my salary

How to determine omitted units in a publication

how can a perfect fourth interval be considered either consonant or dissonant?

Working through the single responsibility principle (SRP) in Python when calls are expensive

Sort list of array linked objects by keys and values

What information about me do stores get via my credit card?

Can each chord in a progression create its own key?

Does Parliament need to approve the new Brexit delay to 31 October 2019?

What is the role of 'For' here?

Why don't hard Brexiteers insist on a hard border to prevent illegal immigration after Brexit?

Deal with toxic manager when you can't quit

Button changing its text & action. Good or terrible?

Drawing vertical/oblique lines in Metrical tree (tikz-qtree, tipa)

Does Parliament hold absolute power in the UK?

1960s short story making fun of James Bond-style spy fiction

Is this wall load bearing? Blueprints and photos attached

What's the point in a preamp?

Why not take a picture of a closer black hole?

Is 'stolen' appropriate word?

What is the padding with red substance inside of steak packaging?

Loose spokes after only a few rides

Presidential Pardon

What happens to a Warlock's expended Spell Slots when they gain a Level?



Drawing arrows from one table cell reference to another



The 2019 Stack Overflow Developer Survey Results Are In
Unicorn Meta Zoo #1: Why another podcast?
Announcing the arrival of Valued Associate #679: Cesar Manara
Do we need more moderators?tikz matrix undefined control sequenceTikz equivalent of PSTricks commands ncbar and rnodeRotate a node but not its content: the case of the ellipse decorationHow to draw arrows from cell to cell at the borders of a tableHow to define the default vertical distance between nodes?Numerical conditional within tikz keys?tables without tabular?TikZ: Drawing an arc from an intersection to an intersectionDrawing rectilinear curves in Tikz, aka an Etch-a-Sketch drawingHow to Create a Table in Tikz with Arrows from One Cell to Another?Label in table should cross another cellCentering one Table inside another












2















I use the following code to manually draw arrows from one table cell to another.



documentclass{beamer}
beamertemplatenavigationsymbolsempty
usepackage{verbatim}
usepackage{tikz}
usepackage{pgfplots}
usetikzlibrary{arrows, arrows.meta, positioning}
begin{document}
begin{frame}[t]
frametitle{}
begin{minipage}{textwidth}
begin{table}
begin{tabular}{*6{c}}
15.1 & 23.7 & 19.7 & 15.4 & 18.3 & 23.0\
17.4 & 18.6 & 12.9 & 20.3 & 13.7 & 21.4\
10.3 & 26.1 & 15.7 & 14.0 & 17.8 & 33.8\
23.2 & 12.9 & 29.8 & 18.3 & 14.2 & 20.8\
13.5 & 17.1 & 20.7 & 27.1 & 18.9 & 16.6\
end{tabular}
end{table}
begin{minipage}{textwidth}
begin{tikzpicture}[overlay]
draw<2-> [ultra thick, blue, latex'-] (4.1,1.66) -- +(0:.4);
draw<3-> [ultra thick, red, -latex'] (5.2,2.66) -- +(-74:1.4);
end{tikzpicture}
end{minipage}
end{minipage}
end{frame}
end{document}


enter image description here



Is it possible to automate drawing the arrows from one table cell to another, using cell references instead of manually drawing them?










share|improve this question



























    2















    I use the following code to manually draw arrows from one table cell to another.



    documentclass{beamer}
    beamertemplatenavigationsymbolsempty
    usepackage{verbatim}
    usepackage{tikz}
    usepackage{pgfplots}
    usetikzlibrary{arrows, arrows.meta, positioning}
    begin{document}
    begin{frame}[t]
    frametitle{}
    begin{minipage}{textwidth}
    begin{table}
    begin{tabular}{*6{c}}
    15.1 & 23.7 & 19.7 & 15.4 & 18.3 & 23.0\
    17.4 & 18.6 & 12.9 & 20.3 & 13.7 & 21.4\
    10.3 & 26.1 & 15.7 & 14.0 & 17.8 & 33.8\
    23.2 & 12.9 & 29.8 & 18.3 & 14.2 & 20.8\
    13.5 & 17.1 & 20.7 & 27.1 & 18.9 & 16.6\
    end{tabular}
    end{table}
    begin{minipage}{textwidth}
    begin{tikzpicture}[overlay]
    draw<2-> [ultra thick, blue, latex'-] (4.1,1.66) -- +(0:.4);
    draw<3-> [ultra thick, red, -latex'] (5.2,2.66) -- +(-74:1.4);
    end{tikzpicture}
    end{minipage}
    end{minipage}
    end{frame}
    end{document}


    enter image description here



    Is it possible to automate drawing the arrows from one table cell to another, using cell references instead of manually drawing them?










    share|improve this question

























      2












      2








      2








      I use the following code to manually draw arrows from one table cell to another.



      documentclass{beamer}
      beamertemplatenavigationsymbolsempty
      usepackage{verbatim}
      usepackage{tikz}
      usepackage{pgfplots}
      usetikzlibrary{arrows, arrows.meta, positioning}
      begin{document}
      begin{frame}[t]
      frametitle{}
      begin{minipage}{textwidth}
      begin{table}
      begin{tabular}{*6{c}}
      15.1 & 23.7 & 19.7 & 15.4 & 18.3 & 23.0\
      17.4 & 18.6 & 12.9 & 20.3 & 13.7 & 21.4\
      10.3 & 26.1 & 15.7 & 14.0 & 17.8 & 33.8\
      23.2 & 12.9 & 29.8 & 18.3 & 14.2 & 20.8\
      13.5 & 17.1 & 20.7 & 27.1 & 18.9 & 16.6\
      end{tabular}
      end{table}
      begin{minipage}{textwidth}
      begin{tikzpicture}[overlay]
      draw<2-> [ultra thick, blue, latex'-] (4.1,1.66) -- +(0:.4);
      draw<3-> [ultra thick, red, -latex'] (5.2,2.66) -- +(-74:1.4);
      end{tikzpicture}
      end{minipage}
      end{minipage}
      end{frame}
      end{document}


      enter image description here



      Is it possible to automate drawing the arrows from one table cell to another, using cell references instead of manually drawing them?










      share|improve this question














      I use the following code to manually draw arrows from one table cell to another.



      documentclass{beamer}
      beamertemplatenavigationsymbolsempty
      usepackage{verbatim}
      usepackage{tikz}
      usepackage{pgfplots}
      usetikzlibrary{arrows, arrows.meta, positioning}
      begin{document}
      begin{frame}[t]
      frametitle{}
      begin{minipage}{textwidth}
      begin{table}
      begin{tabular}{*6{c}}
      15.1 & 23.7 & 19.7 & 15.4 & 18.3 & 23.0\
      17.4 & 18.6 & 12.9 & 20.3 & 13.7 & 21.4\
      10.3 & 26.1 & 15.7 & 14.0 & 17.8 & 33.8\
      23.2 & 12.9 & 29.8 & 18.3 & 14.2 & 20.8\
      13.5 & 17.1 & 20.7 & 27.1 & 18.9 & 16.6\
      end{tabular}
      end{table}
      begin{minipage}{textwidth}
      begin{tikzpicture}[overlay]
      draw<2-> [ultra thick, blue, latex'-] (4.1,1.66) -- +(0:.4);
      draw<3-> [ultra thick, red, -latex'] (5.2,2.66) -- +(-74:1.4);
      end{tikzpicture}
      end{minipage}
      end{minipage}
      end{frame}
      end{document}


      enter image description here



      Is it possible to automate drawing the arrows from one table cell to another, using cell references instead of manually drawing them?







      tikz-pgf tables






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 1 hour ago









      HanyHany

      1,293417




      1,293417






















          2 Answers
          2






          active

          oldest

          votes


















          2














          Something like this?



          documentclass[tikz]{standalone}
          usetikzlibrary{matrix}
          begin{document}
          begin{tikzpicture}
          matrix (x) [matrix of nodes,row sep=1em,column sep=1em] {%
          15.1 & 23.7 & 19.7 & 15.4 & 18.3 & 23.0\
          17.4 & 18.6 & 12.9 & 20.3 & 13.7 & 21.4\
          10.3 & 26.1 & 15.7 & 14.0 & 17.8 & 33.8\
          23.2 & 12.9 & 29.8 & 18.3 & 14.2 & 20.8\
          13.5 & 17.1 & 20.7 & 27.1 & 18.9 & 16.6\};
          draw[->] (x-2-1) -- (x-4-5);
          % Node names: (<name of matrix>-<row>-<column>)
          end{tikzpicture}
          end{document}


          enter image description here



          In beamer, there may be some problems with matrix, as described here. Taking solutions from that question we have for example



          documentclass{beamer}
          beamertemplatenavigationsymbolsempty
          usepackage{verbatim}
          usepackage{tikz}
          usetikzlibrary{arrows, arrows.meta, positioning, matrix}
          begin{document}
          begin{frame}[fragile]
          frametitle{}
          begin{minipage}{textwidth}
          centering
          begin{tikzpicture}
          matrix (x) [matrix of nodes,row sep=1em,column sep=1em] {%
          15.1 & 23.7 & 19.7 & 15.4 & 18.3 & 23.0\
          17.4 & 18.6 & 12.9 & 20.3 & 13.7 & 21.4\
          10.3 & 26.1 & 15.7 & 14.0 & 17.8 & 33.8\
          23.2 & 12.9 & 29.8 & 18.3 & 14.2 & 20.8\
          13.5 & 17.1 & 20.7 & 27.1 & 18.9 & 16.6\};
          draw<2-> [->] (x-2-1) -- (x-4-5);
          end{tikzpicture}
          end{minipage}
          end{frame}
          end{document}


          enter image description here






          share|improve this answer


























          • @JouleVThank you for your answer. Unfortunately when I inserted your code inside a frame it gave me error message "! Undefined control sequence. <argument> pgf@matrix@last@nextcell@options "

            – Hany
            35 mins ago











          • yes I added usetikzlibrary{matrix} in the preamble

            – Hany
            33 mins ago











          • @Hany Could you please provide your code so that I can have a look?

            – JouleV
            32 mins ago











          • @JouleVShall I add the code into my post!

            – Hany
            31 mins ago













          • @Hany I edited my answer.

            – JouleV
            25 mins ago



















          1














          The obligatory tikzmark and beamer-overlay-styles answer. It might be more useful if you use more features of table, which are harder to reproduce with a tikz matrix.



          documentclass{beamer}
          beamertemplatenavigationsymbolsempty
          usepackage{verbatim}
          usepackage{tikz}
          usetikzlibrary{tikzmark,overlay-beamer-styles}
          usetikzlibrary{arrows}
          begin{document}
          begin{frame}[t]
          frametitle{}
          begin{table}
          begin{tabular}{*6{c}}
          15.1 & 23.7 & tikzmarknode{m13}{19.7} & 15.4 & 18.3 & 23.0\
          17.4 & 18.6 & 12.9 & 20.3 & 13.7 & 21.4\
          10.3 & tikzmarknode{m32}{26.1} & tikzmarknode{m33}{15.7} & 14.0 & 17.8 & 33.8\
          23.2 & 12.9 & 29.8 & tikzmarknode{m44}{18.3} & 14.2 & 20.8\
          13.5 & 17.1 & 20.7 & 27.1 & 18.9 & 16.6\
          end{tabular}
          end{table}
          begin{tikzpicture}[remember picture,overlay]
          draw[ultra thick, blue, -latex',visible on=<2->] (m13.south east) -- (m44.north west);
          draw[ultra thick, red, -latex',visible on=<3->] (m33) -- (m32);
          end{tikzpicture}
          end{frame}
          end{document}


          enter image description here






          share|improve this answer
























          • @marmotThank you very much for your answer. Unfortunately I can not install tikzmark package on my workplace computer for security reasons.

            – Hany
            11 mins ago











          • @Hany I understand. You could also use Torbjørn T.'s tikznode command. This answer is public and may help some who have a more complicated table with, say, right-aligned cells and so on to annotate their table. For your purposes Joule V.s nice answer does a great job (and has certain advantages over ordinary tables when it comes to other questions like fitting some nodes in an ellipse on the background).

            – marmot
            3 mins ago












          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%2f484598%2fdrawing-arrows-from-one-table-cell-reference-to-another%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









          2














          Something like this?



          documentclass[tikz]{standalone}
          usetikzlibrary{matrix}
          begin{document}
          begin{tikzpicture}
          matrix (x) [matrix of nodes,row sep=1em,column sep=1em] {%
          15.1 & 23.7 & 19.7 & 15.4 & 18.3 & 23.0\
          17.4 & 18.6 & 12.9 & 20.3 & 13.7 & 21.4\
          10.3 & 26.1 & 15.7 & 14.0 & 17.8 & 33.8\
          23.2 & 12.9 & 29.8 & 18.3 & 14.2 & 20.8\
          13.5 & 17.1 & 20.7 & 27.1 & 18.9 & 16.6\};
          draw[->] (x-2-1) -- (x-4-5);
          % Node names: (<name of matrix>-<row>-<column>)
          end{tikzpicture}
          end{document}


          enter image description here



          In beamer, there may be some problems with matrix, as described here. Taking solutions from that question we have for example



          documentclass{beamer}
          beamertemplatenavigationsymbolsempty
          usepackage{verbatim}
          usepackage{tikz}
          usetikzlibrary{arrows, arrows.meta, positioning, matrix}
          begin{document}
          begin{frame}[fragile]
          frametitle{}
          begin{minipage}{textwidth}
          centering
          begin{tikzpicture}
          matrix (x) [matrix of nodes,row sep=1em,column sep=1em] {%
          15.1 & 23.7 & 19.7 & 15.4 & 18.3 & 23.0\
          17.4 & 18.6 & 12.9 & 20.3 & 13.7 & 21.4\
          10.3 & 26.1 & 15.7 & 14.0 & 17.8 & 33.8\
          23.2 & 12.9 & 29.8 & 18.3 & 14.2 & 20.8\
          13.5 & 17.1 & 20.7 & 27.1 & 18.9 & 16.6\};
          draw<2-> [->] (x-2-1) -- (x-4-5);
          end{tikzpicture}
          end{minipage}
          end{frame}
          end{document}


          enter image description here






          share|improve this answer


























          • @JouleVThank you for your answer. Unfortunately when I inserted your code inside a frame it gave me error message "! Undefined control sequence. <argument> pgf@matrix@last@nextcell@options "

            – Hany
            35 mins ago











          • yes I added usetikzlibrary{matrix} in the preamble

            – Hany
            33 mins ago











          • @Hany Could you please provide your code so that I can have a look?

            – JouleV
            32 mins ago











          • @JouleVShall I add the code into my post!

            – Hany
            31 mins ago













          • @Hany I edited my answer.

            – JouleV
            25 mins ago
















          2














          Something like this?



          documentclass[tikz]{standalone}
          usetikzlibrary{matrix}
          begin{document}
          begin{tikzpicture}
          matrix (x) [matrix of nodes,row sep=1em,column sep=1em] {%
          15.1 & 23.7 & 19.7 & 15.4 & 18.3 & 23.0\
          17.4 & 18.6 & 12.9 & 20.3 & 13.7 & 21.4\
          10.3 & 26.1 & 15.7 & 14.0 & 17.8 & 33.8\
          23.2 & 12.9 & 29.8 & 18.3 & 14.2 & 20.8\
          13.5 & 17.1 & 20.7 & 27.1 & 18.9 & 16.6\};
          draw[->] (x-2-1) -- (x-4-5);
          % Node names: (<name of matrix>-<row>-<column>)
          end{tikzpicture}
          end{document}


          enter image description here



          In beamer, there may be some problems with matrix, as described here. Taking solutions from that question we have for example



          documentclass{beamer}
          beamertemplatenavigationsymbolsempty
          usepackage{verbatim}
          usepackage{tikz}
          usetikzlibrary{arrows, arrows.meta, positioning, matrix}
          begin{document}
          begin{frame}[fragile]
          frametitle{}
          begin{minipage}{textwidth}
          centering
          begin{tikzpicture}
          matrix (x) [matrix of nodes,row sep=1em,column sep=1em] {%
          15.1 & 23.7 & 19.7 & 15.4 & 18.3 & 23.0\
          17.4 & 18.6 & 12.9 & 20.3 & 13.7 & 21.4\
          10.3 & 26.1 & 15.7 & 14.0 & 17.8 & 33.8\
          23.2 & 12.9 & 29.8 & 18.3 & 14.2 & 20.8\
          13.5 & 17.1 & 20.7 & 27.1 & 18.9 & 16.6\};
          draw<2-> [->] (x-2-1) -- (x-4-5);
          end{tikzpicture}
          end{minipage}
          end{frame}
          end{document}


          enter image description here






          share|improve this answer


























          • @JouleVThank you for your answer. Unfortunately when I inserted your code inside a frame it gave me error message "! Undefined control sequence. <argument> pgf@matrix@last@nextcell@options "

            – Hany
            35 mins ago











          • yes I added usetikzlibrary{matrix} in the preamble

            – Hany
            33 mins ago











          • @Hany Could you please provide your code so that I can have a look?

            – JouleV
            32 mins ago











          • @JouleVShall I add the code into my post!

            – Hany
            31 mins ago













          • @Hany I edited my answer.

            – JouleV
            25 mins ago














          2












          2








          2







          Something like this?



          documentclass[tikz]{standalone}
          usetikzlibrary{matrix}
          begin{document}
          begin{tikzpicture}
          matrix (x) [matrix of nodes,row sep=1em,column sep=1em] {%
          15.1 & 23.7 & 19.7 & 15.4 & 18.3 & 23.0\
          17.4 & 18.6 & 12.9 & 20.3 & 13.7 & 21.4\
          10.3 & 26.1 & 15.7 & 14.0 & 17.8 & 33.8\
          23.2 & 12.9 & 29.8 & 18.3 & 14.2 & 20.8\
          13.5 & 17.1 & 20.7 & 27.1 & 18.9 & 16.6\};
          draw[->] (x-2-1) -- (x-4-5);
          % Node names: (<name of matrix>-<row>-<column>)
          end{tikzpicture}
          end{document}


          enter image description here



          In beamer, there may be some problems with matrix, as described here. Taking solutions from that question we have for example



          documentclass{beamer}
          beamertemplatenavigationsymbolsempty
          usepackage{verbatim}
          usepackage{tikz}
          usetikzlibrary{arrows, arrows.meta, positioning, matrix}
          begin{document}
          begin{frame}[fragile]
          frametitle{}
          begin{minipage}{textwidth}
          centering
          begin{tikzpicture}
          matrix (x) [matrix of nodes,row sep=1em,column sep=1em] {%
          15.1 & 23.7 & 19.7 & 15.4 & 18.3 & 23.0\
          17.4 & 18.6 & 12.9 & 20.3 & 13.7 & 21.4\
          10.3 & 26.1 & 15.7 & 14.0 & 17.8 & 33.8\
          23.2 & 12.9 & 29.8 & 18.3 & 14.2 & 20.8\
          13.5 & 17.1 & 20.7 & 27.1 & 18.9 & 16.6\};
          draw<2-> [->] (x-2-1) -- (x-4-5);
          end{tikzpicture}
          end{minipage}
          end{frame}
          end{document}


          enter image description here






          share|improve this answer















          Something like this?



          documentclass[tikz]{standalone}
          usetikzlibrary{matrix}
          begin{document}
          begin{tikzpicture}
          matrix (x) [matrix of nodes,row sep=1em,column sep=1em] {%
          15.1 & 23.7 & 19.7 & 15.4 & 18.3 & 23.0\
          17.4 & 18.6 & 12.9 & 20.3 & 13.7 & 21.4\
          10.3 & 26.1 & 15.7 & 14.0 & 17.8 & 33.8\
          23.2 & 12.9 & 29.8 & 18.3 & 14.2 & 20.8\
          13.5 & 17.1 & 20.7 & 27.1 & 18.9 & 16.6\};
          draw[->] (x-2-1) -- (x-4-5);
          % Node names: (<name of matrix>-<row>-<column>)
          end{tikzpicture}
          end{document}


          enter image description here



          In beamer, there may be some problems with matrix, as described here. Taking solutions from that question we have for example



          documentclass{beamer}
          beamertemplatenavigationsymbolsempty
          usepackage{verbatim}
          usepackage{tikz}
          usetikzlibrary{arrows, arrows.meta, positioning, matrix}
          begin{document}
          begin{frame}[fragile]
          frametitle{}
          begin{minipage}{textwidth}
          centering
          begin{tikzpicture}
          matrix (x) [matrix of nodes,row sep=1em,column sep=1em] {%
          15.1 & 23.7 & 19.7 & 15.4 & 18.3 & 23.0\
          17.4 & 18.6 & 12.9 & 20.3 & 13.7 & 21.4\
          10.3 & 26.1 & 15.7 & 14.0 & 17.8 & 33.8\
          23.2 & 12.9 & 29.8 & 18.3 & 14.2 & 20.8\
          13.5 & 17.1 & 20.7 & 27.1 & 18.9 & 16.6\};
          draw<2-> [->] (x-2-1) -- (x-4-5);
          end{tikzpicture}
          end{minipage}
          end{frame}
          end{document}


          enter image description here







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited 25 mins ago

























          answered 1 hour ago









          JouleVJouleV

          13k22663




          13k22663













          • @JouleVThank you for your answer. Unfortunately when I inserted your code inside a frame it gave me error message "! Undefined control sequence. <argument> pgf@matrix@last@nextcell@options "

            – Hany
            35 mins ago











          • yes I added usetikzlibrary{matrix} in the preamble

            – Hany
            33 mins ago











          • @Hany Could you please provide your code so that I can have a look?

            – JouleV
            32 mins ago











          • @JouleVShall I add the code into my post!

            – Hany
            31 mins ago













          • @Hany I edited my answer.

            – JouleV
            25 mins ago



















          • @JouleVThank you for your answer. Unfortunately when I inserted your code inside a frame it gave me error message "! Undefined control sequence. <argument> pgf@matrix@last@nextcell@options "

            – Hany
            35 mins ago











          • yes I added usetikzlibrary{matrix} in the preamble

            – Hany
            33 mins ago











          • @Hany Could you please provide your code so that I can have a look?

            – JouleV
            32 mins ago











          • @JouleVShall I add the code into my post!

            – Hany
            31 mins ago













          • @Hany I edited my answer.

            – JouleV
            25 mins ago

















          @JouleVThank you for your answer. Unfortunately when I inserted your code inside a frame it gave me error message "! Undefined control sequence. <argument> pgf@matrix@last@nextcell@options "

          – Hany
          35 mins ago





          @JouleVThank you for your answer. Unfortunately when I inserted your code inside a frame it gave me error message "! Undefined control sequence. <argument> pgf@matrix@last@nextcell@options "

          – Hany
          35 mins ago













          yes I added usetikzlibrary{matrix} in the preamble

          – Hany
          33 mins ago





          yes I added usetikzlibrary{matrix} in the preamble

          – Hany
          33 mins ago













          @Hany Could you please provide your code so that I can have a look?

          – JouleV
          32 mins ago





          @Hany Could you please provide your code so that I can have a look?

          – JouleV
          32 mins ago













          @JouleVShall I add the code into my post!

          – Hany
          31 mins ago







          @JouleVShall I add the code into my post!

          – Hany
          31 mins ago















          @Hany I edited my answer.

          – JouleV
          25 mins ago





          @Hany I edited my answer.

          – JouleV
          25 mins ago











          1














          The obligatory tikzmark and beamer-overlay-styles answer. It might be more useful if you use more features of table, which are harder to reproduce with a tikz matrix.



          documentclass{beamer}
          beamertemplatenavigationsymbolsempty
          usepackage{verbatim}
          usepackage{tikz}
          usetikzlibrary{tikzmark,overlay-beamer-styles}
          usetikzlibrary{arrows}
          begin{document}
          begin{frame}[t]
          frametitle{}
          begin{table}
          begin{tabular}{*6{c}}
          15.1 & 23.7 & tikzmarknode{m13}{19.7} & 15.4 & 18.3 & 23.0\
          17.4 & 18.6 & 12.9 & 20.3 & 13.7 & 21.4\
          10.3 & tikzmarknode{m32}{26.1} & tikzmarknode{m33}{15.7} & 14.0 & 17.8 & 33.8\
          23.2 & 12.9 & 29.8 & tikzmarknode{m44}{18.3} & 14.2 & 20.8\
          13.5 & 17.1 & 20.7 & 27.1 & 18.9 & 16.6\
          end{tabular}
          end{table}
          begin{tikzpicture}[remember picture,overlay]
          draw[ultra thick, blue, -latex',visible on=<2->] (m13.south east) -- (m44.north west);
          draw[ultra thick, red, -latex',visible on=<3->] (m33) -- (m32);
          end{tikzpicture}
          end{frame}
          end{document}


          enter image description here






          share|improve this answer
























          • @marmotThank you very much for your answer. Unfortunately I can not install tikzmark package on my workplace computer for security reasons.

            – Hany
            11 mins ago











          • @Hany I understand. You could also use Torbjørn T.'s tikznode command. This answer is public and may help some who have a more complicated table with, say, right-aligned cells and so on to annotate their table. For your purposes Joule V.s nice answer does a great job (and has certain advantages over ordinary tables when it comes to other questions like fitting some nodes in an ellipse on the background).

            – marmot
            3 mins ago
















          1














          The obligatory tikzmark and beamer-overlay-styles answer. It might be more useful if you use more features of table, which are harder to reproduce with a tikz matrix.



          documentclass{beamer}
          beamertemplatenavigationsymbolsempty
          usepackage{verbatim}
          usepackage{tikz}
          usetikzlibrary{tikzmark,overlay-beamer-styles}
          usetikzlibrary{arrows}
          begin{document}
          begin{frame}[t]
          frametitle{}
          begin{table}
          begin{tabular}{*6{c}}
          15.1 & 23.7 & tikzmarknode{m13}{19.7} & 15.4 & 18.3 & 23.0\
          17.4 & 18.6 & 12.9 & 20.3 & 13.7 & 21.4\
          10.3 & tikzmarknode{m32}{26.1} & tikzmarknode{m33}{15.7} & 14.0 & 17.8 & 33.8\
          23.2 & 12.9 & 29.8 & tikzmarknode{m44}{18.3} & 14.2 & 20.8\
          13.5 & 17.1 & 20.7 & 27.1 & 18.9 & 16.6\
          end{tabular}
          end{table}
          begin{tikzpicture}[remember picture,overlay]
          draw[ultra thick, blue, -latex',visible on=<2->] (m13.south east) -- (m44.north west);
          draw[ultra thick, red, -latex',visible on=<3->] (m33) -- (m32);
          end{tikzpicture}
          end{frame}
          end{document}


          enter image description here






          share|improve this answer
























          • @marmotThank you very much for your answer. Unfortunately I can not install tikzmark package on my workplace computer for security reasons.

            – Hany
            11 mins ago











          • @Hany I understand. You could also use Torbjørn T.'s tikznode command. This answer is public and may help some who have a more complicated table with, say, right-aligned cells and so on to annotate their table. For your purposes Joule V.s nice answer does a great job (and has certain advantages over ordinary tables when it comes to other questions like fitting some nodes in an ellipse on the background).

            – marmot
            3 mins ago














          1












          1








          1







          The obligatory tikzmark and beamer-overlay-styles answer. It might be more useful if you use more features of table, which are harder to reproduce with a tikz matrix.



          documentclass{beamer}
          beamertemplatenavigationsymbolsempty
          usepackage{verbatim}
          usepackage{tikz}
          usetikzlibrary{tikzmark,overlay-beamer-styles}
          usetikzlibrary{arrows}
          begin{document}
          begin{frame}[t]
          frametitle{}
          begin{table}
          begin{tabular}{*6{c}}
          15.1 & 23.7 & tikzmarknode{m13}{19.7} & 15.4 & 18.3 & 23.0\
          17.4 & 18.6 & 12.9 & 20.3 & 13.7 & 21.4\
          10.3 & tikzmarknode{m32}{26.1} & tikzmarknode{m33}{15.7} & 14.0 & 17.8 & 33.8\
          23.2 & 12.9 & 29.8 & tikzmarknode{m44}{18.3} & 14.2 & 20.8\
          13.5 & 17.1 & 20.7 & 27.1 & 18.9 & 16.6\
          end{tabular}
          end{table}
          begin{tikzpicture}[remember picture,overlay]
          draw[ultra thick, blue, -latex',visible on=<2->] (m13.south east) -- (m44.north west);
          draw[ultra thick, red, -latex',visible on=<3->] (m33) -- (m32);
          end{tikzpicture}
          end{frame}
          end{document}


          enter image description here






          share|improve this answer













          The obligatory tikzmark and beamer-overlay-styles answer. It might be more useful if you use more features of table, which are harder to reproduce with a tikz matrix.



          documentclass{beamer}
          beamertemplatenavigationsymbolsempty
          usepackage{verbatim}
          usepackage{tikz}
          usetikzlibrary{tikzmark,overlay-beamer-styles}
          usetikzlibrary{arrows}
          begin{document}
          begin{frame}[t]
          frametitle{}
          begin{table}
          begin{tabular}{*6{c}}
          15.1 & 23.7 & tikzmarknode{m13}{19.7} & 15.4 & 18.3 & 23.0\
          17.4 & 18.6 & 12.9 & 20.3 & 13.7 & 21.4\
          10.3 & tikzmarknode{m32}{26.1} & tikzmarknode{m33}{15.7} & 14.0 & 17.8 & 33.8\
          23.2 & 12.9 & 29.8 & tikzmarknode{m44}{18.3} & 14.2 & 20.8\
          13.5 & 17.1 & 20.7 & 27.1 & 18.9 & 16.6\
          end{tabular}
          end{table}
          begin{tikzpicture}[remember picture,overlay]
          draw[ultra thick, blue, -latex',visible on=<2->] (m13.south east) -- (m44.north west);
          draw[ultra thick, red, -latex',visible on=<3->] (m33) -- (m32);
          end{tikzpicture}
          end{frame}
          end{document}


          enter image description here







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered 18 mins ago









          marmotmarmot

          117k5150283




          117k5150283













          • @marmotThank you very much for your answer. Unfortunately I can not install tikzmark package on my workplace computer for security reasons.

            – Hany
            11 mins ago











          • @Hany I understand. You could also use Torbjørn T.'s tikznode command. This answer is public and may help some who have a more complicated table with, say, right-aligned cells and so on to annotate their table. For your purposes Joule V.s nice answer does a great job (and has certain advantages over ordinary tables when it comes to other questions like fitting some nodes in an ellipse on the background).

            – marmot
            3 mins ago



















          • @marmotThank you very much for your answer. Unfortunately I can not install tikzmark package on my workplace computer for security reasons.

            – Hany
            11 mins ago











          • @Hany I understand. You could also use Torbjørn T.'s tikznode command. This answer is public and may help some who have a more complicated table with, say, right-aligned cells and so on to annotate their table. For your purposes Joule V.s nice answer does a great job (and has certain advantages over ordinary tables when it comes to other questions like fitting some nodes in an ellipse on the background).

            – marmot
            3 mins ago

















          @marmotThank you very much for your answer. Unfortunately I can not install tikzmark package on my workplace computer for security reasons.

          – Hany
          11 mins ago





          @marmotThank you very much for your answer. Unfortunately I can not install tikzmark package on my workplace computer for security reasons.

          – Hany
          11 mins ago













          @Hany I understand. You could also use Torbjørn T.'s tikznode command. This answer is public and may help some who have a more complicated table with, say, right-aligned cells and so on to annotate their table. For your purposes Joule V.s nice answer does a great job (and has certain advantages over ordinary tables when it comes to other questions like fitting some nodes in an ellipse on the background).

          – marmot
          3 mins ago





          @Hany I understand. You could also use Torbjørn T.'s tikznode command. This answer is public and may help some who have a more complicated table with, say, right-aligned cells and so on to annotate their table. For your purposes Joule V.s nice answer does a great job (and has certain advantages over ordinary tables when it comes to other questions like fitting some nodes in an ellipse on the background).

          – marmot
          3 mins ago


















          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%2f484598%2fdrawing-arrows-from-one-table-cell-reference-to-another%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

          “%fieldName is a required field.”, in Magento2 REST API Call for GET Method Type The Next...

          How to change City field to a dropdown in Checkout step Magento 2Magento 2 : How to change UI field(s)...

          夢乃愛華...