2

I'm doing a beamer, and now I encounter a problem. I want to draw a map in my beamer like this enter image description here

Who can help me?

I'm now still not very familiar with these things. Also I want to learn some basic skills to draw with LaTeX. Could any one give me some materials or advice to learn?

Ludovic C.
  • 8,888
Nax
  • 1,411
  • 5
  • 16
  • 19

1 Answers1

3

If your block diagrams are relatively simple, images can be created with a few simple (non-graphical) tools:

\documentclass{article}
\usepackage{stackengine}
\usepackage{amsmath}
\def\stacktype{L}
\setstackgap{L}{1.2\baselineskip}
\fboxsep=5pt
\begin{document}
\stackanchor{$\xrightarrow{U~}$}{$\xrightarrow{V~}$}
\stackunder{\fbox{\fboxsep=1pt\fbox{M}}}{sim}
$\xrightarrow{\textrm{GDH}(U,V)}$
\end{document}

enter image description here

  • i compile your code on my computer it says "File `stackengine.sty' not found. \usepackage" – Nax Oct 09 '13 at 13:17
  • @Alex, Package is at http://ctan.org/pkg/stackengine. You can get the .sty file and put it in your current directory, if you don't know how to install it on your system. – Steven B. Segletes Oct 09 '13 at 13:35