[latex3-commits] [git/LaTeX3-latex3-pdfresources] radiobuttons: center button (01f48d3)

Ulrike Fischer fischer at troubleshooting-tex.de
Mon May 31 19:20:36 CEST 2021


Repository : https://github.com/latex3/pdfresources
On branch  : radiobuttons
Link       : https://github.com/latex3/pdfresources/commit/01f48d34237c2a6df163f90d7c7ac8adccbd11ca

>---------------------------------------------------------------

commit 01f48d34237c2a6df163f90d7c7ac8adccbd11ca
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Mon May 31 19:20:36 2021 +0200

    center button


>---------------------------------------------------------------

01f48d34237c2a6df163f90d7c7ac8adccbd11ca
 l3pdffield-pushbutton.dtx | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/l3pdffield-pushbutton.dtx b/l3pdffield-pushbutton.dtx
index a121a83..790f111 100644
--- a/l3pdffield-pushbutton.dtx
+++ b/l3pdffield-pushbutton.dtx
@@ -109,17 +109,22 @@
 % \group_begin:
 % \pdfannot_dict_put:nnn {widget}{A}{<</S/Named /N/LastPage>>}
 % \sffamily\bfseries
-% \pdffield_pushbutton:n {name=my/go,width=4cm,caption=go~to~last~page}
+% \pdffield_pushbutton:n
+%   {name=my/go,
+%    width=4cm,
+%    caption=go~to~last~page,
+%    rollover-caption=click~me!}
 % \group_end:
 % \end{verbatim}
-%
+% \begin{center}
 % \ExplSyntaxOn
 % \group_begin:
 % \pdfannot_dict_put:nnn {widget}{A}{<</S/Named /N/LastPage>>}
-% \sffamily\bfseries\pdffield_pushbutton:n {name=my/go,width=4cm,caption=GO~TO~LAST~PAGE}
+% \sffamily\bfseries\pdffield_pushbutton:n
+%   {name=my/go,width=4cm,caption=GO~TO~LAST~PAGE,rollover-caption=click~me!}
 % \group_end:
 % \ExplSyntaxOff
-%
+% \end{center}
 % The list of allowed keys is described below.
 % The \meta{key val list} should at least set the name, without it the default name
 % |pushbutton| is used.





More information about the latex3-commits mailing list.