I want to put a text inside a TikZ matrix, but it always begins from the bottom !. So, my qusetion is how I can force it to begin from the top?
My MWE:
\documentclass{article}
\usepackage[svgnames]{xcolor}
\usepackage{tikz}
\usetikzlibrary{
arrows, chains, matrix,
positioning,
shadows,
shapes, shapes.callouts,graphs, calc,
shapes.geometric,
shapes.misc,
intersections,
matrix, % to draw a table
fit
}
%\newcommand{\vlab}[2]{%
% \tikz[baseline,inner sep=0] \node[anchor=base] (#1){#2};
% }
\begin{document}
\begin{tikzpicture}[every node/.style={anchor=base,text depth=.5ex},baseline]
\matrix %[draw=red]
{
\node[text height=2ex,fill=Orange!30,text width=6cm] {Local case}; & \node[text height=2ex,fill=Green!30,text width=7cm]{Global case}; \\
\node[text height=6cm,fill=Yellow!30,align=left,text width=6cm] (noda) {
\begin{itemize}
\item We have \[\left[\bar \theta\right]=\left[\bar\partial (h^{-1}\partial h)\right]=c_1(\mathcal L)\,
=\left[K\right]\] \\
\item Since $h=\exp(\mathcal K)$ we have:
\[
\theta = \exp(-\mathcal K)\partial (\exp(\mathcal K))= \tikz[baseline,inner sep=0]
\node[anchor=base](Kpot){$\partial\mathcal K$};
\tikz[baseline,inner sep=0] \node[below= of Kpot](Kpot2){\scriptsize So a K\"ahler transf. corresponds to a gauge
transformation };
\tikz[overlay]\draw[->,red] (Kpot) to (Kpot2);
\]
\end{itemize}
};
& \node[fill=Cyan!30,text height=6cm,,text width=7cm] {
\begin{itemize}
\item $\mathcal L$ is a flat bundle i.e $h=cst$\\
\item Since $\theta \sim \partial h$, we can choose a vanishing connection:
\[
\theta=\bar \theta=0
\]
\end{itemize}
};\\
%\node[fill=Purple] {a}; & \node[fill=LightBlue] {X}; & \node[fill=Aquamarine] {g}; \\
};
\end{tikzpicture}



drewfrom the code since it cannot be placed there or you just forgot it ? – Mohamed Vall Feb 06 '16 at 19:32nodeKpot ($\partial\mathcal K$) to the node Kpot2 (So a K"ahler transf. corresponds to a gauge transformation ) – Mohamed Vall Feb 06 '16 at 19:51\newcount\pdftexversion \pdftexversion140 \def\pgfsysdriver{pgfsys-dvipdfm.def}before\usepackage{tikz}and it works fine. I found this from here . this is weird since you did not use thetikzlibrarytikzmark!!. – Mohamed Vall Feb 07 '16 at 20:25