Results 1 to 2 of 2
Like Tree1Thanks
  • 1 Post By emakarov

Math Help - diagram in latex

  1. #1
    Member vernal's Avatar
    Joined
    Dec 2011
    Posts
    75

    diagram in latex

    Hi. please see an image:

    diagram in latex-e.png

    i wrote:

    Code:
    \begin{tikzpicture}[auto,>=stealth']
    \node (N) {$\llap{$e:{}$}N$};
    \node[right=of N] (L) {$L$};
    \node[right=of L] (Q) {$Q$};
    \node[below=of N] (N1) {$\llap{$e_2:{}$}N \oplus N_2$};
    \node[below=of L] (L2) {$(N_2,\varphi _{2}\pi)\oplus L$};
    \node[below=of Q] (Q1) {$Q$};
    \draw[->] (N) -- node[swap] {$i$} (N1);
    \draw[->] (L) -- node[swap] {$\lambda$} (L2);
    \draw[->] (Q) -- node[swap] {$$} (Q1);
    \draw[to reversed->] (N) -- node {$\chi$} (L);
    \draw[->>] (L) -- node {$\pi$} (Q);
    \draw[to reversed->] (N1) -- node {$\chi_2$} (L2);
    \draw[->>] (L2) -- node {$\pi_2$} (Q1);
    \path[use as bounding box] (-1.5,0) rectangle (0,0);
    \end{tikzpicture}
    how can I do for soleving this problem ?please right answer.

    thanks
    Follow Math Help Forum on Facebook and Google+

  2. #2
    MHF Contributor
    Joined
    Oct 2009
    Posts
    5,417
    Thanks
    718

    Re: diagram in latex

    You can give the option "node distance=2.5cm" to the picture environment, after ">=stealth'". Alternatively, you can give the option "right=2cm of N" instead of just "right=of N" to the node L and similarly to Q. The best variant, probably, is to draw the bottom three nodes first since they are longer, and then draw the top three nodes above them.

    Code:
    \begin{tikzpicture}[auto,>=stealth']
    \node (N1) {$\llap{$e_2:{}$}N \oplus N_2$};
    \node[right=of N1] (L2) {$(N_2,\varphi _{2}\pi)\oplus L$};
    \node[right=of L2] (Q1) {$Q$};
    \node[above=of N1] (N) {$\llap{$e:{}$}N$};
    \node[above=of L2] (L) {$L$};
    \node[above=of Q1] (Q) {$Q$};
    \draw[->] (N) -- node[swap] {$i$} (N1);
    \draw[->] (L) -- node[swap] {$\lambda$} (L2);
    \draw[->] (Q) -- node[swap] {$$} (Q1);
    \draw[to reversed->] (N) -- node {$\chi$} (L);
    \draw[->>] (L) -- node {$\pi$} (Q);
    \draw[to reversed->] (N1) -- node {$\chi_2$} (L2);
    \draw[->>] (L2) -- node {$\pi_2$} (Q1);
    \end{tikzpicture}
    Thanks from vernal
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Replies: 1
    Last Post: December 10th 2011, 06:40 PM
  2. LaTex inside of LaTex
    Posted in the LaTeX Help Forum
    Replies: 2
    Last Post: November 12th 2009, 11:07 AM
  3. Diagram
    Posted in the Advanced Algebra Forum
    Replies: 2
    Last Post: September 24th 2009, 02:15 PM
  4. Diagram in LaTeX
    Posted in the LaTeX Help Forum
    Replies: 2
    Last Post: September 22nd 2009, 06:07 AM
  5. Diagram
    Posted in the Geometry Forum
    Replies: 1
    Last Post: May 8th 2007, 01:46 PM

Search Tags


/mathhelpforum @mathhelpforum