1

I'm using a TextField within a tabular environment:

\documentclass{article}

\usepackage{hyperref}

\begin{document}

\begin{tabular}{p{29em}r}
\TextField[name=W,multiline=true,width=\linewidth,height=3\baselineskip]{} %
 &(2)\\
\end{tabular}

\end{document}

The output looks like this:

bottom aligned text

I would like for the "(2)" to be aligned to the top of the cell, rather than the bottom. How can I achieve this?

1 Answer 1

1

With the help of adjustbox:

enter image description here

\documentclass{article}
\usepackage{adjustbox}
\usepackage{hyperref}

\begin{document}

\begin{tabular}{p{29em}r}
\adjustbox{valign=t}{\TextField[name=W,multiline=true,width=\linewidth,height=3\baselineskip]{}} %
 &(2)\\
\end{tabular}

\end{document}

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .