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

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}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.