--- loncom/homework/outputtags.pm 2002/07/22 18:43:37 1.16 +++ loncom/homework/outputtags.pm 2002/07/26 19:14:13 1.17 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # tags that create controlled output # -# $Id: outputtags.pm,v 1.16 2002/07/22 18:43:37 sakharuk Exp $ +# $Id: outputtags.pm,v 1.17 2002/07/26 19:14:13 sakharuk Exp $ # # Copyright Michigan State University Board of Trustees # @@ -82,7 +82,8 @@ sub start_displaytitle { $result.=''; $result.=&Apache::edit::end_table(); } elsif ($target eq 'tex') { - $result='\textbf{'.$Apache::lonhomework::name.'}'; + $Apache::lonhomework::name=~s/&/\&/g; + $result='\vskip 0 mm\textbf{'.$Apache::lonhomework::name.'}\vskip 0 mm'; } return $result; }