Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I am trying to use the smartdiagram package and wanted to replicate an example in the documentation. Here is my MWE:

\documentclass[10pt]{article}
\usepackage{tikz}
\usepackage{smartdiagram}
\begin{document}
\begin{tikzpicture}
\smartdiagram[circular diagram]{Set up,Run,Analyse,Modify~/ Add}
\end{tikzpicture}
\end{document}

When I compile it using pdflatex, I get this error:

! TeX capacity exceeded, sorry [input stack size=5000]. \pgf@selectfontorig ->\pgf@selectfontorig \nullfont l.6 ...r diagram]{Set up,Run,Analyse,Modify~/ Add} ! ==> Fatal error occurred, no output PDF file produced!

The same error crops up when compiling with xelatex and lualatex.

I am using an up to date TeXLive 2013 on an AMD 64 PC running Kubuntu 12.04.

Can someone please tell me what to do to get the example working?

share|improve this question

1 Answer 1

up vote 5 down vote accepted

The \smartdiagram command creates its own tikzpicture environment, so there is no need to add that environment manually. In fact, the manual uses just a center environment, so a working example is

\documentclass[10pt]{article}
\usepackage{tikz}
\usepackage{smartdiagram}
\begin{document}
\begin{center}
\smartdiagram[circular diagram]{Set up,Run,Analyse,Modify~/ Add}
\end{center}
\end{document}
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.