6

I am attempting to create a family tree in TikZ, containing an excessive number of nodes. Given the fact that everything should be visible, it is currently 9 layers high and around 70 layers wide.

Increasing the width to 71 layers results in everything being invisible! One can still mark and copy the content, but not see it.

I tried to cover the problem in a minimal example:

\documentclass[border=0pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}

\node[fill=black, minimum height = 30cm, minimum width=10cm] (A) at (0, 0){};

\node[fill=black, minimum height = 30cm, minimum width=10cm] (B) at (490,0){};

\end{tikzpicture}
\end{document}

This example should create a PDF with two black boxes in the left / right side. Increasing the x component of the second box from 490 to 500 results in both boxes being invisible.

I am using TeXnicCenter 2.0 with the LaTeX -> PDF setting and pdfTeX, Version 3.1415926-2.3-1.40.12 (MiKTeX 2.9). The compilation does not print any errors (such as Dimension too large), but the problem is not reproducable on some machines (however, I could reproduce it on three machines with the above configurations). What could cause this problem? Any help would be appreciated!

closed as off-topic by Heiko Oberdiek, Jesse, Guido, Sean Allred, ChrisS May 3 '14 at 4:21

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center." – Heiko Oberdiek, Jesse, Guido, Sean Allred, ChrisS
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    Why are you nesting nodes? – percusse Apr 27 '14 at 12:41
  • Welcome to TeX.SX! In addition to percusse's comment: Why are you nesting tikzpictures? – Paul Gessler Apr 27 '14 at 12:57
  • In order to resize the ? in the boxes, I used the [scale=x] option of TikZ pictures, because the Huge-font was simply not huge enough. I read that's how you achieve that... The procedure is: At a given node, draw a frame with a grey field in it (achieved by the second node) and additionally a large ? (achieved by the third node) with optional text below the gray field (this short example contains none). If there's any better way, I'm open for suggestions! – Brokenmind Apr 27 '14 at 13:13
  • I cannot reproduce your issue; using either 503.5 or 513.5 displays the content in the boxes as expected. – Paul Gessler Apr 27 '14 at 13:48
  • The scale=x option does not scale font sizes. The resizing of the question marks in your example is done by the \resizeboxes, which may as well be in the top-level node; the effect is the same there. – Paul Gessler Apr 27 '14 at 13:53

Browse other questions tagged or ask your own question.