1

I want to write the following diagram. But I'm stuck with writing the map $\phi$ and inclusion one.

How can I draw the following diagram ? Thank you in advance.

enter image description here

My preamble is the following.

\documentclass[11pt,english]{smfart}
\usepackage[OT2,T1]{fontenc}
\usepackage[english]{babel}
\usepackage{url,xspace,smfthm}
%\usepackage{amsthm}
\usepackage{amsmath,amssymb,amsfonts}
\usepackage{mathtools}

\usepackage{tikz}
\usepackage{tikz-cd}
\usepackage{enumitem}


\DeclareSymbolFont{cyrletters}{OT2}{wncyr}{m}{n}
\DeclareMathSymbol{\Sha}{\mathalpha}{cyrletters}{"58}
\DeclareMathSymbol{\Zhe}{\mathalpha}{cyrletters}{"11}
\DeclareMathOperator{\Coker}{Coker}

\theoremstyle{definition}
\newtheorem{definition}{Definition}
\newtheorem{lem}{Lemma}
\newtheorem{cor}{Cor}
\newtheorem{remark}{remark}

\usetikzlibrary{cd,bbox,babel}

\usepackage{amsmath,amssymb,amsfonts,amscd}
2
  • 2
    Use the tikz-cd package. Read its manual. The image can be seen as a 2x4 matrix, with items 2-1, 2-2 nd 2-3 being empty. tikz-cd has easy support for making both the \phi` arrow and the hook arrow. I'm not going to give you the solution as this site is not a please do this for me service and the way the question is at the moment, it falls into this category.
    – daleif
    Commented Jun 24 at 7:59
  • 2
    What's the reason for loading amscd?
    – egreg
    Commented Jun 24 at 9:09

1 Answer 1

2

Here's the CD:

\documentclass[11pt,english]{smfart}
\usepackage{tikz-cd}
\begin{document}
\[
\begin{tikzcd}
O\ar[r]&A\ar[r]&B\ar[r]\ar[dr, "\phi", swap ]&C\ar[d, hook']\\
&&&P
\end{tikzcd}
\]
\end{document}

enter image description here

Off-topic: you should simplify your preamble loading only the necessary packages. For example, \usepackage{tikz-cd} is the same as

\usepackage{tikz}
\usetikzlibrary{cd}

you should use only one of the two alternatives.

You must log in to answer this question.

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