How to get right margin in parboxed header? Top, bottom and left margin are ok, but there is no margin at the right (top) side of 'Parameter' header.
\begin{table}[ht]\footnotesize
\centering
\begin{tabular}{|c|}
\hline
\begin{sideways}\parbox{2cm}{Parameter etc etc ....}\end{sideways}
\end{tabular}
\caption{Summary}
\label{tab:summary}
\end{table}
There are top,bottom and left margin, but there is no margin at right side of the header, as you can see at attached image.
Best Answer
\parbox
supports optional arguments for specifying height and alignment. In your case, within a sideways environment, you could adjust the height of the parbox to get a wider header and thus a wider margin.Further, if you wish to get space below or above the turned parbox, you could use
\hspace*
to insert some space within the sideways environment.For example, within your code, write
to get (with an additional
\hline
):The syntax of
\parbox
iswhere
pos
means one of the usual alignment options t, b or c.