Asked
Active
Viewed 472 times
3 Answers
4
Such diagrams can be drawn with tikz-cd. This site is full of examples, and the manual is very well written.
\documentclass{article}
\usepackage{tikz-cd}
\usepackage{amsfonts}
\begin{document}
\begin{tikzcd}
& \mathbb{F} \arrow[dl,"\mu"'] \arrow[dr,"\nu"] & \\
\mathbb{P} & & \mathbb{M}\\
\end{tikzcd}
\end{document}
4
For bigger arrows, you can use [line width=1pt] or [thick] right after \begin{tikzpicture}.
\documentclass{article}
\usepackage{tikz}
\usepackage{amsfonts}
\begin{document}
\begin{center}
\begin{tikzpicture}[thick]
\path
(0,0) node (F) {$\mathbb{F}$}
+(-45:1.5) node (M) {$\mathbb{M}$}
+(-135:1.5) node (P) {$\mathbb{P}$};
\draw[->] (F)--(M) node[pos=.3,right]{$\nu$};
\draw[->] (F)--(P) node[pos=.3,left]{$\mu$};
\end{tikzpicture}
\end{center}
\end{document}
Black Mild
- 17,569
-
@marmot nope! my mind is free. My code is elegant, so I make it community wiki – Black Mild Jul 31 '19 at 01:17
-
-
Your solution is original, but a
tikz-cdone is more flexible and simpler. – CarLaTeX Jul 31 '19 at 12:10 -
@CarLaTeX: with (original) plain tikz, I can fine-tune every commuative diagram. I don't know why
tikz-cdis more flexible! I thinktikz-cdis well-fitted for one who are not familiar with tikz. The amount of time for learning new syntax, new commands oftikz-cdis equal the amount of time for learning basic TikZ. – Black Mild Jul 31 '19 at 16:43 -
It's more flexible because you don't have to set the positions explicitly. It's more convenient if you have to add new elements. – CarLaTeX Jul 31 '19 at 17:45
2
Here there is my proposal using the same tips of tikz-cd but with another package called xy. I have added \usepackage[bb = boondox]{mathalfa} to give you the same mathematical double struck capital. With the option @R=.6pc@C=.6pc you can increase or decrease the lenghts of the rows R, or the columns C.
\documentclass[12pt]{standalone}
\usepackage[all,cmtip]{xy}
\usepackage[bb = boondox]{mathalfa}
\begin{document}
\xymatrix@R=.6pc@C=.6pc
{ & \mathbb{F} \ar[dl]_{\scriptscriptstyle\mu} \ar[dr]^{\scriptscriptstyle\nu} & \\
\mathbb{P} & & \mathbb{M}
}
\end{document}
ADDENDUM:
For further information on how put the labels neighbours to the arrows, there is specific my question with an answer in this link: Labels closer to the arrows with xy package
Sebastiano
- 54,118




\documentclass{article} \usepackage{tikz-cd} \usepackage{amsfonts} \begin{document} \begin{tikzcd} & \mathbb{F} \arrow[dl,"\mu"'] \arrow[dr,"\nu"] & \\ \mathbb{P} & & \mathbb{M}\\ \end{tikzcd} \end{document}– Jul 31 '19 at 00:12\documentclass[tikz,border=2mm]{standalone} \usepackage{amsfonts} \begin{document} \begin{tikzpicture} \path (0,0) node (F) {$\mathbb{F}$} +(-45:1.5) node (M) {$\mathbb{M}$} +(-135:1.5) node (P) {$\mathbb{P}$}; \draw[->] (F)--(M) node[pos=.3,right]{$\nu$}; \draw[->] (F)--(P) node[pos=.3,left]{$\mu$}; \end{tikzpicture} \end{document}– Black Mild Jul 31 '19 at 00:23\usetikzlibrary{babel}to the preamble of your document after\usepackage{tikz-cd}. – Jul 31 '19 at 00:32