[LON-CAPA-cvs] cvs: loncom /xml londefdef.pm

sakharuk lon-capa-cvs@mail.lon-capa.org
Fri, 14 Feb 2003 20:57:09 -0000


sakharuk		Fri Feb 14 15:57:09 2003 EDT

  Modified files:              
    /loncom/xml	londefdef.pm 
  Log:
  Added LaTeX package (standard - exist by default in any distribution) textcomp
  to allow to print some special symbols (cent, yen, ...). See changes in lonprintout.pm too.
  
  
Index: loncom/xml/londefdef.pm
diff -u loncom/xml/londefdef.pm:1.113 loncom/xml/londefdef.pm:1.114
--- loncom/xml/londefdef.pm:1.113	Fri Feb 14 14:35:55 2003
+++ loncom/xml/londefdef.pm	Fri Feb 14 15:57:09 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Tags Default Definition Module 
 #
-# $Id: londefdef.pm,v 1.113 2003/02/14 19:35:55 www Exp $
+# $Id: londefdef.pm,v 1.114 2003/02/14 20:57:09 sakharuk Exp $
 # 
 #
 # Copyright Michigan State University Board of Trustees
@@ -155,11 +155,12 @@
     } elsif ($target eq 'tex') {
 	@Apache::londefdef::table = ();
 	$currentstring .= '\documentclass[letterpaper]{article}
-                                 \newcommand{\keephidden}[1]{}
-                                 \renewcommand{\deg}{$^{\circ}$}
-                                 \usepackage[dvips]{graphicx}
-                                 \usepackage{epsfig}\usepackage{calc}
-                                 \newenvironment{choicelist}{\begin{enumerate}}{\end{enumerate}}';
+                           \newcommand{\keephidden}[1]{}
+                           \renewcommand{\deg}{$^{\circ}$}
+                           \usepackage{textcomp}
+                           \usepackage[dvips]{graphicx}
+                           \usepackage{epsfig}\usepackage{calc}
+\newenvironment{choicelist}{\begin{list}{}{\setlength{\rightmargin}{0in}\setlength{\leftmargin}{0.13in}\setlength{\topsep}{0.05in}\setlength{\itemsep}{0.022in}\setlength{\parsep}{0in}\setlength{\belowdisplayskip}{0.04in}\setlength{\abovedisplayskip}{0.05in}\setlength{\abovedisplayshortskip}{-0.04in}\setlength{\belowdisplayshortskip}{0.04in}}}{\end{list}}';
     }
     return $currentstring;
 }