通过合作在Jupyter Notebook中显示便签本

时间:2019-05-21 12:56:24

标签: latex ipython jupyter google-colaboratory mit-scratch

它尝试在具有协作功能的Juptyer笔记本单元格中显示刮擦块,如本页所显示:https://blog.ouseful.info/2017/12/09/scratch-materials/https://hub.mybinder.org/user/psychemedia-showntell-jczyms9p/notebooks/Scratch_LaTeX.ipynb

我使用了相同的代码,但出现错误:ticket

SyntaxError: invalid syntax

我也尝试过:

%load_ext tikz_magic
%%tikz -p scratch --no-wrap -s 0.5
\begin{scratch}
\blockmove{Movement Block}
\blocklook{Appearance Block}
\blocksound{Sound Block}
\blockpen{Pen Block}
\blockvariable{Variable Block}
\blocklist{List Block}
\blockevent{Event Block}
\blockcontrol{Control Block}
\blocksensing{Sensor Block}
\end{scratch}

但这不起作用。

0 个答案:

没有答案