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

sakharuk lon-capa-cvs@mail.lon-capa.org
Wed, 28 May 2003 19:02:38 -0000


sakharuk		Wed May 28 15:02:38 2003 EDT

  Modified files:              
    /loncom/xml	physnet.sty 
  Log:
  Some changes to physnet style file to ensure the printing in the same way as for the problems and ordinary xml/html files. This is the beginning.
  
  
Index: loncom/xml/physnet.sty
diff -u loncom/xml/physnet.sty:1.16 loncom/xml/physnet.sty:1.17
--- loncom/xml/physnet.sty:1.16	Tue May 27 10:41:18 2003
+++ loncom/xml/physnet.sty	Wed May 28 15:02:38 2003
@@ -46,14 +46,6 @@
            \usepackage{ifthen}
            \usepackage{calc}
            \usepackage{listings}
-           \setlength{\oddsidemargin}{-40pt}
-           \setlength{\evensidemargin}{-60pt}
-           \setlength{\topmargin}{200pt}
-           \setlength{\textwidth}{4.4in}
-           \setlength{\textheight}{6.8in}
-           \setlength{\parindent}{20pt}
-           \setlength{\marginparwidth}{90pt}
-           \setlength{\textfloatsep}{8pt plus 2.0pt minus 4.0pt}
            \setcounter{topnumber}{1} 
            \clubpenalty 10000
            \pagestyle{fancy}
@@ -3659,11 +3651,11 @@
            \begin{minipage}[b]{\linewidth}
            \noindent
            \graphicspath{{/home/httpd/html/res/physnet/physnet/$module/}}
-           \fbox{\includegraphics{$figure1.eps}}
+           \fbox{\scalebox{0.9}{\includegraphics{$figure1.eps}}}
            \settowidth{\figwidth}{\fbox{\includegraphics{$figure1.eps}}} 
-           \fbox{\includegraphics{$figure2.eps}}
+           \fbox{\scalebox{0.9}{\includegraphics{$figure2.eps}}}
            \settowidth{\numberwidth}{\fbox{\includegraphics{$figure2.eps}}} 
-           \fbox{\includegraphics{$figure3.eps}}\\
+           \fbox{\scalebox{0.9}{\includegraphics{$figure3.eps}}}\\
            \parbox[b]{\figwidth}{</tex>
    </render>
 </definetag>
@@ -6466,7 +6458,7 @@
 <definetag name = "maintitle">
    <meta></meta>
    <render>
-      <web></center><font text="gray"><i></web>
+      <web><font text="gray"><i></web>
       <tex>\keephidden{</tex>
    </render>
 </definetag>
@@ -6493,7 +6485,7 @@
 <definetag name = "/mainauthor">
    <meta></meta>
    <render>
-      <web></i><br /><br /></font><center></web>
+      <web></i><br /><br /></font></web>
       <tex>}</tex>
    </render>
 </definetag>