I want every tikzpicture to be centered in my document but want to be able to deactivate this feature locally. For example:
%Pseudocode...
\documentclass{article}
\begin{document}
\usepackage{tikz}
\tikzset{
thalign=center
}
\begin{document}
\begin{tikzpicture}
%%Centered - should be equivalent to a normal tikzpicture enclosed in a center environment
\draw (0,0) circle (1cm);
\end{tikzpicture}
\begin{tikzpicture}[thalign=left]
%%Not centered
\draw (0,0) circle (1cm);
\end{tikzpicture}
\end{document}
How can I to this?
In particular I am interested of how to do it with keys as in my pseudocode above.
