\documentclass[margin={2mm 2mm}]{standalone}
\usepackage{chemfig}
\usepackage{amsmath}
\newenvironment{aasa}{$\displaystyle\aligned}{\endaligned$}
\begin{document}
\begin{figure}[h]
\centering
\scalebox{.7}{
\begin{aasa}
\setchemfig{scheme debug=false}
\textbf{Step 1} \\
&\schemestart
%%%%%%%%%%%% STEP 1%%%%%%%%%%%%%%%%%%%%%%
\chemfig{
-[:30]
-[:-30]OH
}
\arrow{->}
\chemfig{
-[:30]
=[:-30]O
} +
\chemfig{
H_{2}
}
\schemestop
\\
\textbf{Step 2a} \\
&\schemestart
%%%%%%%%%%%% STEP 2a%%%%%%%%%%%%%%%%%%%%%%
\chemfig{
-[:30]
-[:-30]OH
}
+
\chemfig{
-[:30]
=[:-30]O
}
\arrow{->}
\chemfig{
-[:30]
=[:-30]
-[:30]
-[:-30]OH
} +
\chemfig{
H$_{2}$O
}
\schemestop
\\
\textbf{Step 2b$_{1}$} \\
&\schemestart
%%%%%%%%%%%% STEP 2b1%%%%%%%%%%%%%%%%%%%%%%
\chemfig{
-[:30]
-[:-30]OH
}
+
\chemfig{
-[:30]
=[:-30]O
}
\arrow{->}
\chemfig{
HO-[:30]
-[:-30]
-[:30]
-[:-30]
-[:30]OH
}
\schemestop
\\
\textbf{Step 2b$_{2}$} \\
&\schemestart
%%%%%%%%%%%% STEP 2b2%%%%%%%%%%%%%%%%%%%%%%
\chemfig{
HO-[:30]
-[:-30]
-[:30]
-[:-30]
-[:30]OH
}
\arrow{->}
\chemfig{
-[:30]
=[:-30]
-[:30]
-[:-30]OH
} +
\chemfig{
H$_{2}$O
}
\schemestop
\\
\textbf{Step 3} \\
&\schemestart
%%%%%%%%%%%% STEP 3%%%%%%%%%%%%%%%%%%%%%%
\chemfig{
-[:30]
=[:-30]
-[:30]
-[:-30]OH
} +
\chemfig{
-[:30]
-[:-30]OH
}
\arrow{->}
\chemfig{
-[:30]
-[:-30]
-[:30]
-[:-30]OH
} +
\chemfig{
-[:30]
=[:-30]O
} +
\chemfig{
H$_{2}$O
} +
\chemfig{
H$_{2}$
}
\schemestop
\\
\end{aasa}
}
\caption{}
\label{}
\end{figure}
\end{document}
答案1
用于进行对齐的命令在“\schestart \schemestop”环境中不起作用。必须关闭此环境才能进行“&”对齐
你不需要在 \chemfig 里面加入 $ ...$ 来制作 \chemfig{H_2O}
\documentclass[border=2mm]{standalone}
%\documentclass{article}
\usepackage{chemfig}
\usepackage{amsmath}
\newenvironment{aasa}{$\displaystyle\aligned}{\endaligned$}
\begin{document}
\begin{aasa}
\textbf{Step 1} & & \\
% %
& \schemestart \chemfig{-[:30]-[:-30]OH} \schemestop & &\schemestart \arrow{->} \chemfig{-[:30]=[:-30]O} \+ \chemfig{H_{2}} \schemestop \\
%
\textbf{Step 2a} & &\\
%
& \schemestart \chemfig{-[:30]-[:-30]OH} \+ \chemfig{-[:30]=[:-30]O} \schemestop & & \schemestart
\arrow{->} \chemfig{-[:30]=[:-30]-[:30]-[:-30]OH} \+ \chemfig{H_{2}O} \schemestop \\
%
\textbf{Step 2b$_{1}$} & &\\
% %
& \schemestart \chemfig{-[:30]-[:-30]OH} \+ \chemfig{-[:30]=[:-30]O} \schemestop & & \schemestart \arrow{->} \chemfig{HO-[:30]-[:-30]-[:30]-[:-30]-[:30]OH} \schemestop \\
%
\textbf{Step 2b$_{2}$} & &\\
%
& \schemestart \chemfig{HO-[:30]-[:-30]-[:30]-[:-30]-[:30]OH} \schemestop & & \schemestart \arrow{->} \chemfig{-[:30]=[:-30]-[:30]-[:-30]OH} \+ \chemfig{H_{2}O} \schemestop \\
%
\textbf{Step 3} & & \\
%
& \schemestart \chemfig{-[:30]=[:-30]-[:30]-[:-30]OH} \+ \chemfig{-[:30]-[:-30]OH} \schemestop & &\schemestart\arrow{->} \chemfig{-[:30]-[:-30]-[:30]-[:-30]OH} \+ \chemfig{-[:30]=[:-30]O} \+ \chemfig{H_{2}O} \+ \chemfig{H_{2}} \schemestop
\end{aasa}
\end{document}