Graphics, Figures & Tables ⇒ beamer | \Longrightarrow between two Graphics
beamer | \Longrightarrow between two Graphics
I am using beamer, I have two equal sized graphics having the same height. I want to insert a Longrightarrow between them and keep the arrow exactly in the central-height position. Thanks any advice .
Cheers,
Jike
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
beamer | \Longrightarrow between two Graphics
welcome to the board!
For vertical centering, you could use `\vcenter` in math mode. For example:
Define macros, so you could make adjustments easily.
Code: Select all
\newcommand*{\vcenterimage}[1]{\vcenter{\hbox{\includegraphics{#1}}}}
\newcommand*{\vcenterarrow}{\vcenter{\hbox{$\Longrightarrow$}}}
...
$\vcenterimage{filename}\vcenterarrow\vcenterimage{filename}$
beamer | \Longrightarrow between two Graphics
It works. Thanks !
Cheers,
Jike
Stefan_K wrote:Hi Jike,
welcome to the board!
For vertical centering, you could use `\vcenter` in math mode. For example:
Define macros, so you could make adjustments easily.
StefanCode: Select all
\newcommand*{\vcenterimage}[1]{\vcenter{\hbox{\includegraphics{#1}}}} \newcommand*{\vcenterarrow}{\vcenter{\hbox{$\Longrightarrow$}}} ... $\vcenterimage{filename}\vcenterarrow\vcenterimage{filename}$