[Tex/LaTex] Tikz picture, align left in column using beamer

beamerhorizontal alignmenttikz-pgf

I'm currently struggling with aligning a tikzpicture, within a figure environment, at the left of a column. It seems like the figure is always align centre, or right

Using beamer, for a presentation.

    \begin{column}{0.5\textwidth}
        \begin{figure}
            \input{pics/tikzpicture.tex}
        \end{figure}
    \end{column}

Best Answer

The figure environment appears to be serving no purpose in your example, so you could simply delete it, however you can use \flushleft to override the default centering in figure if you need to.

enter image description here

\documentclass{beamer}
\begin{document}


\begin{frame}
\begin{columns}[t]
\begin{column}{.5\textwidth}
XXX

\begin{figure}
YYY
\end{figure}
\begin{figure}\flushleft
ZZZ
\end{figure}
\end{column}
\begin{column}{.5\textwidth}
XXX
\end{column}
\end{columns}
\end{frame}
\end{document}