diff options
Diffstat (limited to 'Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tikz-shapes.tex')
-rw-r--r-- | Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tikz-shapes.tex | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tikz-shapes.tex b/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tikz-shapes.tex index e118bf98449..4655e63c9a9 100644 --- a/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tikz-shapes.tex +++ b/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tikz-shapes.tex @@ -235,6 +235,23 @@ set the color used for text using the following option: \end{codeexample} \end{itemize} +Just like the color itself, you may also wish to set the opacity of +the text only. For this, use the following option: +\begin{itemize} + \itemoption{text opacity}|=|\meta{value} + Sets the opacity of text labels. +\begin{codeexample}[] +\begin{tikzpicture} + \draw[line width=2mm,blue!50,cap=round] (0,0) grid (3,2); + \tikzstyle{every node}=[fill,draw] + + \node[opacity=0.5] at (1.5,2) {Upper node}; + \node[draw opacity=0.8,fill opacity=0.2,text opacity=1] + at (1.5,0) {Lower node}; +\end{tikzpicture} +\end{codeexample} +\end{itemize} + Next, you may wish to adjust the font used for the text. Use the following option for this: \begin{itemize} |