Eine Möglichkeit ist \raisebox, zum Beispiel:
Code:
\documentclass{standalone}
\usepackage{tikz}
\begin{document}Cl$_{\textcolor{green}{2}}$\hspace*{0.25cm}
\raisebox{-\dp\strutbox}{%
\begin{tikzpicture}[scale=1.25]
\fill[blue] (0,0) circle (0.25);
\fill[blue] (0.4,0) circle (0.25);
\draw[red, very thick] (0,0.25) arc (90:270:0.25cm);
\draw[red, very thick] (0.4,-0.25) arc (-90:90:0.25cm);
\draw[red, very thick] (0.0,0.25) -- (0.4,0.25);
\draw[red, very thick] (0.0,-0.25) -- (0.4,-0.25);
\end{tikzpicture}%
}
\hspace*{0.25cm} Ein \textcolor{red}{Chlorteilchen} besteht aus \textcolor{green}{zwei} \textcolor{blue}{Chloratomen}.
\end{document}
oder
Code:
\documentclass{standalone}
\usepackage{tikz}
\begin{document}Cl$_{\textcolor{green}{2}}$\hspace*{0.25cm}
\raisebox{\dimexpr.5\ht\strutbox-.5\dp\strutbox-.5\height\relax}{%
\begin{tikzpicture}[scale=1.25]
\fill[blue] (0,0) circle (0.25);
\fill[blue] (0.4,0) circle (0.25);
\draw[red, very thick] (0,0.25) arc (90:270:0.25cm);
\draw[red, very thick] (0.4,-0.25) arc (-90:90:0.25cm);
\draw[red, very thick] (0.0,0.25) -- (0.4,0.25);
\draw[red, very thick] (0.0,-0.25) -- (0.4,-0.25);
\end{tikzpicture}%
}
\hspace*{0.25cm} Ein \textcolor{red}{Chlorteilchen} besteht aus \textcolor{green}{zwei} \textcolor{blue}{Chloratomen}.
\end{document}
Gruß
Elke
Lesezeichen