I'm trying to make a two-column table environment. The left column is supposed to center the sideways text "Tips" vertically and the right column should be a normal paragraph column. Here's what I have so far:
\documentclass[12pt]{book}
\usepackage{rotating} % for sideways
\usepackage{array} % for the m centering
\newenvironment{tips}
{
\begin{tabular}{m{5mm}|p{0.9\textwidth}}
\begin{sideways} \textbf{Tips} \end{sideways} &
}
{\end{tabular}}
I have tried both m and c, but the left column text is still at the top.
This also gives me the problem that for longer texts in the left column, the vertical space before the table becomes larger. Any help?
Also, a quick second question: Is there a unit which makes the second column "fill out" the remainder of the page horizontally? I'm missing out a couple of millimeters using 0.9*\textwidth.