Discussion:
\ChoiceMenu dingbats
(too old to reply)
Dave Griffith
2009-10-06 21:07:47 UTC
Permalink
How does one change the dingbat used in a \ChoiceMenu from the default?
--
David Griffith
***@cs.csbuak.edu <-- Switch the 'b' and 'u'
Joseph Wright
2009-10-06 21:16:31 UTC
Permalink
Post by Dave Griffith
How does one change the dingbat used in a \ChoiceMenu from the default?
Not come across that macro before: which package/class is it from?
--
Joseph Wright
Dave Griffith
2009-10-07 17:29:05 UTC
Permalink
Post by Joseph Wright
Post by Dave Griffith
How does one change the dingbat used in a \ChoiceMenu from the default?
Not come across that macro before: which package/class is it from?
pdftex, specifically with PDF-Forms. A five-pointed star for a radio
button just doesn't look very good.
--
David Griffith
***@cs.csbuak.edu <-- Switch the 'b' and 'u'
Joseph Wright
2009-10-07 17:49:08 UTC
Permalink
Post by Dave Griffith
Post by Joseph Wright
Post by Dave Griffith
How does one change the dingbat used in a \ChoiceMenu from the default?
Not come across that macro before: which package/class is it from?
pdftex, specifically with PDF-Forms. A five-pointed star for a radio
button just doesn't look very good.
pdftex is the engine, not a LaTeX package! A quick search of CTAN for
"PDF-Forms" also fails to find something defining \ChoiceMenu. What we
need is a minimal example document:

\documentclass{...} % Something special?
\usepackage{...} % " "
--
Joseph Wright
Dave Griffith
2009-10-08 16:05:28 UTC
Permalink
Post by Joseph Wright
Post by Dave Griffith
Post by Joseph Wright
Post by Dave Griffith
How does one change the dingbat used in a \ChoiceMenu from the default?
Not come across that macro before: which package/class is it from?
pdftex, specifically with PDF-Forms. A five-pointed star for a radio
button just doesn't look very good.
pdftex is the engine, not a LaTeX package! A quick search of CTAN for
"PDF-Forms" also fails to find something defining \ChoiceMenu. What we
\documentclass{...} % Something special?
\usepackage{...} % " "
Whoops. Here it is:

\documentclass[12pt]{article}
\usepackage{hyperref}
\begin{document}
\begin{Form}
\ChoiceMenu[radio,name=choice,width=1em]{}{Foo}
\ChoiceMenu[radio,name=choice,width=1em]{}{Bar}
\end{Form}
\end{document}

When opened in Acroread, you will see two linked radio buttons. When
pressed, the button shows a five-pointed star. I'd prefer something
like 'X' instead.
--
David Griffith
***@cs.csbuak.edu <-- Switch the 'b' and 'u'
Joseph Wright
2009-10-08 18:49:39 UTC
Permalink
Post by Dave Griffith
\documentclass[12pt]{article}
\usepackage{hyperref}
\begin{document}
\begin{Form}
\ChoiceMenu[radio,name=choice,width=1em]{}{Foo}
\ChoiceMenu[radio,name=choice,width=1em]{}{Bar}
\end{Form}
\end{document}
When opened in Acroread, you will see two linked radio buttons. When
pressed, the button shows a five-pointed star. I'd prefer something
like 'X' instead.
I never knew hyperref did that!

I did a bit of digging in the code, and found something called
"checkboxsymbol", which seems like the sort of thing you're after.
However, I can't get it to do anything!

Perhaps Heiko Oberdiek can help out with this: I've CCd him on this.
--
Joseph Wright
Heiko Oberdiek
2009-10-09 13:24:40 UTC
Permalink
Post by Joseph Wright
Post by Dave Griffith
\documentclass[12pt]{article}
\usepackage{hyperref}
\begin{document}
\begin{Form}
\ChoiceMenu[radio,name=choice,width=1em]{}{Foo}
\ChoiceMenu[radio,name=choice,width=1em]{}{Bar}
\end{Form}
\end{document}
When opened in Acroread, you will see two linked radio buttons. When
pressed, the button shows a five-pointed star. I'd prefer something
like 'X' instead.
I never knew hyperref did that!
I did a bit of digging in the code, and found something called
"checkboxsymbol", which seems like the sort of thing you're after.
However, I can't get it to do anything!
Perhaps Heiko Oberdiek can help out with this: I've CCd him on this.
See next version 6.79a (this weekend).
Then you can use, e.g.
radiosymbol=\ding{56}

Yours sincerely
Heiko <***@uni-freiburg.de>
Dave Griffith
2009-10-09 18:24:21 UTC
Permalink
Post by Heiko Oberdiek
Post by Joseph Wright
I never knew hyperref did that!
I did a bit of digging in the code, and found something called
"checkboxsymbol", which seems like the sort of thing you're after.
However, I can't get it to do anything!
Perhaps Heiko Oberdiek can help out with this: I've CCd him on this.
See next version 6.79a (this weekend).
Then you can use, e.g.
radiosymbol=\ding{56}
Thanks! So, there is already checkboxsymbol for \CheckBox and
radiosymbol for \ChoiceMenu coming soon?
--
David Griffith
***@cs.csbuak.edu <-- Switch the 'b' and 'u'
Heiko Oberdiek
2009-10-09 21:16:39 UTC
Permalink
Post by Dave Griffith
Post by Heiko Oberdiek
Post by Joseph Wright
I never knew hyperref did that!
I did a bit of digging in the code, and found something called
"checkboxsymbol", which seems like the sort of thing you're after.
However, I can't get it to do anything!
Perhaps Heiko Oberdiek can help out with this: I've CCd him on this.
See next version 6.79a (this weekend).
Then you can use, e.g.
radiosymbol=\ding{56}
Thanks! So, there is already checkboxsymbol for \CheckBox and
radiosymbol for \ChoiceMenu coming soon?
From ChangeLog:

| * 6.79a
| * Field option `radiosymbol' added.
| * Both `checkboxsymbol' and `radiosymbol' support \ding
| (see package `pifont' from bundle `psnfss2e').

Update is on its way to CTAN. Already updated:
ftp://ftp.tug.org/pub/tex/hyperref/

Yours sincerely
Heiko <***@uni-freiburg.de>

Martin Heller
2009-10-08 20:57:25 UTC
Permalink
Post by Dave Griffith
When opened in Acroread, you will see two linked radio buttons. When
pressed, the button shows a five-pointed star. I'd prefer something
like 'X' instead.
You can use the eforms package to set the default symbol of radio buttons:

\documentclass{article}
\usepackage[pdftex]{eforms}
\everyRadioButton{%
\symbolchoice{cross}
}

\begin{document}
What do you prefer?
\begin{description}
\item[\LaTeX] \radioButton{TeXWord}{10bp}{10bp}{LaTeX}
\item[Word] \radioButton{TeXWord}{10bp}{10bp}{Word}
\end{description}
\end{document}
Loading...