\documentclass{article} \usepackage[% web={extended,tight*,usesf}, eforms,graphicxsp={showembeds} ]{aeb_pro} \usepackage{fancyvrb} \usepackage{rmannot} \usepackage{datepicker-pro} \margins{.25in}{.25in}{24pt}{.25in} % left,right,top, bottom \screensize{5in}{5.5in} % height,width dimensions \renewcommand{\hproportionwebtitle}{.5} \iconBenOpts{\F{-\FPrint}} \DeclareDocInfo { title=The datepicker-pro Package\texorpdfstring{\\[6pt]}{: }A date picker built by Adobe Flash Builder and AeB Pro, author=D. P. Story, university=Acro\negthinspace\TeX.Net, email=dpstory@acrotex.net, subject={Demo of the datepicker-pro package, SWF, rmannot, aeb\_pro, AcroTeX}, keywords={Adobe Acrobat;JavaScript;Adobe Flash Builder;Flex;ActionScript}, talksite=\url{http://www.acrotex.net}, talkdate={\today}, copyrightStatus=True, copyrightNotice={Copyright (C) \the\year, D. P. Story}, copyrightInfoURL=http://www.acrotex.net } \talkdateLabel{Published:} \parindent=0pt\parskip6pt\pagestyle{empty} \useFLEXVer{3} % 3 or 4 % This path has been move to the dp-pro.cfg configuration file. Find % that file in the top level of this distribution and edit it to reflect % the path to the SWF folder of this distribution, it must be an absolution path. %\definePath{\dppPath}{C:/Users/Public/Documents/My TeX Files/% % tex/latex/aeb/aebpro/datepicker-pro/swf} \setpickerIcon{../icons/dp_icon1.pdf}{PickADate} \setpickerIcon{../icons/dp_icon2.pdf}{GERDate} \begin{document} \maketitle In this short demonstration file, we present two date field styles, one for the U.S.\ and the another for German. \begin{flushleft} U.S.-style: Pick a date:\ \kern1bp\datepicker{PickADate}{1in}{11bp}\quad (MM/DD/YYYY) \end{flushleft} This is the default style: \verb!\datepicker{PickADate}{1in}{11bp}! \newcommand{\germanDates} {% % formatstring=DD.MM.YYYY, formatstring={EEEE, DD. MMMM YYYY}, daynames={So,Mo,Di,Mi,Do,Fr,Sa}, monthnames={Jan,Febr,Mrz,Apr,Mai,Jun,Jul,Aug,Sept,% Okt,Nov,Dez}, daynamesLong={Sonntag,Montag,Dienstag,Mittwoch,Donnerstag,% Freitag,Samstag}, daynamesShort={So,Mo,Di,Mi,Do,Fr,Sa}, monthnamesLong={Januar,Februar,M\u00E4rz,April,Mai,Juni,Juli,% August,September,Oktober,November,Dezember}, monthnamesShort={Jan,Feb,Mrz,Apr,Mai,Jun,Jul,Aug,% Sep,Okt,Nov,Dez}, firstday=1, widthOfWindow=200, heightOfWindow=200, voffset=-100 } % Di, 13. August 2013 \begin{flushleft} German-style: Pick a date:\ \kern1bp\datepicker[\germanDates]{GERDate}{2in}{11bp}\quad %(EEEE, DD. MMMM YYYY) \end{flushleft} \end{document} A custom style, the verbatim listing of this field is given below: \begin{Verbatim}[xleftmargin=\leftmargini,fontsize=\small,commandchars=!()] \newcommand{\germanDates} {% formatstring={EEEE, DD. MMMM YYYY}, daynames={So,Mo,Di,Mi,Do,Fr,Sa}, monthnames={Jan,Febr,Mrz,Apr,Mai,Jun,Jul,Aug,Sept,Okt,Nov,Dez}, daynamesLong={Sonntag,Montag,Dienstag,Mittwoch,Donnerstag, Freitag,Samstag}, daynamesShort={So,Mo,Di,Mi,Do,Fr,Sa}, monthnamesLong={Januar,Februar,M!"(a)rz,April,Mai,Juni,Juli, August,September,Oktober,November,Dezember}, monthnamesShort={Jan,Feb,Mrz,Apr,Mai,Jun,Jul,Aug,Sep, Okt,Nov,Dez}, firstday=1,widthOfWindow=200,heightOfWindow=200 } \datepicker[\germanDates]{GERDate}{2in}{11bp} \end{Verbatim} \end{document}