baposter icon indicating copy to clipboard operation
baposter copied to clipboard

problem using baposter + tikzpicture generated from matlab2tikz

Open GoogleCodeExporter opened this issue 10 years ago • 1 comments

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 avatar Dec 15 '15 10:12 GoogleCodeExporter

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

GoogleCodeExporter avatar Dec 15 '15 10:12 GoogleCodeExporter