3

I want to draw this digram below in Latex and thank you .enter image description here

3
  • 2
    Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format.
    – greyshade
    Commented Sep 2, 2014 at 19:21
  • 3
    Your question leaves all the effort to our community, even typing the essentials of a TeX document such as \documentclass{}...\begin{document} etc. As it is, most of our users will be very reluctant to touch your question, and you are left to the mercy of our procrastination team who are very few in number and very picky about selecting questions. You can improve your question by adding a minimal working example (MWE) that more users can copy/paste onto their systems to work on.
    – greyshade
    Commented Sep 2, 2014 at 19:23
  • 4
    Googling 'latex commutative diagram' (and then 'latex commutative diagram 3d') led to Commutative Diagrams with XY-pic II. Section 4 shows a similar diagram with lots of explanation. Commented Sep 2, 2014 at 19:24

1 Answer 1

7

You may want to learn tikz-cd:

\documentclass{article}
\usepackage{tikz-cd}

\begin{document}
\[
\begin{tikzcd}[row sep=2.5em]
A' \arrow[rr,"f'"] \arrow[dr,swap,"a"] \arrow[dd,swap,"g'"] &&
  B' \arrow[dd,swap,"h'" near start] \arrow[dr,"b"] \\
& A \arrow[rr,crossing over,"f" near start] &&
  B \arrow[dd,"h"] \\
C' \arrow[rr,"k'" near end] \arrow[dr,swap,"c"] && D' \arrow[dr,swap,"d"] \\
& C \arrow[rr,"k"] \arrow[uu,<-,crossing over,"g" near end]&& D
\end{tikzcd}
\]
\end{document}

The only trick is to draw the "g" arrow later (and in the opposite direction), so that it can properly cross over the "k'" arrow that would be drawn later if the "g" arrow started from "A" instead of "C".

enter image description here

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .