Graphics, Figures & TablesPictures and text horizontal aligned

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
Duckman
Posts: 10
Joined: Tue Jan 03, 2012 4:09 pm

Pictures and text horizontal aligned

Post by Duckman »

I have chemical equation built up with (3D) pictures of the molecules and some numbers to make the equation right. The first picture has more hight then the rest. I like every thing alinged horizontal in the centre. Text parts and pictures.

Code: Select all

\begin{figure}[h]
	\fontsize{20}{24}\selectfont 
		\includegraphics[width=4cm]{Image/1024px-Sodium-borohydride}
		+ 2
		\includegraphics[width=1.7cm]{Image/1280px-H2O_Polarization}
		\ce{->}
		\includegraphics[width=2.5cm]{Image/Sodium_metaborate_structure}
		+ 4
		\includegraphics[width=0.8cm]{Image/covalent_bond_hydrogen_3}
	\normalsize
	\label{figure:borohydride}
\end{figure}

Recommended reading 2024:

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

NEW: TikZ book now 40% off at Amazon.com for a short time.

Post Reply