I have defined the following command:
\pgfkeys{tikz/protein/.style={fill=#1,shape=rectangle,rounded corners}}
\newcommand{\protein}[2]{
\protect\tikz \protect\node [protein=#1] {\small{#2}};}
It works fine, the only problem I have is that when I embed it in normal text, it appears slightly raised, messing up the line spacing. Is there any way to fix that, so that the embedded tikz is vertically centered on the line?
