[LON-CAPA-cvs] cvs: loncom /xml physnet.sty

sakharuk lon-capa-cvs@mail.lon-capa.org
Tue, 03 Jun 2003 12:58:21 -0000


sakharuk		Tue Jun  3 08:58:21 2003 EDT

  Modified files:              
    /loncom/xml	physnet.sty 
  Log:
  Added scaling for ItemFigure tag neccessary to print pictures in Answer Sections reasonably for portrait layout.
  
  
Index: loncom/xml/physnet.sty
diff -u loncom/xml/physnet.sty:1.25 loncom/xml/physnet.sty:1.26
--- loncom/xml/physnet.sty:1.25	Mon Jun  2 11:42:44 2003
+++ loncom/xml/physnet.sty	Tue Jun  3 08:58:21 2003
@@ -436,7 +436,7 @@
    <meta></meta>
    <render>
       <web><hideweboutput></web>
-      <tex></tex>
+      <tex>\keephidden{</tex>
   </render>
 </definetag>
 
@@ -445,7 +445,7 @@
    <meta></meta>
    <render>
       <web></hideweboutput></web>
-      <tex></tex>
+      <tex>}</tex>
   </render>
 </definetag>
 
@@ -454,7 +454,7 @@
    <meta></meta>
    <render>
       <web><hideweboutput></web>
-      <tex></tex>
+      <tex>\keephidden{</tex>
   </render>
 </definetag>
 
@@ -463,7 +463,7 @@
    <meta></meta>
    <render>
       <web></hideweboutput></web>
-      <tex></tex>
+      <tex>}</tex>
   </render>
 </definetag>
 
@@ -3673,8 +3673,8 @@
            \begin{minipage}[b]{\linewidth}
            \noindent
            \graphicspath{{/home/httpd/html/res/physnet/physnet/$module/}}
-           \fbox{\includegraphics{$figure.eps}}
-           \settowidth{\figwidth}{\fbox{\includegraphics{$figure.eps}}} 
+           \fbox{\scalebox{0.9}{\includegraphics{$figure.eps}}}
+           \settowidth{\figwidth}{\fbox{\scalebox{0.9}{\includegraphics{$figure.eps}}}} 
            \hfill
            \parbox[b]{\linewidth - \figwidth - 0.5 cm}{</tex>
    </render>