# ASimpleCombinedHeaderFile.pg
# This header file can be used for both the screen and hardcopy output
DOCUMENT();
loadMacros(
"PG.pl",
"PGbasicmacros.pl",
);
TEXT($BEGIN_ONE_COLUMN);
####################################################
#
# The item below printed out only when a hardcopy is made.
#
####################################################
TEXT(MODES(TeX =>EV3(<<'EOT'),HTML=>""));
\noindent {\large \bf $studentName}
\hfill
{\large \bf {\{protect_underbar($courseName)\}}}
% Uncomment the line below if this course has sections. Note that this is a comment in TeX mode since this is only processed by LaTeX
% {\large \bf { Section: \{protect_underbar($sectionName)\} } }
\par
\noindent{\large \bf {Assignment \{protect_underbar($setNumber)\} due $formatedDueDate}}
\par\noindent \bigskip
% Uncomment and edit the line below if this course has a web page. Note that this is a comment in TeX mode.
%See the course web page for information http://yoururl/yourcourse
EOT
####################################################
#
# End of hardcopy only output.
#
####################################################
####################################################
#
# The items below are printed out only when set is displayed on screen
#
####################################################
TEXT(MODES(TeX =>"",HTML=>EV3(<<'EOT')));
$BBOLD WeBWorK Assignment \{ protect_underbar($setNumber) \} is due : $formattedDueDate. $EBOLD
$PAR
This assignment was based upon the following objectives:
- Compute the dot product of vectors.
- Find the angle between vectors
- Determine if vectors are orthogonal
- Compute the projection of a vector onto another vector
- Compute the projection of a vector onto a line
- Find the (shortest) distance from a point to a line
$BR
Here's the list of
\{ htmlLink(qq!http://webwork.maa.org/wiki/Available_Functions!,"functions and symbols") \}
which WeBWorK understands.
$PAR
EOT
####################################################
# Uncomment and edit the lines below if this course has a web page. Note that this is comment in Perl mode.
# IMPORTANT: Make sure the EOT at the bottom is at the beginning of a line with no spaces preceeding it.
#TEXT(MODES(TeX =>"",HTML=>EV3(<<'EOT')));
#See the course web page for information \{ htmlLink(qq!http://yoururl/yourcourse!,"your course name") \}
#EOT
####################################################
####################################################
#
# End of screen only output.
#
####################################################
####################################################
#
# Anything between the BEGIN_TEXT AND END_TEXT lines
# will be printed in both screen and hardcopy output
#
####################################################
BEGIN_TEXT
END_TEXT
TEXT($END_ONE_COLUMN);
ENDDOCUMENT(); # This should be the last executable line in the problem.
TEXT(MODES(TeX =>EV3(<<'EOT'),HTML=>""));
\noindent {\large \bf $studentName}
\hfill
{\large \bf {\{protect_underbar($courseName)\}}}
% Uncomment the line below if this course has sections. Note that this is a comment in TeX mode since this is only processed by LaTeX
% {\large \bf { Section: \{protect_underbar($sectionName)\} } }
\par
\noindent{\large \bf {Assignment \{protect_underbar($setNumber)\} due $formatedDueDate}}
\par\noindent \bigskip
% Uncomment and edit the line below if this course has a web page. Note that this is a comment in TeX mode.
%See the course web page for information http://yoururl/yourcourse
EOT
####################################################
#
# End of hardcopy only output.
#
####################################################
####################################################
#
# The items below are printed out only when set is displayed on screen
#
####################################################
TEXT(MODES(TeX =>"",HTML=>EV3(<<'EOT')));
$BBOLD WeBWorK Assignment \{ protect_underbar($setNumber) \} is due : $formattedDueDate. $EBOLD
$PAR
Here's the list of
\{ htmlLink(qq!http://webwork.maa.org/wiki/Available_Functions!,"functions and symbols") \}
which WeBWorK understands.
$BR
EOT
####################################################
# Uncomment and edit the lines below if this course has a web page. Note that this is comment in Perl mode.
# IMPORTANT: Make sure the EOT at the bottom is at the beginning of a line with no spaces preceeding it.
#TEXT(MODES(TeX =>"",HTML=>EV3(<<'EOT')));
#See the course web page for information \{ htmlLink(qq!http://yoururl/yourcourse!,"your course name") \}
#EOT
####################################################
####################################################
#
# End of screen only output.
#
####################################################
####################################################
#
# Anything between the BEGIN_TEXT AND END_TEXT lines
# will be printed in both screen and hardcopy output
#
####################################################
BEGIN_TEXT
END_TEXT
TEXT($END_ONE_COLUMN);
ENDDOCUMENT(); # This should be the last executable line in the problem.