\documentclass{standalone}
\usepackage{tikz}
\usetikzlibrary{patterns}
\def\cHeight{0.5}
\def\cWidth{4}
\newcommand{\cigarOne}[2]{
\pgfmathtruncatemacro\result{\cWidth/2}
\filldraw[pattern=north east lines] (#1,#2) rectangle (\result+#1,#2-\cHeight);
\filldraw[pattern=crosshatch dots] (\result+#1,#2) rectangle (#1+\cWidth,#2-\cHeight);
}
\begin{document}
\begin{tikzpicture}
\cigarOne{2}{5};
\end{tikzpicture}
\end{document}
The command cigarOne defines two filled rectangles, and I want one of them (the left one) to be "pale", kind of hardly visible rectangle.


semitransparentoropacity=<0..1>on the `\filldraw? This makes it paler IMHO (but of course also partially transparent). – Martin Scharrer♦ Mar 28 '12 at 8:44tikzis enough, it already loadspgfso you don't have to do that explicitly. Second, why are you loading so many libraries? You only needpatternsfor this example. Finally, does addingopacity=0.1to the options of the\filldrawyou want to affect give the desired result? You can of course play with the value to get different opacity. – Roelof Spijker Mar 28 '12 at 8:47