Typsetting diagram chases (with TikZ?)How to define the default vertical distance between nodes?To wrap the external lines so that it can touch the perimeterDraw edge on arcNumerical conditional within tikz keys?TikZ: Drawing an arc from an intersection to an intersectionDrawing rectilinear curves in Tikz, aka an Etch-a-Sketch drawingLine up nested tikz enviroments or how to get rid of themHow to place nodes in an absolute coordinate system in tikzTikz with standalone: pinning tikz coordinates to page cmDrawing a Decision Diagram with Tikz and layout manager

What happen to those who died but not from the snap?

What are the uses and limitations of Persuasion, Insight, and Deception against other PCs?

In a 2 layer PCB with a top layer densely populated, from an EMI & EMC point of view should the ground plane be on top, bottom or both and why?

What gave Harry Potter the idea of writing in Tom Riddle's diary?

What are the conventions for transcribing Semitic languages into Greek?

English - Acceptable use of parentheses in an author's name

During the Space Shuttle Columbia Disaster of 2003, Why Did The Flight Director Say, "Lock the doors."?

Is there a way to unplug the Raspberry pi safely without shutting down

Blocking people from taking pictures of me with smartphone

How does "Te vas a cansar" mean "You're going to get tired"?

First amendment and employment: Can a police department terminate an officer for speech?

Is refreshing multiple times a test case for web applications?

What game uses dice with sides powers of 2?

Why isn’t SHA-3 in wider use?

How to avoid the "need" to learn more before conducting research?

What happens if I delete an icloud backup?

Multirow in tabularx?

Continuous vertical line using booktabs in tabularx table?

What is the maximum number of PC-controlled undead?

Can you castle with a "ghost" rook?

On Math Looking Obvious in Retrospect

How can Radagast come across Gandalf and Thorin's company?

n-types of the theory of natural numbers?

function evaluation - I don't get it



Typsetting diagram chases (with TikZ?)


How to define the default vertical distance between nodes?To wrap the external lines so that it can touch the perimeterDraw edge on arcNumerical conditional within tikz keys?TikZ: Drawing an arc from an intersection to an intersectionDrawing rectilinear curves in Tikz, aka an Etch-a-Sketch drawingLine up nested tikz enviroments or how to get rid of themHow to place nodes in an absolute coordinate system in tikzTikz with standalone: pinning tikz coordinates to page cmDrawing a Decision Diagram with Tikz and layout manager






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








4















Background. I recently came across a Youtube video with a bunch of really nicely typeset 'diagram chases' that seem to have been made in TeX (perhaps TikZ?):



Exmples of a diagram chase



I'd like to create something similar for a presentation that I'm working on, but I feel a bit lost when it comes to figuring out a systematic/scalable way to this.



Own attempt. For small diagrams, it's possible to do this in a very ad hoc way, by just playing around with coordinates and the bend right and bend left attributes in TikZ. A quick example of what this might look like:



documentclassarticle

usepackagetikz
usetikzlibraryarrows.meta

begindocument

begintikzpicture[scale=1.5, bend left=15, bend right=15]

node (B) at (0,0) $B$;
node (B') at (0,-1) $B'$;
node (C) at (1,0) $C$;
node (C') at (1,-1) $C'$;

draw[->,gray] (B) -- (B');
draw[->,gray,shorten >= -1pt] (B') -- (C');
draw[->,gray,shorten >= -1pt] (B) -- (C);
draw[->,gray] (C) -- (C');

node (b) at (-0.3,0.2) footnotesize $b$;
node (bprime) at (-0.3,-1.2) footnotesize $b'$;
node (cbar) at (0.7,0.2) footnotesize $barc$;
node (cdiff) at (0.7,-1.3) footnotesize $c'-c''$;

path (b) edge [->[scale=0.7],bend left] node [left] (cbar);
path (b) edge [->[scale=0.7],bend right] node [left] (bprime);
path (bprime) edge [->[scale=0.7],bend right] node [left] (cdiff);
path (cbar) edge [->[scale=0.7],bend right, shorten >= -2pt, shorten <= -1pt] node [left] (cdiff);

endtikzpicture

enddocument


Result of own attempt



I think this gives a decent end result. But for larger diagrams, it would be an absolute nightmare to work with a code that is so messy and so heavily dependent on coordinates and tweaked parameters.



Thus, if anyone has suggestions (big or small) for a more clever way to do this (with or without TikZ) and/or a way to make my own approach a bit cleaner or more systematic somehow, that would be greatly appreciated!










share|improve this question


























  • Any other tools that you think could be useful? I'm definitely willing to try out other tools than TikZ if need be!

    – Oskar Henriksson
    Apr 15 at 4:38

















4















Background. I recently came across a Youtube video with a bunch of really nicely typeset 'diagram chases' that seem to have been made in TeX (perhaps TikZ?):



Exmples of a diagram chase



I'd like to create something similar for a presentation that I'm working on, but I feel a bit lost when it comes to figuring out a systematic/scalable way to this.



Own attempt. For small diagrams, it's possible to do this in a very ad hoc way, by just playing around with coordinates and the bend right and bend left attributes in TikZ. A quick example of what this might look like:



documentclassarticle

usepackagetikz
usetikzlibraryarrows.meta

begindocument

begintikzpicture[scale=1.5, bend left=15, bend right=15]

node (B) at (0,0) $B$;
node (B') at (0,-1) $B'$;
node (C) at (1,0) $C$;
node (C') at (1,-1) $C'$;

draw[->,gray] (B) -- (B');
draw[->,gray,shorten >= -1pt] (B') -- (C');
draw[->,gray,shorten >= -1pt] (B) -- (C);
draw[->,gray] (C) -- (C');

node (b) at (-0.3,0.2) footnotesize $b$;
node (bprime) at (-0.3,-1.2) footnotesize $b'$;
node (cbar) at (0.7,0.2) footnotesize $barc$;
node (cdiff) at (0.7,-1.3) footnotesize $c'-c''$;

path (b) edge [->[scale=0.7],bend left] node [left] (cbar);
path (b) edge [->[scale=0.7],bend right] node [left] (bprime);
path (bprime) edge [->[scale=0.7],bend right] node [left] (cdiff);
path (cbar) edge [->[scale=0.7],bend right, shorten >= -2pt, shorten <= -1pt] node [left] (cdiff);

endtikzpicture

enddocument


Result of own attempt



I think this gives a decent end result. But for larger diagrams, it would be an absolute nightmare to work with a code that is so messy and so heavily dependent on coordinates and tweaked parameters.



Thus, if anyone has suggestions (big or small) for a more clever way to do this (with or without TikZ) and/or a way to make my own approach a bit cleaner or more systematic somehow, that would be greatly appreciated!










share|improve this question


























  • Any other tools that you think could be useful? I'm definitely willing to try out other tools than TikZ if need be!

    – Oskar Henriksson
    Apr 15 at 4:38













4












4








4








Background. I recently came across a Youtube video with a bunch of really nicely typeset 'diagram chases' that seem to have been made in TeX (perhaps TikZ?):



Exmples of a diagram chase



I'd like to create something similar for a presentation that I'm working on, but I feel a bit lost when it comes to figuring out a systematic/scalable way to this.



Own attempt. For small diagrams, it's possible to do this in a very ad hoc way, by just playing around with coordinates and the bend right and bend left attributes in TikZ. A quick example of what this might look like:



documentclassarticle

usepackagetikz
usetikzlibraryarrows.meta

begindocument

begintikzpicture[scale=1.5, bend left=15, bend right=15]

node (B) at (0,0) $B$;
node (B') at (0,-1) $B'$;
node (C) at (1,0) $C$;
node (C') at (1,-1) $C'$;

draw[->,gray] (B) -- (B');
draw[->,gray,shorten >= -1pt] (B') -- (C');
draw[->,gray,shorten >= -1pt] (B) -- (C);
draw[->,gray] (C) -- (C');

node (b) at (-0.3,0.2) footnotesize $b$;
node (bprime) at (-0.3,-1.2) footnotesize $b'$;
node (cbar) at (0.7,0.2) footnotesize $barc$;
node (cdiff) at (0.7,-1.3) footnotesize $c'-c''$;

path (b) edge [->[scale=0.7],bend left] node [left] (cbar);
path (b) edge [->[scale=0.7],bend right] node [left] (bprime);
path (bprime) edge [->[scale=0.7],bend right] node [left] (cdiff);
path (cbar) edge [->[scale=0.7],bend right, shorten >= -2pt, shorten <= -1pt] node [left] (cdiff);

endtikzpicture

enddocument


Result of own attempt



I think this gives a decent end result. But for larger diagrams, it would be an absolute nightmare to work with a code that is so messy and so heavily dependent on coordinates and tweaked parameters.



Thus, if anyone has suggestions (big or small) for a more clever way to do this (with or without TikZ) and/or a way to make my own approach a bit cleaner or more systematic somehow, that would be greatly appreciated!










share|improve this question
















Background. I recently came across a Youtube video with a bunch of really nicely typeset 'diagram chases' that seem to have been made in TeX (perhaps TikZ?):



Exmples of a diagram chase



I'd like to create something similar for a presentation that I'm working on, but I feel a bit lost when it comes to figuring out a systematic/scalable way to this.



Own attempt. For small diagrams, it's possible to do this in a very ad hoc way, by just playing around with coordinates and the bend right and bend left attributes in TikZ. A quick example of what this might look like:



documentclassarticle

usepackagetikz
usetikzlibraryarrows.meta

begindocument

begintikzpicture[scale=1.5, bend left=15, bend right=15]

node (B) at (0,0) $B$;
node (B') at (0,-1) $B'$;
node (C) at (1,0) $C$;
node (C') at (1,-1) $C'$;

draw[->,gray] (B) -- (B');
draw[->,gray,shorten >= -1pt] (B') -- (C');
draw[->,gray,shorten >= -1pt] (B) -- (C);
draw[->,gray] (C) -- (C');

node (b) at (-0.3,0.2) footnotesize $b$;
node (bprime) at (-0.3,-1.2) footnotesize $b'$;
node (cbar) at (0.7,0.2) footnotesize $barc$;
node (cdiff) at (0.7,-1.3) footnotesize $c'-c''$;

path (b) edge [->[scale=0.7],bend left] node [left] (cbar);
path (b) edge [->[scale=0.7],bend right] node [left] (bprime);
path (bprime) edge [->[scale=0.7],bend right] node [left] (cdiff);
path (cbar) edge [->[scale=0.7],bend right, shorten >= -2pt, shorten <= -1pt] node [left] (cdiff);

endtikzpicture

enddocument


Result of own attempt



I think this gives a decent end result. But for larger diagrams, it would be an absolute nightmare to work with a code that is so messy and so heavily dependent on coordinates and tweaked parameters.



Thus, if anyone has suggestions (big or small) for a more clever way to do this (with or without TikZ) and/or a way to make my own approach a bit cleaner or more systematic somehow, that would be greatly appreciated!







tikz-pgf diagrams tikz-cd commutative-diagrams






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 15 at 5:56







user156344

















asked Apr 15 at 3:53









Oskar HenrikssonOskar Henriksson

1356 bronze badges




1356 bronze badges















  • Any other tools that you think could be useful? I'm definitely willing to try out other tools than TikZ if need be!

    – Oskar Henriksson
    Apr 15 at 4:38

















  • Any other tools that you think could be useful? I'm definitely willing to try out other tools than TikZ if need be!

    – Oskar Henriksson
    Apr 15 at 4:38
















Any other tools that you think could be useful? I'm definitely willing to try out other tools than TikZ if need be!

– Oskar Henriksson
Apr 15 at 4:38





Any other tools that you think could be useful? I'm definitely willing to try out other tools than TikZ if need be!

– Oskar Henriksson
Apr 15 at 4:38










1 Answer
1






active

oldest

votes


















6














We clearly can't avoid difficulties and complexity when dealing with such a complicated graph when using any kinds of tool, but by using matrices it has saved a lot of work.



documentclass[tikz]standalone
usetikzlibrarymatrix,positioning,arrows.meta
usepackagemathptmx
tikzsettoarrow/.style=->[scale=0.7],
backarrow/.style=<[scale=0.7]-
begindocument
begintikzpicture
matrix[matrix of math nodes,row sep=2cm,column sep=2cm] (m) %
A & B & C & D & E\
A' & B' & C' & D' & E'\;
path (m-1-2) node[above left=1.5ex and 1.5ex] (b) $b$
(m-1-3) node[above left=1.5ex and 1.5ex] (c) $c$
(m-1-4) node[above left=1.5ex and 1.5ex] (d) $d$
(m-1-5) node[above left=1.5ex and 1.5ex] (e) $e$
(m-2-2) node[below left=1.5ex and 1.5ex] (b2) $b'$
(m-2-3) node[below left=1.5ex and 1.5ex] (c2) $c'$
(m-2-4) node[below left=1.5ex and 1.5ex] (d2) $d'$
(m-2-5) node[below left=1.5ex and 1.5ex] (e2) $0$
(m-2-3) node[above left=1.5ex and 1.5ex] (c3) $c''$
(c) node[above left=1.5ex and -1.5ex] (cp) $overlinec+c$
(c2) node[below=1.5ex] (cm) $c'-c''$
(d2) node[below=1.5ex] (db) $0$
(e.base east) node[above right=-.3333em and -1ex] $=0$
(c.base west) node[above left=-.3333em and 1.5ex] (co) $overlinec$;
% Delete the following part to see what happens
foreach i [count=j from 2] in 1,2,3,4
draw[dotted,->] (m-1-i) -- (m-2-i);
draw[dotted,->] (m-1-i) -- (m-1-j);
draw[dotted,->] (m-2-i) -- (m-2-j);

draw[dotted,->] (m-1-5) -- (m-2-5);
draw[toarrow] (b) edge[bend right] (b2) edge[bend left] (co);
draw[toarrow] (b2) to[bend right] (cm);
draw[toarrow] (cm) to[bend right] (db);
draw[toarrow] (co) to[bend right] (cm);
draw[toarrow] (cp) to[bend right] (c2);
draw[toarrow] (c) edge[bend right] (c3) edge[bend left] (d);
draw[backarrow] (d2) edge[bend left] (c2) edge[bend right=20] (c3) edge[bend left] (d);
draw[backarrow] (e2) edge[bend left] (d2) edge[bend left] (e);
draw[toarrow] (d) edge[bend left] (e);
endtikzpicture
enddocument


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



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f484877%2ftypsetting-diagram-chases-with-tikz%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









    6














    We clearly can't avoid difficulties and complexity when dealing with such a complicated graph when using any kinds of tool, but by using matrices it has saved a lot of work.



    documentclass[tikz]standalone
    usetikzlibrarymatrix,positioning,arrows.meta
    usepackagemathptmx
    tikzsettoarrow/.style=->[scale=0.7],
    backarrow/.style=<[scale=0.7]-
    begindocument
    begintikzpicture
    matrix[matrix of math nodes,row sep=2cm,column sep=2cm] (m) %
    A & B & C & D & E\
    A' & B' & C' & D' & E'\;
    path (m-1-2) node[above left=1.5ex and 1.5ex] (b) $b$
    (m-1-3) node[above left=1.5ex and 1.5ex] (c) $c$
    (m-1-4) node[above left=1.5ex and 1.5ex] (d) $d$
    (m-1-5) node[above left=1.5ex and 1.5ex] (e) $e$
    (m-2-2) node[below left=1.5ex and 1.5ex] (b2) $b'$
    (m-2-3) node[below left=1.5ex and 1.5ex] (c2) $c'$
    (m-2-4) node[below left=1.5ex and 1.5ex] (d2) $d'$
    (m-2-5) node[below left=1.5ex and 1.5ex] (e2) $0$
    (m-2-3) node[above left=1.5ex and 1.5ex] (c3) $c''$
    (c) node[above left=1.5ex and -1.5ex] (cp) $overlinec+c$
    (c2) node[below=1.5ex] (cm) $c'-c''$
    (d2) node[below=1.5ex] (db) $0$
    (e.base east) node[above right=-.3333em and -1ex] $=0$
    (c.base west) node[above left=-.3333em and 1.5ex] (co) $overlinec$;
    % Delete the following part to see what happens
    foreach i [count=j from 2] in 1,2,3,4
    draw[dotted,->] (m-1-i) -- (m-2-i);
    draw[dotted,->] (m-1-i) -- (m-1-j);
    draw[dotted,->] (m-2-i) -- (m-2-j);

    draw[dotted,->] (m-1-5) -- (m-2-5);
    draw[toarrow] (b) edge[bend right] (b2) edge[bend left] (co);
    draw[toarrow] (b2) to[bend right] (cm);
    draw[toarrow] (cm) to[bend right] (db);
    draw[toarrow] (co) to[bend right] (cm);
    draw[toarrow] (cp) to[bend right] (c2);
    draw[toarrow] (c) edge[bend right] (c3) edge[bend left] (d);
    draw[backarrow] (d2) edge[bend left] (c2) edge[bend right=20] (c3) edge[bend left] (d);
    draw[backarrow] (e2) edge[bend left] (d2) edge[bend left] (e);
    draw[toarrow] (d) edge[bend left] (e);
    endtikzpicture
    enddocument


    enter image description here






    share|improve this answer































      6














      We clearly can't avoid difficulties and complexity when dealing with such a complicated graph when using any kinds of tool, but by using matrices it has saved a lot of work.



      documentclass[tikz]standalone
      usetikzlibrarymatrix,positioning,arrows.meta
      usepackagemathptmx
      tikzsettoarrow/.style=->[scale=0.7],
      backarrow/.style=<[scale=0.7]-
      begindocument
      begintikzpicture
      matrix[matrix of math nodes,row sep=2cm,column sep=2cm] (m) %
      A & B & C & D & E\
      A' & B' & C' & D' & E'\;
      path (m-1-2) node[above left=1.5ex and 1.5ex] (b) $b$
      (m-1-3) node[above left=1.5ex and 1.5ex] (c) $c$
      (m-1-4) node[above left=1.5ex and 1.5ex] (d) $d$
      (m-1-5) node[above left=1.5ex and 1.5ex] (e) $e$
      (m-2-2) node[below left=1.5ex and 1.5ex] (b2) $b'$
      (m-2-3) node[below left=1.5ex and 1.5ex] (c2) $c'$
      (m-2-4) node[below left=1.5ex and 1.5ex] (d2) $d'$
      (m-2-5) node[below left=1.5ex and 1.5ex] (e2) $0$
      (m-2-3) node[above left=1.5ex and 1.5ex] (c3) $c''$
      (c) node[above left=1.5ex and -1.5ex] (cp) $overlinec+c$
      (c2) node[below=1.5ex] (cm) $c'-c''$
      (d2) node[below=1.5ex] (db) $0$
      (e.base east) node[above right=-.3333em and -1ex] $=0$
      (c.base west) node[above left=-.3333em and 1.5ex] (co) $overlinec$;
      % Delete the following part to see what happens
      foreach i [count=j from 2] in 1,2,3,4
      draw[dotted,->] (m-1-i) -- (m-2-i);
      draw[dotted,->] (m-1-i) -- (m-1-j);
      draw[dotted,->] (m-2-i) -- (m-2-j);

      draw[dotted,->] (m-1-5) -- (m-2-5);
      draw[toarrow] (b) edge[bend right] (b2) edge[bend left] (co);
      draw[toarrow] (b2) to[bend right] (cm);
      draw[toarrow] (cm) to[bend right] (db);
      draw[toarrow] (co) to[bend right] (cm);
      draw[toarrow] (cp) to[bend right] (c2);
      draw[toarrow] (c) edge[bend right] (c3) edge[bend left] (d);
      draw[backarrow] (d2) edge[bend left] (c2) edge[bend right=20] (c3) edge[bend left] (d);
      draw[backarrow] (e2) edge[bend left] (d2) edge[bend left] (e);
      draw[toarrow] (d) edge[bend left] (e);
      endtikzpicture
      enddocument


      enter image description here






      share|improve this answer





























        6












        6








        6







        We clearly can't avoid difficulties and complexity when dealing with such a complicated graph when using any kinds of tool, but by using matrices it has saved a lot of work.



        documentclass[tikz]standalone
        usetikzlibrarymatrix,positioning,arrows.meta
        usepackagemathptmx
        tikzsettoarrow/.style=->[scale=0.7],
        backarrow/.style=<[scale=0.7]-
        begindocument
        begintikzpicture
        matrix[matrix of math nodes,row sep=2cm,column sep=2cm] (m) %
        A & B & C & D & E\
        A' & B' & C' & D' & E'\;
        path (m-1-2) node[above left=1.5ex and 1.5ex] (b) $b$
        (m-1-3) node[above left=1.5ex and 1.5ex] (c) $c$
        (m-1-4) node[above left=1.5ex and 1.5ex] (d) $d$
        (m-1-5) node[above left=1.5ex and 1.5ex] (e) $e$
        (m-2-2) node[below left=1.5ex and 1.5ex] (b2) $b'$
        (m-2-3) node[below left=1.5ex and 1.5ex] (c2) $c'$
        (m-2-4) node[below left=1.5ex and 1.5ex] (d2) $d'$
        (m-2-5) node[below left=1.5ex and 1.5ex] (e2) $0$
        (m-2-3) node[above left=1.5ex and 1.5ex] (c3) $c''$
        (c) node[above left=1.5ex and -1.5ex] (cp) $overlinec+c$
        (c2) node[below=1.5ex] (cm) $c'-c''$
        (d2) node[below=1.5ex] (db) $0$
        (e.base east) node[above right=-.3333em and -1ex] $=0$
        (c.base west) node[above left=-.3333em and 1.5ex] (co) $overlinec$;
        % Delete the following part to see what happens
        foreach i [count=j from 2] in 1,2,3,4
        draw[dotted,->] (m-1-i) -- (m-2-i);
        draw[dotted,->] (m-1-i) -- (m-1-j);
        draw[dotted,->] (m-2-i) -- (m-2-j);

        draw[dotted,->] (m-1-5) -- (m-2-5);
        draw[toarrow] (b) edge[bend right] (b2) edge[bend left] (co);
        draw[toarrow] (b2) to[bend right] (cm);
        draw[toarrow] (cm) to[bend right] (db);
        draw[toarrow] (co) to[bend right] (cm);
        draw[toarrow] (cp) to[bend right] (c2);
        draw[toarrow] (c) edge[bend right] (c3) edge[bend left] (d);
        draw[backarrow] (d2) edge[bend left] (c2) edge[bend right=20] (c3) edge[bend left] (d);
        draw[backarrow] (e2) edge[bend left] (d2) edge[bend left] (e);
        draw[toarrow] (d) edge[bend left] (e);
        endtikzpicture
        enddocument


        enter image description here






        share|improve this answer















        We clearly can't avoid difficulties and complexity when dealing with such a complicated graph when using any kinds of tool, but by using matrices it has saved a lot of work.



        documentclass[tikz]standalone
        usetikzlibrarymatrix,positioning,arrows.meta
        usepackagemathptmx
        tikzsettoarrow/.style=->[scale=0.7],
        backarrow/.style=<[scale=0.7]-
        begindocument
        begintikzpicture
        matrix[matrix of math nodes,row sep=2cm,column sep=2cm] (m) %
        A & B & C & D & E\
        A' & B' & C' & D' & E'\;
        path (m-1-2) node[above left=1.5ex and 1.5ex] (b) $b$
        (m-1-3) node[above left=1.5ex and 1.5ex] (c) $c$
        (m-1-4) node[above left=1.5ex and 1.5ex] (d) $d$
        (m-1-5) node[above left=1.5ex and 1.5ex] (e) $e$
        (m-2-2) node[below left=1.5ex and 1.5ex] (b2) $b'$
        (m-2-3) node[below left=1.5ex and 1.5ex] (c2) $c'$
        (m-2-4) node[below left=1.5ex and 1.5ex] (d2) $d'$
        (m-2-5) node[below left=1.5ex and 1.5ex] (e2) $0$
        (m-2-3) node[above left=1.5ex and 1.5ex] (c3) $c''$
        (c) node[above left=1.5ex and -1.5ex] (cp) $overlinec+c$
        (c2) node[below=1.5ex] (cm) $c'-c''$
        (d2) node[below=1.5ex] (db) $0$
        (e.base east) node[above right=-.3333em and -1ex] $=0$
        (c.base west) node[above left=-.3333em and 1.5ex] (co) $overlinec$;
        % Delete the following part to see what happens
        foreach i [count=j from 2] in 1,2,3,4
        draw[dotted,->] (m-1-i) -- (m-2-i);
        draw[dotted,->] (m-1-i) -- (m-1-j);
        draw[dotted,->] (m-2-i) -- (m-2-j);

        draw[dotted,->] (m-1-5) -- (m-2-5);
        draw[toarrow] (b) edge[bend right] (b2) edge[bend left] (co);
        draw[toarrow] (b2) to[bend right] (cm);
        draw[toarrow] (cm) to[bend right] (db);
        draw[toarrow] (co) to[bend right] (cm);
        draw[toarrow] (cp) to[bend right] (c2);
        draw[toarrow] (c) edge[bend right] (c3) edge[bend left] (d);
        draw[backarrow] (d2) edge[bend left] (c2) edge[bend right=20] (c3) edge[bend left] (d);
        draw[backarrow] (e2) edge[bend left] (d2) edge[bend left] (e);
        draw[toarrow] (d) edge[bend left] (e);
        endtikzpicture
        enddocument


        enter image description here







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Apr 15 at 4:55

























        answered Apr 15 at 4:38







        user156344





































            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%2f484877%2ftypsetting-diagram-chases-with-tikz%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

            Tamil (spriik) Luke uk diar | Nawigatjuun

            Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

            Where does the image of a data connector as a sharp metal spike originate from?Where does the concept of infected people turning into zombies only after death originate from?Where does the motif of a reanimated human head originate?Where did the notion that Dragons could speak originate?Where does the archetypal image of the 'Grey' alien come from?Where did the suffix '-Man' originate?Where does the notion of being injured or killed by an illusion originate?Where did the term “sophont” originate?Where does the trope of magic spells being driven by advanced technology originate from?Where did the term “the living impaired” originate?