ESRFExpReport.tex000064400036230006665000000115300674540623000157530ustar00asthaltrmoessbau00000000000000% ESRFExpReport.tex % % ESRF Experimental Report Form % Written by Tanja Asthalter, ESRF 21st July 1999 using the % Proposal form by Andy Hammersley, ESRF 1st September 1994 % as a ``template'' % % This is a template file, designed to be edited by scientists wishing to % produce ESRF experiment report forms using LaTeX. The layout of the % form is described in a LaTeX ``style'' file, so all the proposer needs % to do is fill in the appropriate information in the correct ``fields''. % Standard LaTeX mark-up commands can be used to enter greek characters, % etc. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % GENERAL INSTRUCTIONS FOR FILLING IN THE FORM %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % 1. Read carefully the instructions given on the Web page. % 2. Use paper copy of form, to understand nature of fields to fill in % 3. Copy the template file ESRFExpReport.tex (this file) to your own % directory with an appropriate name. So that you can edit it and create % your own report. (Note: the percentage sign is a comment sign in % LaTeX.) % The order of the commands in this template is the same as the order % of input on the paper form (left to right, top to bottom). % e.g. To define that your experiment title is: Important research at % the ESRF. You would create the line (without the %): %\ExperimentTitle{Important research at the ESRF} % % 4. It is your responsibility to check that the amount of information % that has been entered fits onto the form, and is readable (when % reduced in size). When you have completed, or partially completed % the form, you can check the layout, and text with a previewer (if % available) e.g. xdvi The entire form is in standard LaTeX, so should % be displayed correctly. % 5. As the proposal form is in ASCII it can be easily sent by email % to your collegues, BUT MUST NOT BE SENT TO THE ESRF USER OFFICE. % 6. To produce paper output you will need to use a program to convert % the .dvi file to a suitable printer format e.g. PostScript. When % doing this you will almost certainly need to specify that the output % is A4 size, otherwise the text will not fit on the ``paper''. % e.g. dvips needs the option -t a4 to produce an A4 output PostScript % file. To produce the PostScript file ``file.ps'', from the dvi % file ``file.dvi'' the following command line might be used (which % redirects the output into a file). % dvips -t a4 file > file.ps % (With an alternative program to produce PostScript files from dvi % files another option may be needed.) % 7. Paper copies of the report should be sent to the ESRF user office. % 8. The ESRF cannot give general advice on the usage of LaTeX, if % you have problems with LaTeX consult collegues for advice, or the % LaTeX User Guide and Reference Manual, written by Leslie Lamport, % Addison-Wesley Publishing Company, ISBN 0-201-15790-X (other LaTeX % manuals are also available, and in different languages.) % 9. If LaTeX produces errors, it may be that the ``ESRFProposal.sty'' % file is missing from the standard TeX style files directory. Your % system administrator should be able to obtain the file % (aftp expga.esrf.fr) and install it in the correct general directory. % Don't change the names of any of the commands, or delete the % commands, as this will cause errors. % 10. In order to obtain the ESRF logo, this file uses the PSTRICKS % package. This package should be available with any standard LaTeX2e % installation. Otherwise, .sty files and other info may e.g. be % obtained from ftp.dante.de under pub/tex/graphics/pstricks (login % as anonymous). % 11. If you include a picture using psfig or a similar package and % make use of the LaTeX picture command, you must type % \vspace{y} % after the picture command if y was the height of the picture. Otherwise % on page 3 and 4 subsequent sections may overlap with your picture. % In case of unwanted offset above the picture, try % \begin{picture}(170,0)(0,y) % \put(0,5){\psfig{file=fig.ps,width=...}} % \end{picture} % % \vspace{y}% % % Note that \unitlength is automatically set to 1 mm. \documentstyle[12pt,ESRFExpReport,psfig,pstricks]{article} \begin{document} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Page One information %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ExperimentTitle{} \ExperimentNumber{} \Beamline{} \ExperimentDateStart{} \ExperimentDateStop{} \ReportDate{} \Shifts{} \LocalContact{} \Applicants{} \ReportI{} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Page Two information %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % report (continued) \ReportII{} % Create both pages: \PageOne \PageTwo \end{document} ESRFExpReport.sty000060000036230006665000000140340674540435600157730ustar00asthaltrmoessbau00000000000000% % ESRF Experimental Report Form % Written by Tanja Asthalter, ESRF 21st of July 1999 using the % Proposal form by Andy Hammersley, ESRF 1st September 1994 % as a ``template'' % NOTE: The ESRF exp. report form is normally an A4 form, so these commands % also produce A4 output. % % dvips needs the option -t a4 to produce an A4 output PostScript % file e.g. To produce the PostScript file ``file.ps'', from the dvi % file ``file.dvi'' the following command line might be used (which % redirects the output into a file). % % dvips -t a4 file > file.ps % % (With an alternative program to produce PostScript files from dvi % files another option may be needed.) % This style is not suitable for inclusion into other documents, common % command definitions have been used which could easily cause problems %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % No page number nor headings etc. %\input a4wide.sty \pagestyle{empty} % Set page size and margins \topskip 0mm \topmargin -15truemm \headsep 0mm \headheight 0mm \textheight 280truemm \textwidth 190truemm \oddsidemargin -15truemm \evensidemargin -15truemm \marginparwidth 0mm \marginparsep 0mm \footheight 0mm \footskip 0mm \parskip=5mm \parindent=0mm % Define ESRF logo \def\ESRFlogo{ \setlength{\unitlength}{.2mm} \begin{picture}(0,0) \put(0,22){\circle*{9}} \put(11,18){\circle*{9}}\put(-11,18){\circle*{9}} \put(20,9){\circle*{9}}\put(-20,9){\circle*{9}} \put(21,-3){\circle*{9}}\put(-21,-3){\circle*{9}} \put(16,-14){\circle*{9}}\put(-16,-14){\circle*{9}} \put(6,-21){\circle*{9}}\put(-6,-21){\circle*{9}} % \put(0,34){\circle*{6}} \put(9,32){\circle*{6}}\put(-9,32){\circle*{6}} \put(18,28){\circle*{6}}\put(-18,28){\circle*{6}} \put(18,-28){\circle*{6}}\put(-18,-28){\circle*{6}} \put(25,22){\circle*{6}}\put(-25,22){\circle*{6}} \put(25,-22){\circle*{6}}\put(-25,-22){\circle*{6}} \put(30,14){\circle*{6}}\put(30,-14){\circle*{6}} \put(-30,14){\circle*{6}}\put(-30,-14){\circle*{6}} \put(33,4){\circle*{6}}\put(-33,4){\circle*{6}} \put(32,-6){\circle*{6}}\put(-33,-6){\circle*{6}} \put(9,-32){\circle*{6}}\put(-9,-32){\circle*{6}} \put(0,-33){\circle*{6}} %%% smaller logo needs smaller outer circles not supplied by \circle, %%% T.Asthalter 1.3.99 \psset{xunit=0.2mm,yunit=0.2mm,runit=0.1mm,fillstyle=solid,fillcolor=black} \pscircle(0,44){3.5}\pscircle(0,-43){3.5} \pscircle(12,42){3.5}\pscircle(12,-42){3.5} \pscircle(23,37){3.5}\pscircle(23,-37){3.5} \pscircle(33,28){3.5}\pscircle(33,-28){3.5} \pscircle(40,18){3.5}\pscircle(40,-18){3.5} \pscircle(43,6){3.5}\pscircle(43,-6){3.5} \pscircle(-12,-42){3.5}\pscircle(-12,42){3.5} \pscircle(-23,-37){3.5}\pscircle(-23,37){3.5} \pscircle(-33,-28){3.5}\pscircle(-33,28){3.5} \pscircle(-40,-18){3.5}\pscircle(-40,18){3.5} \pscircle(-43,-6){3.5}\pscircle(-43,6){3.5} % \pscircle(0,52){2.5}\pscircle(0,-51){2.5} \pscircle(14,49){2.5}\pscircle(-14,49){2.5} \pscircle(28,43){2.5}\pscircle(-28,43){2.5} \pscircle(39,34){2.5}\pscircle(-39,34){2.5} \pscircle(47,21){2.5}\pscircle(-47,21){2.5} \pscircle(51,7){2.5}\pscircle(-51,7){2.5} \pscircle(51,-7){2.5}\pscircle(-51,-7){2.5} \pscircle(47,-21){2.5}\pscircle(-47,-21){2.5} \pscircle(39,-34){2.5}\pscircle(-39,-34){2.5} \pscircle(28,-43){2.5}\pscircle(-28,-43){2.5} \pscircle(14,-49){2.5}\pscircle(-14,-49){2.5} %%% add ``ESRF'' plus lines: \thicklines \put(-54,-55){\line(1,0){29}}\put(-54,-56){\line(1,0){29}} \put(25,-55){\line(1,0){29}}\put(25,-56){\line(1,0){29}} \put(-54,-89){\line(1,0){108}}\put(-54,-90){\line(1,0){108}} \put(0,-72){\makebox(0,0){\LARGE\bf ESRF}} \end{picture} } % Commands to define experiment title, number, beamline, date etc. \newcommand{\ExperimentTitle}[1]{\def\ProTitle{#1}} \newcommand{\ExperimentNumber}[1]{\def\ProNumber{#1}} \newcommand{\Beamline}[1]{\def\ProBeamline{#1}} \newcommand{\ExperimentDateStart}[1]{\def\ProDateExpStart{#1}} \newcommand{\ExperimentDateStop}[1]{\def\ProDateExpStop{#1}} \newcommand{\ReportDate}[1]{\def\ProDateRep{#1}} \newcommand{\Shifts}[1]{\def\ProShifts{#1}} \newcommand{\LocalContact}[1]{\def\ProLocContact{#1}} \newcommand{\Applicants}[1]{\def\ProApplicants{#1}} \newcommand{\ReportI}[1]{\def\ProReportI{#1}} % Command to make the front page of the report form \newcommand{\PageOne} { % Set standard unit length to mm \unitlength=1mm % Enter picture mode \begin{picture}(190,280)(0,0) % Create page header \put(11,274){\ESRFlogo} %%% Create experiment title box \put (0,157){\framebox(188,97){ }} \put (0,217){\line(1,0){188}} \put (0,235){\line(1,0){146}} \put (28,282){\line(1,0){160}} %\put (){\line(1,0){}} \put (28,217){\line(0,1){65}} \put (146,217){\line(0,1){65}} \put (188,255){\line(0,1){27}} %%% \put(30,275){\parbox[t]{115mm}{\large{\bf Experiment title:~}% \newline\ProTitle}} \put(30,248){\parbox[t]{115mm}% {\large{\bf Date of experiment:~}\newline\large from:~\ProDateExpStart% \hskip 2 true cm to:~\ProDateExpStop}} \put(30,229){\parbox[t]{115mm}{\large{\bf Local contact(s):~}% \newline\ProLocContact}} \put(2,248){\parbox[t]{25mm}{\large{\bf Beamline:}\newline{\ProBeamline}}} \put(2,229){\parbox[t]{25mm}{\large{\bf Shifts:}\newline{\ProShifts}}} \put(152,275){\parbox[t]{32mm}{\centering\large{\bf Experiment number:}% \newline\bigskip\ProNumber}} \put(149,248){\parbox[t]{38mm}{\large\centering{\bf Date of report:} \newline\ProDateRep}} \put(147,229){\large\it Received at ESRF:} \put(2,211){\parbox[t]{183mm}{\large{\bf Names and affiliations of applicants} (* indicates experimentalists):\newline{\ProApplicants}}} \put(2,148){\parbox[t]{183mm}{\large Report:\newline\ProReportI}} % Proposal form version \put (0,0){\tiny ESRF Experiment Report Form July 1999} \end{picture} } %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Page Two % %Report, continuation \newcommand{\ReportII}[1]{\def\ProReportII{#1}} % Command to make the second page of the report \newcommand{\PageTwo} { % Set standard unit length to mm \unitlength=1mm % Enter picture mode \begin{picture}(190,280)(0,0) \put(1,271){\parbox[t]{185mm}{\large{\ProReportII}}} % % Report form version \put (0,0){\tiny ESRF Experiment Report Form July 1999} \end{picture} } If LaTeX produces errors, it may be that the ``ESRFProposal.sty'' % file is missing from the standard TeX style files directory. Your % system administrator should be able to obtain the file % (aftp expga.esrf.fr) and install it in the correct general directory. % Don't change the names of any of the commands, or delete the % commands, as this will cause errors. % 10. In order to obtain the ESRF logo, this file uses the PSTRICKS % package. This package should be available with any standard LaTeX2e % installation. Otherwise, .sty files and other info may e.g. be % obtained from ftp.dante.de under pub/tex/graphics/pstricks (login % as anonymous). % 11. If you include a picture using psfig or a similar package and % make use of the LaTeX picture command, you must type % \vspace{y} % after the picture command if y was the height of the picture. Otherwise % on page 3 and 4 subsequent sections may overlap with your picture. % In case of unwanted offset above the picture, try % \begin{picture}(170,0)(0,y) % \put(0,5){\psfig{file=fig.ps,width=...}} % \end{picture} % % \vspace{y}% % % Note that \unitlength is automatically set to 1 mm. \documentstyle[12pt,ESRFExpReport,psfig,pstricks]{article} \begin{document} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Page One information %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ExperimentTitle{} \ExperimentNumber{} \Beamline{} \ExperimentDateStart{} \ExperimentDateStop{} \ReportDate{} \Shifts{} \LocalContact{} \Applicants{} \ReportI{} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Page Two information %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % report (continued) \ReportII{} % Create both pages: \PageOne \PageTwo \end{document} ESRFExpReport.sty000060000036230006665000000140340674540435600157730ustar00asthaltrmoessbau00000000000000% % ESRF Experimental Report Form % Written by Tanja Asthalter, ESRF 21st of July 1999 using the % Proposal form by Andy Hammersley, ESRF 1st September 1994 % as a ``template'' % NOTE: The ESRF exp. report form is normally an A4 form, so these commands % also produce A4 output. % % dvips needs the option -t a4 to produce an A4 output PostScript % file e.g. To produce the PostScript file ``file.ps'', from the dvi % file ``file.dvi'' the following command line might be used (which % redirects the output into a file). % % dvips -t a4 file > file.ps % % (With an alternative program to produce PostScript files from dvi % files another option may be needed.) % This style is not suitable for inclusion into other documents, common % command definitions have been used which could easily cause problems %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % No page number nor headings etc. %\input a4wide.sty \pagestyle{empty} % Set page size and margins \topskip 0mm \topmargin -15truemm \headsep 0mm \headheight 0mm \textheight 280truemm \textwidth 190truemm \oddsidemargin -15truemm \evensidemargin -15truemm \marginparwidth 0mm \marginparsep 0mm \footheight 0mm \footskip 0mm \parskip=5mm \parindent=0mm % Define ESRF logo \def\ESRFlogo{ \setlength{\unitlength}{.2mm} \begin{picture}(0,0) \put(0,22){\circle*{9}} \put(11,18){\circle*{9}}\put(-11,18){\circle*{9}} \put(20,9){\circle*{9}}\put(-20,9){\circle*{9}} \put(21,-3){\circle*{9}}\put(-21,-3){\circle*{9}} \put(16,-14){\circle*{9}}\put(-16,-14){\circle*{9}} \put(6,-21){\circle*{9}}\put(-6,-21){\circle*{9}} % \put(0,34){\circle*{6}} \put(9,32){\circle*{6}}\put(-9,32){\circle*{6}} \put(18,28){\circle*{6}}\put(-18,28){\circle*{6}} \put(18,-28){\circle*{6}}\put(-18,-28){\circle*{6}} \put(25,22){\circle*{6}}\put(-25,22){\circle*{6}} \put(25,-22){\circle*{6}}\put(-25,-22){\circle*{6}} \put(30,14){\circle*{6}}\put(30,-14){\circle*{6}} \put(-30,14){\circle*{6}}\put(-30,-14){\circle*{6}} \put(33,4){\circle*{6}}\put(-33,4){\circle*{6}} \put(32,-6){\circle*{6}}\put(-33,-6){\circle*{6}} \put(9,-32){\circle*{6}}\put(-9,-32){\circle*{6}} \put(0,-33){\circle*{6}} %%% smaller logo needs smaller outer circles not supplied by \circle, %%% T.Asthalter 1.3.99 \psset{xunit=0.2mm,yunit=0.2mm,runit=0.1mm,fillstyle=solid,fillcolor=black} \pscircle(0,44){3.5}\pscircle(0,-43){3.5} \pscircle(12,42){3.5}\pscircle(12,-42){3.5} \pscircle(23,37){3.5}\pscircle(23,-37){3.5} \pscircle(33,28){3.5}\pscircle(33,-28){3.5} \pscircle(40,18){3.5}\pscircle(40,-18){3.5} \pscircle(43,6){3.5}\pscircle(43,-6){3.5} \pscircle(-12,-42){3.5}\pscircle(-12,42){3.5} \pscircle(-23,-37){3.5}\pscircle(-23,37){3.5} \pscircle(-33,-28){3.5}\pscircle(-33,28){3.5} \pscircle(-40,-18){3.5}\pscircle(-40,18){3.5} \pscircle(-43,-6){3.5}\pscircle(-43,6){3.5} % \pscircle(0,52){2.5}\pscircle(0,-51){2.5} \pscircle(14,49){2.5}\pscircle(-14,49){2.5} \pscircle(28,43){2.5}\pscircle(-28,43){2.5} \pscircle(39,34){2.5}\pscircle(-39,34){2.5} \pscircle(47,21){2.5}\pscircle(-47,21){2.5} \pscircle(51,7){2.5}\pscircle(-51,7){2.5} \pscircle(51,-7){2.5}\pscircle(-51,-7){2.5} \pscircle(47,-21){2.5}\pscircle(-47,-21){2.5} \pscircle(39,-34){2.5}\pscircle(-39,-34){2.5} \pscircle(28,-43){2.5}\pscircle(-28,-43){2.5} \pscircle(14,-49){2.5}\pscircle(-14,-49){2.5} %%% add ``ESRF'' plus lines: \thicklines \put(-54,-55){\line(1,0){29}}\put(-54,-56){\line(1,0){29}} \put(25,-55){\line(1,0){29}}\put(25,-56){\line(1,0){29}} \put(-54,-89){\line(1,0){108}}\put(-54,-90){\line(1,0){108}} \put(0,-72){\makebox(0,0){\LARGE\bf ESRF}} \end{picture} } % Commands to define experiment title, number, beamline, date etc. \newcommand{\ExperimentTitle}[1]{\def\ProTitle{#1}} \newcommand{\ExperimentNumber}[1]{\def\ProNumber{#1}} \newcommand{\Beamline}[1]{\def\ProBeamline{#1}} \newcommand{\ExperimentDateStart}[1]{\def\ProDateExpStart{#1}} \newcommand{\ExperimentDateStop}[1]{\def\ProDateExpStop{#1}} \newcommand{\ReportDate}[1]{\def\ProDateRep{#1}} \newcommand{\Shifts}[1]{\def\ProShifts{#1}} \newcommand{\LocalContact}[1]{\def\ProLocContact{#1}} \newcommand{\Applicants}[1]{