latex3 / hyperref

Hypertext support for LaTeX
165 stars 35 forks source link

\TextField and \ChoiceMenu don't begin at the start of the line whene there is no text before #323

Closed CarLaTeX closed 10 months ago

CarLaTeX commented 10 months ago

Even if the \TextField and \ChoiceMenu are the first objects in a line with \noindent, they don't begin and the start of the line, there is a little gap.

See this post on TeX.SE: Why don't \TextField and \ChoiceMenu begin at the start of the line?

\documentclass{article}
\usepackage{hyperref}
\usepackage{showframe}

\begin{document}
\begin{Form}[action=mailto:my_email@gmail.com?subject={The submitted form},encoding=html, method=post]
\noindent Why doesn't the following field begin at the start of the line?
\vspace{1ex}

\noindent\TextField[name=a,width=5cm,charsize=8pt, height=.5cm]{}
\vspace{4ex}

\noindent Adding \texttt{bordersep=0pt} doesn't help:
\vspace{1ex}

\noindent\TextField[bordersep=0pt,name=b,width=5cm, height=.5cm]{}
\vspace{4ex}

\noindent The same with a choice menu:
\vspace{1ex}

\noindent\ChoiceMenu[combo, name=choice, width=5cm]{}{Choice 1, Choice 2}
\end{Form}
\end{document}
muzimuzhi commented 10 months ago

Duplicate of #93, whose fix was shipped with v7.00a, released in Oct 2019. (Thus the reported problem is not reproducible now.)

It seems you posted the same problem both to https://github.com/ho-tex/oberdiek and to current repository (was named https://github.com/ho-tex/hyperref/ then) on May 6, 2019, while unconnected.

CarLaTeX commented 10 months ago

Duplicate of #93, whose fix was shipped with v7.00a, released in Oct 2019. (Thus the reported problem is not reproducible now.)

It seems you posted the same problem both to https://github.com/ho-tex/oberdiek and to current repository (was named https://github.com/ho-tex/hyperref/ then) on May 6, 2019, while unconnected.

Yes, I copied here because I was asked to. If it's fixed please close.

u-fischer commented 10 months ago

whose fix was shipped with v7.00a, released in Oct 2019

Hm. I wonder what I saw two days ago. I was sure that I had forgotten the issue ;-) Well in any case it means I can close this issue fast.

@CarLaTeX sorry for the noise ;-)

CarLaTeX commented 10 months ago

No problem at all :) Bye