I want to create a flyer using Latex. So I intend to have a foldable piece of paper with DinA5 pages. But I also intend to use a slightly modified version as a fillable online version. The plan is to have fillable boxes. But there everything goes down, as the boxes do not appear where I would like to have them. I want them to appear next to the discription (of what to put into them). At the moment they appear about 5 cm above the actual paper. Best way to see this is using Adope reader as he displays them correctly. Foxit and the inbound reader fo Texmaker only display them when I create a bunch of textboxes so that they are pushed into the normal page and thus become visible. The boxes are aligned in the correct way to each other but not alligned to the text at all.
\documentclass{article}
\usepackage{pgfpages}
\usepackage{array}
\usepackage{xcolor}
\usepackage{hyperref}
\pgfpagesuselayout{2 on 1}[a4paper,landscape,border shrink=5mm]
\usepackage[a4paper , left=2cm, right=2cm, top=1.3cm]{geometry}
\usepackage[ngerman]{babel}
\usepackage{graphicx}
\usepackage{float}
\usepackage[T1]{fontenc}\newcommand{\changefont}[3]{\fontfamily{#1} \fontseries{#2} \fontshape{#3} \selectfont}
\usepackage{eso-pic}
\AddToShipoutPicture{%
\AtTextCenter{%
\setlength{\fboxsep}{4mm}
\setlength{\fboxrule}{.5mm}
\makebox(0,0)[c]{%
\fbox{\rule{0pt}{\textheight}\rule{\textwidth}{0pt}}% Rahmen
}%
}
}
\begin{document}
\pagenumbering{gobble}
\textbf{ Informationen über den Teilnehmer } \\
\raggedright
\TextField[name=Vorname, width=8cm, bordercolor={green}, borderstyle=D, value={}]{Vorname:}
\TextField[name=Nachname,width=5cm, bordercolor={red}, borderstyle=D,
value={Muster}, backgroundcolor=lightgray]{Nachname:} \\
\TextField[name=Straße,width=5cm, bordercolor={gray}, borderstyle=D, value={}]{Stra\ss e:}
\TextField[name=PLZ,width=2cm, bordercolor={gray}, borderstyle=D, value={}]{PLZ:} \\
\end{document}