figure-different-alignment-comparison.tex 2.25 KB
Newer Older
曹润柘 committed
1 2 3 4 5 6 7 8


%%% outline
%-------------------------------------------------------------------------
    \begin{tikzpicture}
    \begin{scope}
    {\small
    \node [anchor=west,inner sep=2pt] (s1) at (0,0) {谢谢};
9
    \node [anchor=west,inner sep=2pt] (s2) at ([xshift=2em]s1.east) {};
曹润柘 committed
10
    \node [anchor=north,inner sep=2pt] (t1) at ([yshift=-2.2em]s1.center) {thanks};
11
    \node [anchor=north,inner sep=2pt] (t2) at ([yshift=-2.45em]s2.center) {you};
曹润柘 committed
12 13
    \draw [-] (s1.south) -- ([yshift=-0.2em]t1.north);
    \draw [-] (s2.south) -- (t2.north);
14
    \node [anchor=center,draw=ublue,circle,thick,fill=white,inner sep=1pt,circular drop shadow={shadow xshift=0.1em,shadow yshift=-0.1em}] (mark) at ([xshift=0.8em,yshift=-0.7em]s2.south east) {{\color{ugreen} \tiny{\textbf{Yes}}}};
曹润柘 committed
15 16
    }
    \end{scope}
17
    \begin{scope}[xshift=1.8in]
曹润柘 committed
18 19
    {\small
    \node [anchor=west,inner sep=2pt] (s1) at (0,0) {谢谢};
20
    \node [anchor=west,inner sep=2pt] (s2) at ([xshift=2em]s1.east) {};
曹润柘 committed
21
    \node [anchor=north,inner sep=2pt] (t1) at ([yshift=-2.2em]s1.center) {thanks};
22
    \node [anchor=north,inner sep=2pt] (t2) at ([yshift=-2.45em]s2.center) {you};
曹润柘 committed
23 24
    \draw [-] (s1.south) -- ([yshift=-0.2em]t1.north);
    \draw [-] (s1.south) -- (t2.north);
25
    \node [anchor=center,draw=ublue,circle,thick,fill=white,inner sep=1.5pt,circular drop shadow={shadow xshift=0.1em,shadow yshift=-0.1em}] (mark) at ([xshift=0.8em,yshift=-0.7em]s2.south east) {{\color{red} \tiny{\textbf{No}}}};
曹润柘 committed
26 27
    }
    \end{scope}
28
    \begin{scope}[xshift=3.6in]
曹润柘 committed
29 30
    {\small
    \node [anchor=west,inner sep=2pt] (s1) at (0,0) {谢谢};
31
    \node [anchor=west,inner sep=2pt] (s2) at ([xshift=2em]s1.east) {};
曹润柘 committed
32
    \node [anchor=north,inner sep=2pt] (t1) at ([yshift=-2.2em]s1.center) {thanks};
33
    \node [anchor=north,inner sep=2pt] (t2) at ([yshift=-2.45em]s2.center) {you};
曹润柘 committed
34 35
    \draw [-] (s1.south) -- ([yshift=-0.2em]t1.north);
    \draw [-] (s2.south) -- ([yshift=-0.2em]t1.north);
36
    \node [anchor=center,draw=ublue,circle,thick,fill=white,inner sep=1pt,circular drop shadow={shadow xshift=0.1em,shadow yshift=-0.1em}] (mark) at ([xshift=0.8em,yshift=-0.7em]s2.south east) {{\color{ugreen} \tiny{\textbf{Yes}}}};
曹润柘 committed
37 38 39 40 41 42 43 44
    }
    \end{scope}
    \end{tikzpicture}
   
%---------------------------------------------------------------------