Graphics, Figures & Tablesbeamer | \Longrightarrow between two Graphics

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
Jike
Posts: 4
Joined: Mon Dec 12, 2011 9:34 pm

beamer | \Longrightarrow between two Graphics

Post by Jike »

Dear experts,

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
Last edited by Jike on Thu Dec 22, 2011 11:44 am, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

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

User avatar
Stefan Kottwitz
Site Admin
Posts: 10348
Joined: Mon Mar 10, 2008 9:44 pm

beamer | \Longrightarrow between two Graphics

Post by Stefan Kottwitz »

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.

Code: Select all

\newcommand*{\vcenterimage}[1]{\vcenter{\hbox{\includegraphics{#1}}}}
\newcommand*{\vcenterarrow}{\vcenter{\hbox{$\Longrightarrow$}}}
...
$\vcenterimage{filename}\vcenterarrow\vcenterimage{filename}$
Stefan
LaTeX.org admin
Jike
Posts: 4
Joined: Mon Dec 12, 2011 9:34 pm

beamer | \Longrightarrow between two Graphics

Post by Jike »

Hi Stefan,

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.

Code: Select all

\newcommand*{\vcenterimage}[1]{\vcenter{\hbox{\includegraphics{#1}}}}
\newcommand*{\vcenterarrow}{\vcenter{\hbox{$\Longrightarrow$}}}
...
$\vcenterimage{filename}\vcenterarrow\vcenterimage{filename}$
Stefan
Post Reply