Underfull \hbox with pgfonlayer (pgf 2.10)
2010-11-02 13:17:43 GMT
Hello,
after installing pgf 2.10, I get a warning using pgfonlayer.
This warning depends on the size of the area to fit.
Below is a simple example.
When I change the value "node distance" to 2cm, the warning disappears.
I didn't have this problem with the previous version of pgf (2.00 ?).
(I have tested my minimal example with this previous version of pgf and it is OK)
Anyway, thanks to the developers for the upgrade!
Thierry
\documentclass[10pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[TS1,T1]{fontenc}
\usepackage{tikz}
\usetikzlibrary{positioning,backgrounds,fit}
\begin{document}
\begin{tikzpicture}[node distance=3cm] %2cm no warning, 3cm warning : Underfull \hbox (badness 2318)
\node (A) {A};
\node (B) [right=of A] {B};
\begin{pgfonlayer}{background}
\node [fill=gray,fit=(A) (B)] {}; % if I put some large text in {} the warning disappears !
\end{pgfonlayer}
\end{tikzpicture}
\end{document}
------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________ pgf-users mailing list pgf-users <at> lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pgf-users
RSS Feed