summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/interactiveworkbook/epsfiles/buttonappearance.eps
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/interactiveworkbook/epsfiles/buttonappearance.eps')
-rw-r--r--macros/latex/contrib/interactiveworkbook/epsfiles/buttonappearance.eps356
1 files changed, 356 insertions, 0 deletions
diff --git a/macros/latex/contrib/interactiveworkbook/epsfiles/buttonappearance.eps b/macros/latex/contrib/interactiveworkbook/epsfiles/buttonappearance.eps
new file mode 100644
index 0000000000..7ce134bfb8
--- /dev/null
+++ b/macros/latex/contrib/interactiveworkbook/epsfiles/buttonappearance.eps
@@ -0,0 +1,356 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% BUTTON APPEARANCES: PREVIOUS, INDEX, NEXT, EXERQUES, RETURN, SUBMIT, CLEAR,
+% SELECTED (UP) AND UNSELECTED (DOWN)
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%!PS-Adobe-3.0 EPSF-3.0
+%%BoundingBox: 0 0 1 1
+%%EndProlog
+
+% stops printout of postscript (pdfmark) commands
+
+/pdfmark where {
+ pop
+ /__pdfMark__ true def
+}{
+ /pdfmark {cleartomark} def
+ /__pdfMark__ false def
+} ifelse
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% BUTTON OUTLINE APPEARANCES: SELECTED (UP) AND UNSELECTED (DOWN)
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% up outline of all buttons
+
+[/BBox [ 0 0 100 30 ] /_objdef {Button_Up} /BP pdfmark
+__pdfMark__ {
+% upper left
+ 1.0 setgray 0 0 moveto 0 30 lineto 100 30 lineto stroke
+ 0.9 setgray 1 1 moveto 1 29 lineto 99 29 lineto stroke
+ 0.8 setgray 2 2 moveto 2 28 lineto 98 28 lineto stroke
+ 0.7 setgray 3 3 moveto 3 27 lineto 97 27 lineto stroke
+ 0.6 setgray 4 4 moveto 4 26 lineto 96 26 lineto stroke
+ 0.5 setgray 5 5 moveto 5 25 lineto 95 25 lineto stroke
+% lower right
+ 0.5 setgray 5 5 moveto 95 5 lineto 95 25 lineto stroke
+ 0.4 setgray 4 4 moveto 96 4 lineto 96 26 lineto stroke
+ 0.3 setgray 3 3 moveto 97 3 lineto 97 27 lineto stroke
+ 0.2 setgray 2 2 moveto 98 2 lineto 98 28 lineto stroke
+ 0.1 setgray 1 1 moveto 99 1 lineto 99 29 lineto stroke
+ 0.0 setgray 0 0 moveto 100 0 lineto 100 30 lineto stroke
+% the corners
+ 0.5 setgray 0 0 moveto 5 5 lineto stroke
+ 100 30 moveto 95 25 lineto stroke
+} if
+[/EP pdfmark
+
+% down outline of all buttons
+
+[ /_objdef {Button_Down} /BBox [ 0 0 100 30 ] /BP pdfmark
+__pdfMark__ {
+% upper left
+ 0.0 setgray 0 0 moveto 0 30 lineto 100 30 lineto stroke
+ 0.1 setgray 1 1 moveto 1 29 lineto 99 29 lineto stroke
+ 0.2 setgray 2 2 moveto 2 28 lineto 98 28 lineto stroke
+ 0.3 setgray 3 3 moveto 3 27 lineto 97 27 lineto stroke
+ 0.4 setgray 4 4 moveto 4 26 lineto 96 26 lineto stroke
+ 0.5 setgray 5 5 moveto 5 25 lineto 95 25 lineto stroke
+% lower right
+ 0.5 setgray 5 5 moveto 95 5 lineto 95 25 lineto stroke
+ 0.6 setgray 4 4 moveto 96 4 lineto 96 26 lineto stroke
+ 0.7 setgray 3 3 moveto 97 3 lineto 97 27 lineto stroke
+ 0.8 setgray 2 2 moveto 98 2 lineto 98 28 lineto stroke
+ 0.9 setgray 1 1 moveto 99 1 lineto 99 29 lineto stroke
+ 1 setgray 0 0 moveto 100 0 lineto 100 30 lineto stroke
+% the corners
+ 0.5 setgray 0 0 moveto 5 5 lineto stroke
+ 100 30 moveto 95 25 lineto stroke
+% the interior
+ 0.8 setgray 5 5 90 20 rectfill
+} if
+[/EP pdfmark
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% BUTTON OUTLINES WITH TEXT: PREVIOUS, INDEX, NEXT, EXERQUES
+% SELECTED (UP) AND UNSELECTED (DOWN)
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% previous button up
+
+[/_objdef {Prev_Up} /BBox [ 0 0 100 30 ] /BP pdfmark
+__pdfMark__ {
+ [{Button_Up} /SP pdfmark
+ 0 setgray /Courier-Bold 16 selectfont 10 7 moveto (Previous) show
+} if
+[/EP pdfmark
+
+% previous button down
+
+[/_objdef {Prev_Down} /BBox [ 0 0 100 30 ] /BP pdfmark
+__pdfMark__ {
+ [{Button_Down} /SP pdfmark
+ 0 setgray /Courier-Bold 16 selectfont 10 7 moveto (Previous) show
+} if
+[/EP pdfmark
+
+% index button up
+
+[/_objdef {Index_Up} /BBox [ 0 0 100 30 ] /BP pdfmark
+__pdfMark__ {
+ [{Button_Up} /SP pdfmark
+ 0 setgray /Courier-Bold 16 selectfont 10 7 moveto ( Index) show
+} if
+[/EP pdfmark
+
+% index button down
+
+[/_objdef {Index_Down} /BBox [ 0 0 100 30 ] /BP pdfmark
+__pdfMark__ {
+ [{Button_Down} /SP pdfmark
+ 0 setgray /Courier-Bold 16 selectfont 10 7 moveto ( Index) show
+} if
+[/EP pdfmark
+
+% next button up
+
+[/_objdef {Next_Up} /BBox [ 0 0 100 30 ] /BP pdfmark
+__pdfMark__ {
+ [{Button_Up} /SP pdfmark
+ 0 setgray /Courier-Bold 16 selectfont 10 7 moveto ( Next) show
+} if
+[/EP pdfmark
+
+% next button down
+
+[/_objdef {Next_Down} /BBox [ 0 0 100 30 ] /BP pdfmark
+__pdfMark__ {
+ [{Button_Down} /SP pdfmark
+ 0 setgray /Courier-Bold 16 selectfont 10 7 moveto ( Next) show
+} if
+[/EP pdfmark
+
+% exercise question button up (no words on button; used in exercise index)
+
+[/_objdef {ExerQues_Up} /BBox [ 0 0 100 30 ] /BP pdfmark
+__pdfMark__ {
+ [{Button_Up} /SP pdfmark
+} if
+[/EP pdfmark
+
+% exercise question button down
+
+[/_objdef {ExerQues_Down} /BBox [ 0 0 100 30 ] /BP pdfmark
+__pdfMark__ {
+ [{Button_Down} /SP pdfmark
+} if
+[/EP pdfmark
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% BUTTON OUTLINES WITH TEXT: RETURN, SUBMIT, CLEAR, ANSWER
+% SELECTED (UP) AND UNSELECTED (DOWN)
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% return button up
+
+[/_objdef {Return_Up} /BBox [ 0 0 100 30 ] /BP pdfmark
+__pdfMark__ {
+ [{Button_Up} /SP pdfmark
+ 0 setgray /Courier-Bold 16 selectfont 10 7 moveto ( Return) show
+} if
+[/EP pdfmark
+
+% return button down
+
+[/_objdef {Return_Down} /BBox [ 0 0 100 30 ] /BP pdfmark
+__pdfMark__ {
+ [{Button_Down} /SP pdfmark
+ 0 setgray /Courier-Bold 16 selectfont 10 7 moveto ( Return) show
+} if
+[/EP pdfmark
+
+% clear button up
+
+[/_objdef {Clear_Up} /BBox [ 0 0 100 30 ] /BP pdfmark
+__pdfMark__ {
+ [{Button_Up} /SP pdfmark
+ 0 setgray /Courier-Bold 16 selectfont 10 7 moveto ( Clear) show
+} if
+[/EP pdfmark
+
+% clear button down
+
+[/_objdef {Clear_Down} /BBox [ 0 0 100 30 ] /BP pdfmark
+__pdfMark__ {
+ [{Button_Down} /SP pdfmark
+ 0 setgray /Courier-Bold 16 selectfont 10 7 moveto ( Clear) show
+} if
+[/EP pdfmark
+
+% submit button up
+
+[/_objdef {Submit_Up} /BBox [ 0 0 100 30 ] /BP pdfmark
+__pdfMark__ {
+ [{Button_Up} /SP pdfmark
+ 0 setgray /Courier-Bold 16 selectfont 10 7 moveto ( Submit) show
+} if
+[/EP pdfmark
+
+% submit button down
+
+[/_objdef {Submit_Down} /BBox [ 0 0 100 30 ] /BP pdfmark
+__pdfMark__ {
+ [{Button_Down} /SP pdfmark
+ 0 setgray /Courier-Bold 16 selectfont 10 7 moveto ( Submit) show
+} if
+[/EP pdfmark
+
+% answer button up
+
+[/_objdef {Answer_Up} /BBox [ 0 0 100 30 ] /BP pdfmark
+__pdfMark__ {
+ [{Button_Up} /SP pdfmark
+ 0 setgray /Courier-Bold 16 selectfont 10 7 moveto ( Answer) show
+} if
+[/EP pdfmark
+
+% answer button down
+
+[/_objdef {Answer_Down} /BBox [ 0 0 100 30 ] /BP pdfmark
+__pdfMark__ {
+ [{Button_Down} /SP pdfmark
+ 0 setgray /Courier-Bold 16 selectfont 10 7 moveto ( Answer) show
+} if
+[/EP pdfmark
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% CHECK BOX APPEARANCE: SELECTED (UP) AND UNSELECTED (DOWN)
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% check boxes unselected
+
+[ /_objdef {UnChecked} /BBox [0 0 30 30] /BP pdfmark
+__pdfMark__ {
+ 0 setgray 0 0 moveto 0 30 lineto 30 30 lineto 30 0 lineto 0 0 lineto stroke
+ 1 1 moveto 1 29 lineto 29 29 lineto 29 1 lineto 1 1 lineto stroke
+} if
+[/EP pdfmark
+
+% check boxes selected
+
+[/_objdef {Checked} /BBox [0 0 30 30] /BP pdfmark
+__pdfMark__ {
+ 0 setgray 0 0 moveto 0 30 lineto 30 30 lineto 30 0 lineto 0 0 lineto stroke
+ 1 1 moveto 1 29 lineto 29 29 lineto 29 1 lineto 1 1 lineto stroke
+ /Courier-Bold 30 selectfont 5 5 moveto (X) show
+} if
+[/EP pdfmark
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% POPUP MENU APPEARANCE: BOX AND TEXT FOR FIVE MENUS
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% popup menu border
+
+[/_objdef {Popup_Menu} /BBox [ 0 0 60 30 ] /BP pdfmark
+__pdfMark__ {
+ 0 setgray 0 0 60 30 rectstroke 2 setlinewidth % rectangle low left (0,0) to up right (60,30)
+} if % linewidth 2
+[/EP pdfmark
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% TEXT FIELD APPEARANCE: BOX AND TEXT FOR FIVE FIELDS
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% general text field appearance; here, so that it appears on screen
+
+[/_objdef {Text_Field} /BBox [0 0 300 30] /BP pdfmark
+__pdfMark__ {
+ [ 0 0 300 30 ] rectfill
+ 0.75 setgray 0 0 300 30 rectfill
+} if
+[/EP pdfmark
+
+% text field one
+
+[/_objdef {field1}
+ /Subtype /Widget % dummy widget not actually used, but required in objdef
+ /Rect [0 0 0 0] % dummy text area not actually used, but required in objdef
+ /DA (/CourB 11 Tf 0 g ) % black font (zero gray level), typed in text fields, first page
+/ANN pdfmark
+
+% text field two
+
+[/_objdef {field2}
+ /Subtype /Widget
+ /Rect [0 0 0 0]
+ /DA (/CourB 11 Tf 0 g )
+/ANN pdfmark
+
+% text field three
+
+[/_objdef {field3}
+ /Subtype /Widget
+ /Rect [0 0 0 0]
+ /DA (/CourB 11 Tf 0 g )
+/ANN pdfmark
+
+% text field four
+
+[/_objdef {field4}
+ /Subtype /Widget
+ /Rect [0 0 0 0]
+ /DA (/CourB 11 Tf 0 g )
+/ANN pdfmark
+
+% text field five
+
+[/_objdef {field5}
+ /Subtype /Widget
+ /Rect [0 0 0 0]
+ /DA (/CourB 11 Tf 0 g )
+/ANN pdfmark
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% RADIO BUTTON APPEARANCE: SELECTED (UP) AND UNSELECTED (DOWN)
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% radio button unselected
+
+[ /_objdef {Radio_Button_UnSelected} /BBox [0 0 30 30] /BP pdfmark
+__pdfMark__ {
+ 0 setgray 15 15 14 0 360 arc closepath % start (0,0), radius 14, 360 degree arc (circle)
+ 2 setlinewidth stroke % line width 2, draw circle
+} if
+[/EP pdfmark
+
+% radio button selected
+
+[/_objdef {Radio_Button_Selected} /BBox [0 0 30 30] /BP pdfmark
+__pdfMark__ {
+ 0 setgray 15 15 14 0 360 arc closepath % start (0,0), radius 14, 360 degree arc (circle)
+ 2 setlinewidth stroke % line width 2, draw circle
+ 0 setgray 15 15 8 0 360 arc closepath % start (0,0), radius 8, 360 degree arc (circle)
+ 0 0 0 setrgbcolor % set color black
+ 0 setgray fill % fill inner circle with black color
+} if
+[/EP pdfmark
+
+
+%%EOF