13
votes
Embedding a complete rather than a partial font
No, it's not possible to do this. Section 12 of the dvipdfmx documentation deals explicitly with font embedding. From page 21 of the documentation (the very last sentence of the docs, in fact):
...
11
votes
Accepted
Different problems with tabularx
newer add \\ after \hline
in second row you not used \hline after \hline, consequently the content in the first cell in this row is correctly placed
before and after itemize are always added vertical ...
10
votes
How to design LaTeX form with user input for data extraction?
As described in Save fillable forms, you can create forms that send their values back to you by email if you click the submit button:
\documentclass{article}
\usepackage{hyperref}
\begin{document}
\...
9
votes
Accepted
Can you influence any PDF element using JavaScript?
Text and graphics which are the result of stroking and filling operations on a PDF document page cannot be accessed or modified using JavaScript.
To a limited extent, PDF Layers (officially named ...
9
votes
Accepted
Typesetting fillable PDF forms with `hyperref`
You can set the borderstyle to underline. Or add some tikz and other code to the layout. In the second case set the colors to transparent. It is also often quite useful to move the field a bit down to ...
8
votes
Accepted
Adobe Reader does not display borderstyle=U Textfields
The problem is not caused by the borderstyle, it is the empty field name. A text field without name is dropped by Adobe Reader, so you either have to use
\documentclass{article}
\usepackage[hidelinks]...
7
votes
Accepted
How to have Form options in Table cells?
You can use \ChoiceMenu in tabulars, use one in every cell, but use the same name, so that they build a group. You will have to change the width of the field, as the default width is \baselineskip ...
7
votes
Accepted
Making fillable forms in LaTeX using TextField and CheckBox
You can change the height of a textfield with the height option or by redefining \DefaultHeightofText. But the minimal height of the field will always be the height of the surrounding box. In a ...
7
votes
Creating fillable PDFs
action= submission dangers
https://tex.stackexchange.com/a/14844/19083 works, but the proposed method is:
dangerous:
user may submit form twice and not notice it
no authentication, so a malicious ...
7
votes
Making Hyperref Form CheckBox visible
You need a unique name for \CheckBox to work. The default name is the same as the label, but in this case the label isn't valid.
Instead of redefining \LayoutCheckField one can use \ignorespaces in ...
7
votes
Accepted
Form: A drawing as a form field
You need to enter integer numbers between 0 and 90
\documentclass{article}
\usepackage{animate}
\usepackage{hyperref}
\usepackage{tikz}
\usepackage{siunitx}
\usetikzlibrary{positioning, shapes}
\...
7
votes
Accepted
How to change the border color of "all" fields in a PDF fillable form?
You can redefine the undocumented \DefaultOptionsof… macros:
\documentclass{article}
\usepackage{hyperref}
\usepackage{xcolor}
\def\DefaultOptionsofSubmit{print,name=Submit,noexport,bordercolor=blue}
...
6
votes
Creating fillable PDFs
I agree with Christian Lindig's answer. It looks good.
The problem is that there are red border around the fields. Guys in this community do gave some suggestions on how to remove that. To me, ...
6
votes
How can I superimpose LaTeX / TeX output over a PDF file?
Another approach to this is to use the pdfoverlay package. (Disclaimer: I'm the package author.)
From the CTAN package description:
It is often desirable to take an existing PDF and easily add
...
6
votes
Accepted
fillable insertable Checkbox by hyperref package
\documentclass{article}
\usepackage[bookmarks=false]{hyperref}
\usepackage{etoolbox}
\makeatletter
\patchcmd{\HyField@FlagsRadioButton}{\HyField@SetFlag{Ff}{Radio}}{}{}{}
\makeatother
\def\...
6
votes
Accepted
Latex forms: Place label on the right side of checkbox
The \CheckBox internally uses the \LayoutCheckField to layout the items. The default, taken from hyperref.sty is:
\def\LayoutCheckField#1#2{% label, field
#1 #2%
}
you can invert the order of the ...
6
votes
Accepted
Embed hyperref \Form in Tikz picture
Indeed, there is nothing special about \TextField in a tikzpicture environment. It can be inserted in the text argument of a TikZ node:
\documentclass{article}
\usepackage{hyperref}
\usepackage{tikz}
...
6
votes
Different problems with tabularx
Your problems come from adding \\ after \hline. Here is a correct code and some improvements with enumitem. Note that \small is not a command with an argument, but a switch.
\documentclass[a4paper,...
6
votes
Accepted
How to create unique textfields in a pdf form without specifying textfield names
text fields needs an unique name, but you can generate it e.g. with a counter and a new command:
\documentclass{article}
\usepackage{hyperref}
\newcounter{textfield}
\newcommand\AutoTextField{\...
5
votes
Making fillable forms in LaTeX using TextField and CheckBox
Rather then tabular environment you can use multicol package to split your fields on two columns, in this case you can modify height of textfield as you like
More detail can be found in this answer
...
5
votes
Accepted
Save PDF form information
The action parameter can only be used to send the filled-out form to a server (by specifying the URL to a CGI script) or by email (by specifying the email prefixed with mailto:, as demonstrated in ...
5
votes
Datepicker for LaTeX fillable form
As mentioned in https://tex.stackexchange.com/a/488757/2388 there is an inbuilt date picker in recent adobe reader. The answer show how to use it with hyperref, so here as an alternative the code for ...
5
votes
How to bind mailto to this PushButton onclick action in PDF form?
In order to both send the form by email and save the data to a file locally, you can use the submitForm JavaScript method:
\documentclass{article}
\usepackage{hyperref}
\begin{document}
\begin{Form}
\...
5
votes
Accepted
How to add line breaks to (hyperref) pdf form TextField?
Update: it is actually better to use \textCR or \textLF. They will also work if the encoding changes.
\string\n works for me:
\documentclass{article}
\usepackage{hyperref}
\renewcommand*{\...
5
votes
Accepted
Form: How to change the font into TextFields globally
\documentclass[fontsize=14pt]{scrreprt}
\usepackage{xcolor}
\usepackage[]{hyperref}
% Global Styles
\def\DefaultOptionsofText{
print, bordercolor=red,backgroundcolor=lightgray,borderstyle={U},
...
5
votes
Accepted
How do you create a date field with hyperref's pdf forms?
This needs javascript and if I got your link right a recent adobe reader.
\documentclass[12pt]{article}
\usepackage{hyperref}
\begin{document}
\begin{Form}
\TextField[format ={AFDate_FormatEx("dd....
5
votes
Table cells as CheckBoxes
You basically have to ensure that the checkbox have the size of the cells:
\documentclass[a4paper,10pt]{article}
\usepackage[ngerman]{babel}
\usepackage[T1]{fontenc}
\usepackage[margin=1cm]{...
5
votes
Accepted
How can I remove the red border around hyperref TextField?
\documentclass[border=3mm]{standalone}
\usepackage{hyperref}
\hypersetup{hidelinks}
\begin{document}
\begin{Form}
\begin{tabular}{|l|l|}
\hline
Name & \TextField[bordercolor={},backgroundcolor={}...
5
votes
How to change the border color of "all" fields in a PDF fillable form?
You can use \HyField@SetKeys{<field key-value list>} to specify default styles for all fields.
Provided that all the per-field default options stored in \DefaultOptionsof… do not contain ...
5
votes
Accepted
Best practice for designing technical forms and reports
IMHO the best practice could be input any variable text in the form contents via macros at the start (even before of the document preamble) to not get entangled with code of the forms when edit the ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
forms × 230hyperref × 107
pdf × 44
pdftex × 22
javascript × 21
tables × 18
textfield × 13
adobe × 10
tikz-pgf × 7
formatting × 7
fonts × 5
xetex × 5
horizontal-alignment × 4
color × 4
vertical-alignment × 4
pdfpages × 4
printing × 4
debian × 4
questionnaire × 4
beamer × 3
macros × 3
graphics × 3
boxes × 3
templates × 3
lengths × 3