Skip to main content
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): ...
Alan Munn's user avatar
  • 221k
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 ...
Zarko's user avatar
  • 302k
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} \...
diabonas's user avatar
  • 26k
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 ...
AlexG's user avatar
  • 55.5k
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 ...
Ulrike Fischer's user avatar
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]...
Marcel Krüger's user avatar
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 ...
Ulrike Fischer's user avatar
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 ...
Ulrike Fischer's user avatar
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 ...
Ciro Santilli OurBigBook.com's user avatar
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 ...
John Kormylo's user avatar
  • 82.2k
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} \...
caverac's user avatar
  • 7,941
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} ...
David Purton's user avatar
  • 26.5k
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, ...
Y. Zhai's user avatar
  • 163
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 ...
David Purton's user avatar
  • 26.5k
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\...
Ali Mansour's user avatar
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 ...
Phelype Oleinik's user avatar
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} ...
AlexG's user avatar
  • 55.5k
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,...
Bernard's user avatar
  • 273k
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{\...
Ulrike Fischer's user avatar
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 ...
Salim Bou's user avatar
  • 17.1k
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 ...
diabonas's user avatar
  • 26k
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 ...
Ulrike Fischer's user avatar
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} \...
diabonas's user avatar
  • 26k
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*{\...
Ulrike Fischer's user avatar
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}, ...
Ulrike Fischer's user avatar
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....
Ulrike Fischer's user avatar
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]{...
Ulrike Fischer's user avatar
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={}...
Ulrike Fischer's user avatar
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 ...
muzimuzhi Z's user avatar
  • 27.2k
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 ...
Fran's user avatar
  • 83.4k

Only top scored, non community-wiki answers of a minimum length are eligible