Using the answers from this sight, I tried to accomplish top-aligned text and image where text would have to start from the left side of the page, and picture would be at the right side. However, using any method of stretching the table to the page width resulted in top alignment not working (tabularx or tabular* equally).
How can I keep the picture right-aligned and text top-aligned with picture at the same time?
\documentclass[border=10pt]{standalone}
\usepackage{pst-barcode}
\usepackage[crop=off]{auto-pst-pdf}
\begin{document}
\begin{tabular*}{\textwidth}{l @{\extracolsep{\fill}} r}
\vspace{0pt}Title Text &
\vspace{0pt}
\begin{pspicture}(0.7in,0.7in)
\psbarcode{http://www.ctan.org}{}{qrcode}
\end{pspicture}
\end{tabular*}
\end{document}
It did top-align text and picture when tabular was defined as follows:
\begin{tabular}{p{0.8\textwidth} p{0.8in}}
\vspace{0pt}Title Text &
\vspace{0pt}
\begin{pspicture}(0.7in,0.7in)
\psbarcode{http://www.ctan.org}{}{qrcode}
\end{pspicture}
\end{tabular}
\vspace
has no effect in a cell in anr
column.