
私は使いたいスマートダイアグラムしかし、何らかの理由でエラーが発生します:
! Undefined control sequence. \smartdiagram
code #1#2->\StrCut {#1}{:}\diagramtype \option \IfNoValueTF {#... l.6 ...ram]
{Initiation,Planning,Execution,Closure} The control sequence at the end of
the top line of your error message was never \def'ed. If you have misspelled
it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox').
Otherwise just continue, and I'll forget about whatever was undefined.
! Undefined control sequence. \smartdiagram
code ...\StrCut {#1}{:}\diagramtype \option \IfNoValueTF {#1}{... l.6 ...ram]
{Initiation,Planning,Execution,Closure} The control sequence at the end of
the top line of your error message was never \def'ed. If you have misspelled
it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox').
Otherwise just continue, and I'll forget about whatever was undefined.
私が使用するコードは次のとおりです。
\documentclass[12pt]{article}
\usepackage{smartdiagram}
\begin{document}
\begin{center}
\smartdiagram[circular diagram]{Initiation,Planning,Execution,Closure}
\end{center}
\end{document}
答え1
追加のパッケージを指定する必要はありません。Smartdiagram はそれらを自動的に呼び出します。MWE は正しく、コンパイルされます (Kubuntu 12.10 ですが、完全な「バニラ Latex インストール」です)。以前、Texlive2012 PPA で同様の問題が発生しました。したがって、実際に xUbuntu で作業している場合は、完全な「バニラ Latex」を試してください。