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'm trying to run through a trail but can't seem to get it to work. Code goes as follows.

\documentclass[11pt]{article}

 \usepackage{tikz}

 %optional libraries
 \usetikzlibrary{decorations,arrows,automata,positioning}
 \usetikzlibrary{mindmap}
 \usetikzlibrary{calc}
 \usetikzlibrary{folding}
 \usepackage[grapics,tightpage,active]{preview}
 \setlength{\PreviewBorder}{2pt}
 \PreviewEnvironment{tikzpicture}

 \begin{document}
 \begin{tikzpicture}

 \begin{tikzpicture}[transform shape]
\tikzfoldingdodecahedron
[folding line length=10mm,
face 1 = {\node {1};},
face 2 = {\node {2};},  
face 3 = {\node {3};},
face 4 = {\node {4};},
face 5 = {\node {5};},
face 6 = {\node {6};},
face 7 = {\node {7};},
face 8 = {\node {8};},
face 9 = {\node {9};},
face 10 = {\node {10};},
face 11 = {\node {11};},
face 12 = {\node {12};},

    \end{tikzpicture}
    \newpage    
    \end{document}
share|improve this question

closed as too localized by Werner, Speravir, Torbjørn T., percusse, Andrew Swann Apr 25 '13 at 17:37

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer 1

up vote 6 down vote accepted

Problems:

  • Twice \begin{tikzpicture}
  • \tikzfoldingdodecahedron:
    • options not closed: ]
    • not ended with ;

Code

\documentclass[11pt]{article}

\usepackage{tikz}

%optional libraries
\usetikzlibrary{decorations,arrows,automata,positioning}
\usetikzlibrary{mindmap}
\usetikzlibrary{calc}
\usetikzlibrary{folding}
\usepackage[grapics,tightpage,active]{preview}
\setlength{\PreviewBorder}{2pt}
\PreviewEnvironment{tikzpicture}
\begin{document}
\begin{tikzpicture}[transform shape]
\tikzfoldingdodecahedron
[folding line length=10mm,
face 1 = {\node {1};},
face 2 = {\node {2};},  
face 3 = {\node {3};},
face 4 = {\node {4};},
face 5 = {\node {5};},
face 6 = {\node {6};},
face 7 = {\node {7};},
face 8 = {\node {8};},
face 9 = {\node {9};},
face 10 = {\node {10};},
face 11 = {\node {11};},
face 12 = {\node {12};}
];
\end{tikzpicture}
\end{document}
share|improve this answer
    
Thanks for the help. –  user28552 Apr 22 '13 at 22:36

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