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 draw specific portions of a Petri Net with TikZ. For parts of the subnet where the structure does not matter to me I'd like to use a cloud node filled with parallel lines (inspired by my mechanics lecture).

How can I achieve this with TikZ? The regular cloud node shape is being displayed as s simple circle in my file. Here is how I declare my cloud node:

\node[draw, cloud, cloud puffs = 10](cloud){};
share|improve this question
add comment

1 Answer

up vote 14 down vote accepted

You need to load the appropriate libraries:

\documentclass{article}

\usepackage{tikz}
\usetikzlibrary{shapes.symbols,patterns}

\begin{document}
\begin{tikzpicture}
\node[
    draw,
    cloud,
    cloud puffs = 10,
    pattern=north east lines,
    minimum width=1cm,
    minimum height=0.75cm
]{};
\end{tikzpicture}
\end{document}
share|improve this answer
    
I must have some conflicting packages as your sample still gives me an ellipse with a nice pattern... –  DodoFXP Feb 18 '12 at 12:36
    
Found the overriding style. It works now. Thanks! –  DodoFXP Feb 18 '12 at 13:06
add comment

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.