[OS X TeX] Figures & Tables - Miscellaneous Issues

Sime Ungar ungar at math.hr
Fri Jan 28 01:27:25 EST 2011


> 
> I'm having a few issues with the figure and table contained in the minimum working example below.  Three questions:
> 
> 1. How do I reduce the vertical distance between the figure and its caption? 
> 

Insert the following line just after \begin{tikzpicture}[...]

\clip (-.4,-.4) rectangle (4.1,2.1);


> 2. Is there a way to have the label wording stacked, one word over the other (e.g., "Independent" centered directly over "Variable")?
> 

Use \shortstack with or without options 

\draw[axis] (0,0)  -- (3.2,0) node(xline)[below right]   
    {\emph{\shortstack{Independent\\ Variable}}};
\draw[axis] (0,0) -- (0,1.7) node(yline)[above] 
    {\emph{\shortstack{Dependent\\ Variable}}};

or

\draw[axis] (0,0)  -- (3.2,0) node(xline)[below right]   
    {\emph{\shortstack[l]{Independent\\ Variable}}};
\draw[axis] (0,0) -- (0,1.7) node(yline)[above] 
    {\emph{\shortstack[l]{Dependent\\ Variable}}};

which I prefere.

Best,
  Sime




More information about the MacOSX-TeX mailing list