anriseth / baposter

Automatically exported from code.google.com/p/baposter
GNU General Public License v3.0
14 stars 2 forks source link

problem using baposter + tikzpicture generated from matlab2tikz #29

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

In my case:
1. Use matlab2tikz ( http://www.mathworks.com/matlabcentral/fileexchange/22022 
) to generate a tikz file which contains \begin{tikzpicture} ... 
\end{tikzpicture}
2. use \input{file.tikz} to include the generated file

It should be independent from matlab2tikz and be a problem if one uses the 
tikzpicture environment.

What is the expected output? What do you see instead?

Spaces between axis and labels are too small (no space at all!)

Quick hack:

Instead of 

\begin{tikzpicture} ... \end{tikzpicture}

use

 \begin{tikzpicture}[outer sep=1pt] ... \end{tikzpicture} 

It may arise because of 

begin{tikzpicture}[inner sep=0pt,outer sep=0pt,line width=0.05em]

at line 1033 in baposter.cls.

Original issue reported on code.google.com by Wosrediinanatour on 6 Feb 2012 at 2:02

GoogleCodeExporter commented 8 years ago
Both, inner and outer sep. has to be specified for the own 
tizkpicture-environment:

\begin{tikzpicture}[outer sep=1pt, inner sep=1pt]
...
\end{tikzpicture}

Original comment by Wosrediinanatour on 6 Feb 2012 at 2:17