I'm using the classic thesis style by André Miede. As I have to import a lot of Matlab plots, I'm using matlab2tikz.
In the LaTeX document, I want the TikZ object to act like a normal jpg/png included by \includegraphicx.
When I include the TikZ object with
\begin{figure}
\input{thetikzfile.tex} % <thetikzfile> contains \begin{tikz} etc.
\end{figure}
it is not properly aligned to the text, which would be the case if I had inserted a jpg with the command \includegraphicx

I tried to align the TikZ object using \centering; however, I still get the same result.
tikzpictureenvironment,\includeis not the appropriate command to use here; try\inputinstead. See this. – jub0bs Apr 09 '13 at 11:03inputinstead ofinclude? I use the former all the time and it works perfectly. – Anke Apr 09 '13 at 11:04\input. – Matthaeus Apr 09 '13 at 15:02I haven't modified the tikzpicture, which I got from the matlab2tikz function, at all. I'll have a try when I'm back at home.
– Matthaeus Apr 09 '13 at 15:25classicthesis. I have no problem getting the correct alignment if theclassicthesispackage is not used. This post might be relevant Figures and margins in classicthesis. Some preliminary trial on my part has not been successful, however. – Herr K. Apr 09 '13 at 22:15\textwidth, whereas I should have scaled the tikzpicture to\textwidth– Matthaeus Apr 11 '13 at 11:30