summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/pdf-forms-tutorial-en/forms-src/fde0009.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/pdf-forms-tutorial-en/forms-src/fde0009.tex')
-rw-r--r--Master/texmf-dist/doc/latex/pdf-forms-tutorial-en/forms-src/fde0009.tex16
1 files changed, 16 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/pdf-forms-tutorial-en/forms-src/fde0009.tex b/Master/texmf-dist/doc/latex/pdf-forms-tutorial-en/forms-src/fde0009.tex
new file mode 100644
index 00000000000..0bba41b5047
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/pdf-forms-tutorial-en/forms-src/fde0009.tex
@@ -0,0 +1,16 @@
+The \(y\)-position of form element texts and label texts differ
+because the form elements have an inner and outer border.
+
+We use text fields to show the labels and make the borders
+invisible. So label text and form element text is at the same
+\(y\)-position now.
+
+We create a white border for the labels
+\begin{lstlisting}
+bordercolor={1 1 1}
+\end{lstlisting}
+and set text alignment to right-aligned:
+\begin{lstlisting}
+align=2
+\end{lstlisting}
+\lstinputlisting{../examples/ex0004.tex}