I'd like to align a Tikz Picture in line with the surrounding Text. Here is a MWE Example:
\documentclass[a4paper,10pt]{article}
\usepackage{tikz}
\usetikzlibrary{arrows,chains,matrix,positioning,scopes}
\makeatletter
\tikzset{joinlabel/.code=\tikzset{after node path={%
\ifx\tikzchainprevious\pgfutil@empty\else(\tikzchainprevious)%
edge[every join]#1(\tikzchaincurrent)\fi}}}
\makeatother
\tikzset{>=stealth',every on chain/.append style={join},
every join/.style={->}}
\begin{document}
Text, more text
\begin{tikzpicture}[start chain] {
\node[on chain] {$0$};
\node[on chain] {$A$} ;
\node[on chain, joinlabel={node[above] {$\scriptstyle\varphi$}}] {$B$};
\node[on chain, joinlabel={node[above] {$\scriptstyle\psi$}}] {$C$};
\node[on chain] {$0$}; }
\end{tikzpicture}
text and more text go here...
\end{document}
Here's the Output:

To make things more explicit: I am looking for a solution that does not change the code much but however lets me make align the TikZ picture in line with the surrounding Tikz.
Code taken from: This code is taken from here -- Stephan Kottwitz's TeXamples.
(I have some very bad work-arounds that I got to know when I posted it on chat. I may compile them and write them up as a CW answer.)


text \begin{tikzcd}[baseline=-0.85ex] 0 \arrow{r}{} & A \arrow{r}{\varphi} & B \arrow{r}{\psi} & C \arrow{r}{} & 0 \end{tikzcd} textcompiles well! But, this changes the code drastically. (Credit: Gonzalo Medina in Chat) – kan Aug 05 '12 at 13:15(0), and then for thetikzpictureoptions, add abaseline=(0.base). But do you really need tikz for this when you could just do:\def\To{\mathop{\;\hbox to2.5em{\rightarrowfill}\;}\limits} Text, more text $0\To A \To^\varphi B \To^\psi C \To 0$ text and more text go here\dots \bye– morbusg Aug 05 '12 at 13:27\dots \byemeant for? They fail to compile. But, yeah, thanks for that suggestion. – kan Aug 05 '12 at 13:50