..png)
제목이 있는 비머 슬라이드가 있습니다. 그 위에는 chemfig로 그린 분자가 포함된 tikz그림이 있습니다. 분자가 없으면 그림은 괜찮습니다.
그러나 분자를 넣자마자 이런 일이 발생합니다.
암호:
\documentclass[presentation,utf8,t]{beamer}
\usepackage{tikz}
\usepackage{chemfig}
\usetikzlibrary{positioning}
\begin{document}
\begin{frame}
\frametitle{A tikzpicture with some molecules}
\begin{tikzpicture}[scale=0.75]
\draw[gray] (0,0) grid (15,10);
\setcrambond{2pt};
\node[anchor=west] at (4,6) {%
\chemfig[][scale=0.5]{%
(?-[:130]O-[:190](-[:130,0.7]-[:50]OH)-[:-190](-[:190]O-[:-190,,,,dash pattern=on 2pt off 2pt])<[:-50](-[:-190]HO)-[:10,,,,line width=2pt]
?[,{<}](-[:-50,.7]NH-[:-130](=[:180,0.7]O)-[:-50]CH_3))
-[:10]O-[:-10]
?[b]-[:50](-[:190]HO)-[:-10](-[:50,.7]NH-[:130](=[:180,0.7]O)-[:50]CH_3)-[:10](-[:-10,,,,dash pattern=on 2pt off 2pt])<[:-130]O-[:-190,,,,line width=2pt]
?[b,{<}](-[:-130,.7]-[:-50]OH)
}
};
\end{tikzpicture}
\end{frame}
\end{document}
어떤 아이디어?
Windows 7에서 texworks를 통해 Texlive 사용
답변1
과연 범인은 이었습니다 \setcrambond
.
비어 있더라도 다른 두 가지 옵션이 필요합니다.
\setcrambond{2pt}{}{}
올바른 형식입니다(추가 여부 ;
는 중요하지 않음).