When using PsPicture inside a tabular, aligning the picture to the top works fine using \raisebox{} as shown in tabular no. 1. I archieved additional space under the picture using \vspace. (Is there a better way to do it???)
Now, I would like to align a formula inside the left cell at the bottom while a PsPicture is located in the right cell. As shown in tabular no. 2, row no. 1, it works fine. But I intend to add a small space above the PsPicture using \vspace again. Unfortunately, the aligning of the text at the bottom works no more. How can I get the required space above the picture and align the formula to the bottom?

\documentclass[a4paper,DIV=15,oneside,12pt]{scrartcl}
\usepackage[ngerman]{babel}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{ragged2e}
\usepackage{graphicx}
\usepackage{array}
\usepackage{calc}
\usepackage{setspace}
\usepackage{pst-all}
\usepackage{auto-pst-pdf}
\newcolumntype{D}[1]{>{\Centering}p{#1}}
\begin{document}
\onehalfspacing
\begin{tabular}{|p{0.47\textwidth}|D{0.47\textwidth}|}
\hline
Formula &
\raisebox{-\height+0.5\baselineskip}{
\begin{pspicture}
\psframe(0,0,)(6,5)
\end{pspicture}}\vspace{0.1cm}\\\hline
\end{tabular}
\vspace{\baselineskip}
\begin{tabular}{|b{0.47\textwidth}|D{0.47\textwidth}|}
\hline
Formula &
\begin{pspicture}
\psframe(0,0,)(6,5)
\end{pspicture}\\\hline
Formula & \vspace*{0.1cm}
\begin{pspicture}
\psframe(0,0,)(6,5)
\end{pspicture}\\\hline
\end{tabular}
\end{document}


\dimexpr? – Gotti91 Feb 22 '17 at 09:22\numexprand\glueexpr. It should end withrelax(which I didn't have to do because of the]at the end. You may look at this answer on this site for more details. – Bernard Feb 22 '17 at 09:46\dimexprand got the same result ... Just a coincidence? – Gotti91 Feb 22 '17 at 11:10calc, and I prefer to use the etex primitives. Without cal, or \dimexpr, it won't work. B.t.w., I forgot to remove calc loading. – Bernard Feb 22 '17 at 12:58raisebox{0cm}[\height+5pt+3cm]on the right picture shifts both pictures 3cm instead of just the right one ... – Gotti91 Feb 23 '17 at 00:12