In a beamer presentation (no setspace, no enumitem) I want to use an itemize environment inside the column of a tabular. I want the first \item to be displayed on the same baseline, as the first lines of the other columns. As described here, \itemize starts on a new line, so the correct way of achieving this is a verical shift of -\baselineskip. However, this doesn't work, if the baselinestretch is modified, e.g. by \linespread{1.15}:
\documentclass{beamer}
\usepackage{tikz}
\linespread{1.15}
\newcommand{\tikzmark}[2]{
\tikz[baseline=(#1.base), remember picture]{
\node(#1)[inner sep=0pt]{#2};
}
}
\begin{document}
\begin{frame}[t]{Title}
\begin{tabular}[t]{p{0.1\linewidth}p{0.8\linewidth}}
\tikzmark{left}{left text b} & \vspace*{-1\baselineskip}
\begin{itemize}
\item \tikzmark{right}{b number 1} \\ (with possibly two lines)
\item number 2
\end{itemize}
\end{tabular}
\tikz[overlay, remember picture]{
\draw[red, line width=0.05pt](left.south west)--(right.south east|-left.south west);
\draw[blue](right.south east)--(right.south east|-left.south east);
}
\end{frame}
\end{document}

\setstretch{1.15}behaves like a\linespread{1.15}placed in the preamble, no matter where it is placed. But would the usage of\linespreadinside the document not be the better solution? In this case I don't have to recalculate the distance if I change the\linespread.. – Ktree Dec 21 '15 at 07:36\linespread{1.15}is "better" than using the machinery of thesetspacepackage -- depends importantly on what else may be in your document. As I said, I think it's prudent not to manipulate some of TeX's low-level macros directly. – Mico Dec 21 '15 at 08:51