Quantcast
Viewing all articles
Browse latest Browse all 4

Answer by MS-SPO for Please help to modify the \draw[ ->] in tikzpicture to have the overset effect \overset{..}{\to}?

With some variations, to better see the effects.

Image may be NSFW.
Clik here to view.
result

\documentclass[10pt,border=3mm,tikz]{standalone}\usetikzlibrary{matrix}\begin{document} \begin{tikzpicture}[    demo/.style={above,pos=.2,font={\tiny},red}, ]    \matrix[        matrix of math nodes,        inner sep=1pt,        row sep=1em,        column sep=2cm,    ] (M)    {        ?  & A &  B & C \\        ?  & E &  F & G \\    }    ;    \draw[ ->] (M-1-2.east) -- node[above] {$ab$} (M-1-3.west);    \draw[ ->] (M-1-3.east) -- node[demo] {$bc$}(M-1-4.west);     \end{tikzpicture}\end{document}

Kindly follow this checklist, before posting code snippets, to minimize our guessworking and reworking. Thank you.


Viewing all articles
Browse latest Browse all 4

Trending Articles