# How to cross off the structure with an anchor in chemfig

I am trying to cross of the structure after the arrow (with an anchor) but I get a mess. I've been told how to do that without the anchor. I was trying to move a "cross off" command to different places but with no luck. Here is my sample:

\documentclass[12pt,doublespacing,letterpaper]{report}

\usepackage{chemfig}

\setatomsep{2em}
\setbondoffset{1pt}
\setdoublesep{3pt}
\setbondstyle{line width=1pt}

\renewcommand\printatom[1]{%
\fontsize{11pt}{11pt}\selectfont
\ensuremath{\mathrm{#1}}%
}

\begin{document}

\schemestart[0,1.2,thick]
\chemfig{CH_2=CH-C(=[:90]O)-COH}
\arrow(.mid east--.mid west){%
->[\footnotesize 1. NaH][2. \textbf{1}]%
}[,2,thick]
\chemfig{Ph-CH_2-CH-C(=[:90]O)-COH}
\schemestop

\end{document}


-
I guess you're refering to tex.stackexchange.com/q/121084/5049? Besides that I have no idea what you're tried or what you're trying to do... – clemens Jul 9 '13 at 13:18
@cgnieder Yes, you are right, I am referring to tex.stackexchange.com/q/121084/5049, but in this case \arrow(--[cross out,draw=red])(.mid east--.mid west) doesn't work and \arrow(.mid east--.mid west)(--[cross out,draw=red]) doesn't work either. – chemist Jul 9 '13 at 13:30
Out of curiosity: the \textbf{1} looks like a number referring to a compound. You're not actually using \textbf{1} but a package like chemnum or chemcompounds, right? – clemens Jul 9 '13 at 16:08
@cgnieder As you noticed, I am a newbie in Latex and I used \textbf{1} to label my compound because it was the fastest way I could get this done using chemfig manual. Fortunately, I needed only one compound to be labeled in my thesis. I've never heard about chemnum or chemcompounds packages and I should dedicate more time to learn Latex. – chemist Jul 9 '13 at 20:38
Well, for a single label you of course don't need those packages :) – clemens Jul 11 '13 at 9:12

\documentclass[12pt,doublespacing,letterpaper]{report}

\usepackage{chemfig}
\usetikzlibrary{shapes.misc}
\setatomsep{2em}
\setbondoffset{1pt}
\setdoublesep{3pt}
\setbondstyle{line width=1pt}

\renewcommand\printatom[1]{%
\fontsize{11pt}{11pt}\selectfont
\ensuremath{\mathrm{#1}}%
}

\begin{document}

\schemestart[0,1.2,thick]
\chemfig{CH_2=CH-C(=[:90]O)-COH}
\arrow(.mid east--.mid west[cross out,draw=red]){%
->[\footnotesize 1. NaH][2. \textbf{1}]%
}[,2,thick]
\chemfig{Ph-CH_2-CH-C(=[:90]O)-COH}
\schemestop

\end{document}


-