color shading: bug or feature

View: New views
3 Messages — Rating Filter:   Alert me  

color shading: bug or feature

by Goebel, Juergen, OPES27 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

color shading: bug or feature

Hi,

pdfLaTeXing the following example I get a very thin line around the
filled area. Unfortunately this is not only to be seen while enlarging
the picture, but also when showing a presentation. Is it possible to
suppress this behavior?

\documentclass{article}
\usepackage{tikz}
\begin{document}
 \begin{tikzpicture}
  \fill[left color=white,right color=black] (0,0) rectangle (10,0.1);
 \end{tikzpicture}
\end{document}


Best regards,

Juergen


------------------------------------------------------------------------------

_______________________________________________
pgf-users mailing list
pgf-users@...
https://lists.sourceforge.net/lists/listinfo/pgf-users

Re: color shading: bug or feature

by Alain Matthes-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Le 1 juil. 09 à 08:18, Goebel, Juergen a écrit :


> pdfLaTeXing the following example I get a very thin line around the
> filled area. Unfortunately this is not only to be seen while enlarging
> the picture, but also when showing a presentation. Is it possible to
> suppress this behavior?
>
> \documentclass{article}
> \usepackage{tikz}
> \begin{document}
>  \begin{tikzpicture}
>   \fill[left color=white,right color=black] (0,0) rectangle (10,0.1);
>  \end{tikzpicture}
> \end{document}
>

hi


\documentclass{article}
\usepackage{tikz}
\begin{document}
  \begin{tikzpicture}
   \path[left color=white,right color=black] (0,0) rectangle (10,0.1);
  \end{tikzpicture}
\end{document}

Best Regards

Alain Matthes
------------------------------------------------------------------------------
_______________________________________________
pgf-users mailing list
pgf-users@...
https://lists.sourceforge.net/lists/listinfo/pgf-users

Re: color shading: bug or feature

by Goebel, Juergen, OPES27 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Alain Matthes [mailto:alain.matthes@...] wrote:

> \documentclass{article}
> \usepackage{tikz}
> \begin{document}
>   \begin{tikzpicture}
>    \path[left color=white,right color=black] (0,0) rectangle (10,0.1);
>   \end{tikzpicture}
> \end{document}

You might say 'RTFM', too. \shade does the trick as well,
so if I would have looked into the manual I could find it.

Thanks for your hint and sorry for my superfluous posting.

Juergen


------------------------------------------------------------------------------
_______________________________________________
pgf-users mailing list
pgf-users@...
https://lists.sourceforge.net/lists/listinfo/pgf-users