Parent Directory
|
Revision Log
Added comments to setHeader.pg. This is now the default set header for both the screen and hardcopy output.
1 ################################################################################ 2 # WeBWorK Online Homework Delivery System 3 # Copyright © 2000-2003 The WeBWorK Project, http://openwebwork.sf.net/ 4 # $CVSHeader: webwork-modperl/conf/snippets/setHeader.pg,v 1.7 2004/04/22 22:15:09 gage Exp $ 5 # 6 # This program is free software; you can redistribute it and/or modify it under 7 # the terms of either: (a) the GNU General Public License as published by the 8 # Free Software Foundation; either version 2, or (at your option) any later 9 # version, or (b) the "Artistic License" which comes with this package. 10 # 11 # This program is distributed in the hope that it will be useful, but WITHOUT 12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 13 # FOR A PARTICULAR PURPOSE. See either the GNU General Public License or the 14 # Artistic License for more details. 15 ################################################################################ 16 17 DOCUMENT(); 18 19 loadMacros( 20 "PG.pl", 21 "PGbasicmacros.pl", 22 23 ); 24 25 26 #################################################### 27 # 28 # The item below printed out only when a hardcopy is made. 29 # 30 #################################################### 31 32 TEXT($BEGIN_ONE_COLUMN); 33 34 TEXT(MODES(TeX =>EV3(<<'END_TEXT'),HTML=>"")); 35 36 \noindent {\large \bf $studentName} 37 \hfill 38 \noindent {\large \bf \{protect_underbar($courseName)\} 39 $sectionNumber Fall 2003} 40 \par 41 42 END_TEXT 43 44 ########################################################## 45 # 46 # Items printed both to the screen when a hardcopy is made. 47 # 48 # You can insert a url pointing to your course's home page 49 # a few lines below. Remove the comment (#) symbol from the line 50 # to make it active. 51 # 52 ########################################################## 53 54 BEGIN_TEXT 55 56 $BBOLD WeBWorK assignment number $setNumber is due : $formattedDueDate. $EBOLD 57 58 $PAR 59 60 $PAR 61 The 62 $BR 63 \{ 64 htmlLink(qq!http://webwork.math.rochester.edu!, 65 "(* replace with url for the course home page *)") 66 \} 67 $BR 68 for the course contains the syllabus, grading policy and other information. 69 $PAR 70 END_TEXT 71 ########################################################### 72 # 73 # This is a good place to issue instructions or give comments 74 # for this problem set. 75 # 76 # EDIT BELOW 'BEGIN_TEXT' 77 ########################################################### 78 BEGIN_TEXT 79 $HR 80 $PAR 81 This file is /conf/snippets/setHeader.pg you can use it as 82 a model for creating files which introduce each problem set. 83 $PAR 84 $HR 85 END_TEXT 86 ########################################################### 87 # EDIT ABOVE 'END_TEXT' 88 ########################################################### 89 90 ########################################################### 91 # 92 # The item below will be printed for both the screen version and the 93 # hardcopy version. 94 # 95 ########################################################### 96 BEGIN_TEXT 97 98 The primary purpose of WeBWorK is to let you know that you are getting the correct answer or to alert 99 you if you are making some kind of mistake. Usually you can attempt a problem as many times as you want before 100 the due date. However, if you are having trouble figuring out your error, you should 101 consult the book, or ask a fellow student, one of the TA's or 102 your professor for help. Don't spend a lot of time guessing -- it's not very efficient or effective. 103 $PAR 104 Give 4 or 5 significant digits for (floating point) numerical answers. 105 For most problems when entering numerical answers, you can if you wish 106 enter elementary expressions such as \( 2\wedge3 \) instead of 8, \( sin(3*pi/2) \)instead 107 of -1, \( e\wedge (ln(2)) \) instead of 2, 108 \( (2+tan(3))*(4-sin(5))\wedge6-7/8 \) instead of 27620.3413, etc. 109 Here's the 110 \{ htmlLink(qq!http://webwork.math.rochester.edu/docs/docs/pglanguage/availableFunctions.html!,"list of the functions") \} 111 which WeBWorK understands. 112 $PAR 113 You can use the Feedback button on each problem 114 page to send e-mail to the professors. 115 116 117 118 END_TEXT 119 120 TEXT($END_ONE_COLUMN); 121 122 ENDDOCUMENT(); # This should be the last executable line in the problem.
| aubreyja at gmail dot com | ViewVC Help |
| Powered by ViewVC 1.0.9 |