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
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- Stefan Kottwitz
- Site Admin
- Posts: 10335
- 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}$