tags:

views:

52

answers:

1

I have:

\subfigure[blah blah blah.]
{
\begin{tikzpicture}[/MyStyle]
    ... some stuff...
\end{tikzpicture} 
}

But "some stuff" is not that wide and the text in the subfigure produces a lot of underfull hboxes. I want to make the subfigure wider. How do I do that?

+1  A: 

You could alter the width of the tikz picture. I don't know if subfigure itself has any width attribute. It normally inherits its size from whatever is inside it, as far as I know

Seamus
How do I alter the width of a tikz picture?
Neil G
(I have been inserting blank nodes, but this is ugly.)
Neil G
You can use something like\useasboundingbox (-1,-1) rectangle (4,4);to grow (or shrink) the space a tikz picture takes. The actual picture is not changed. Of course you can also grow/shrink the picture itself with a \begin{tikzpicture}[scale=1.5]
Ivan Andrus
Can tikz pictures not just take a `width=...` argument?
Seamus
Thanks Seamus and Ivan Andrus!
Neil G