2016-08-16 98 views

回答

1

您可以使用下面的代碼:

\documentclass{article} 
\usepackage[utf8]{inputenc} 
\usepackage{tikz} 
\usetikzlibrary{shapes.geometric} 

\begin{document} 

\centering 
\begin{tikzpicture} 
    \node (0,0) {$M = \frac{A+B}{C \times D} + F + G$}; 
    \draw[thick, red, ->] (-0.5,0.5) -- (-.35,2); 
    \draw[thick, red, ->] (0,0.5) -- (-.15,2); 
    \draw[thick, ->] (0.7,-0.25) -- (1,-2); 
    \draw[thick, ->] (1.3,-0.25) -- (1.1,-2); 
    \node[draw=red, ellipse] at (-.2,2.5) {method 1}; 
    \node[ellipse,draw] at (1.1,-2.5) {method 2}; 
\end{tikzpicture} 

\end{document} 

這給

enter image description here

希望這有助於!