If you want this for an inline formula I suggest using chemformula
which easily allows you to define a new bond type. As explained in the manual this uses TikZ and the nodes (chemformula-bond-start)
and (chemformula-bond-end)
. Here is an example for a possible quadruple bond definition:
\NewChemBond{quadruple}{
\foreach \i in {-.15em,-.05em,.05em,.15em}{
\draw[chembond]
([yshift=\i]chemformula-bond-start) -- ([yshift=\i]chemformula-bond-end) ;
}
}
One can then use \bond{quadruple}
in chemformula
's \ch
for the bond (\ch{Ti\bond{quadruple}Ti}
). For convenience it is also possible to add a replacement symbol for the bond, especially when that bond is going to be used more than once:
\NewChemCompoundProperty{\#}{\bond{quadruple}}
Then this symbol can be used instead (\ch{Ti\#Ti}
) for getting the quadruple bond.
A complete example:
\documentclass{article}
\usepackage{chemformula}
% define the bond:
\NewChemBond{quadruple}{
\foreach \i in {-.15em,-.05em,.05em,.15em}{
\draw[chembond]
([yshift=\i]chemformula-bond-start) -- ([yshift=\i]chemformula-bond-end) ;
}
}
% define the replacement symbol for the new bond:
\NewChemCompoundProperty{\#}{\bond{quadruple}}
\begin{document}
\ch{Ti\bond{quadruple}Ti}
\ch{Ti\#Ti}
\end{document}
