--- loncom/xml/physnet.sty 2003/05/28 19:02:38 1.17 +++ loncom/xml/physnet.sty 2003/05/29 14:19:52 1.18 @@ -38,7 +38,7 @@ <m>\renewcommand{\bincoeff}[2]{\begin{array}{c}\left(\begin{array}{c}#1\\#2\end{array}\right)\end{array}}</m> </web> <tex> - \documentclass[letterpaper,twoside]{article} + \documentclass{article} \usepackage{fancyhdr} \usepackage[dvips]{graphicx} \usepackage{latexsym} @@ -93,7 +93,7 @@ \newcommand{\keephidden}[1]{} \newcommand{\bincoeff}[2]{\begin{array}{c}\left(\begin{array}{c}#1\\#2\end{array}\right)\end{array}} \makeatletter - \newcommand{\startsection}[6]{\@startsection{#1}{#2}{0pt}{#3}{#4}{#5}*{#6}{}} + \newcommand{\startsection}[6]{\vskip 1 mm \@startsection{#1}{#2}{0pt}{#3}{#4}{#5}*{#6}{}} \newcommand{\pcap}[3]{\startsection{pcap}{4}{0pt}{0pt}{\bf }{#1#2. #3.\hspace*{1pc}\write\tcfile{\protect\tcpc{#2. #3}{\the\value{relpage}}}}} \newcommand{\spcap}[2]{\mathversion{bold}\startsection{scap}{3}{12pt}{1pt}{\large\bf }{\hspace*{\fill}\ifthenelse{\equal{#1}{}}{\uppercase{#2}\write\tcfile{\protect\tcsc{\uppercase{#2}}{\the\value{relpage}}}}{#1. \uppercase{#2}\write\tcfile{\protect\tcsc{\uppercase{#1. #2}}{\the\value{relpage}}}}\hspace*{\fill}}\mathversion{normal}} \newcommand{\scap}[2]{\mathversion{bold}\startsection{scap}{3}{12pt}{1pt}{\large\bf }{\hspace*{\fill}\ifthenelse{\equal{#1}{}}{\uppercase{#2}\write\tcfile{\protect\tcsc{\uppercase{#2}}{}}}{#1. \uppercase{#2}\write\tcfile{\protect\tcsc{\uppercase{#1. #2}}{}}}\hspace*{\fill}}\mathversion{normal}} @@ -145,7 +145,8 @@ <meta></meta> <render> <web></web> - <tex>\setcounter{bookpage}{\value{page}} + <tex>\setcounter{bookpage}{\value{page}} + \setlength{\headwidth}{\textwidth} \lhead{\textit{ID Sheet: MISN-0-$module}} \begin{IdItems}</tex> </render> @@ -156,7 +157,7 @@ <meta></meta> <render> <web></web> - <tex>\end{IdItems}\newpage </tex> + <tex>\end{IdItems} </tex> </render> </definetag> @@ -633,6 +634,7 @@ <render> <web></web> <tex>\setcounter{bookpage}{\value{page}} + \setlength{\headwidth}{\textwidth} \lhead{\textit{MISN-0-$module}} \newwrite\tcfile \openout\tcfile=m$module-tc.tex </tex> @@ -770,7 +772,8 @@ <definetag name = "TuSuppl" parms="module,letter"> <meta><output><tutorial>$letter</tutorial></output><render> <web><center><h1>TUTORIAL FOR $letter</h1></center></web> - <tex>\setcounter{bookpage}{\value{page}} + <tex>\setcounter{bookpage}{\value{page}} + \setlength{\headwidth}{\textwidth} \lhead{\textit{MISN-0-$module}} \rhead{$letter-tu-\doort} \chead{Tutorial Supplement}</tex> @@ -845,7 +848,7 @@ <meta></meta> <render> <web><br /><br /></web> - <tex>\\</tex> + <tex>\vskip 0 mm \noindent </tex> </render> </definetag> @@ -936,6 +939,7 @@ <render> <web><center><h1>PRACTICE PROBLEMS</h1></center></web> <tex>\newpage\setcounter{bookpage}{\value{page}} + \setlength{\headwidth}{\textwidth} \lhead{\textit{MISN-0-$module}} \rhead{pp-\doort} \chead{Additional Problems Supplement} @@ -994,6 +998,7 @@ <render> <web><center><h1>SUGGESTIONS</h1></center></web> <tex>\newpage\setcounter{bookpage}{\value{page}} + \setlength{\headwidth}{\textwidth} \lhead{\textit{MISN-0-$module}} \rhead{su-\doort} \chead{Suggestions Supplement} @@ -1034,6 +1039,7 @@ <render> <web><center><h1> ANSWERS TO PROBLEMS </h1></center></web> <tex>\newpage\setcounter{bookpage}{\value{page}} + \setlength{\headwidth}{\textwidth} \lhead{\textit{MISN-0-$module}} \rhead{an-\doort} \chead{Answerss Supplement} @@ -1056,6 +1062,7 @@ <render> <web><center><h1> MODEL EXAM </h1></center></web> <tex>\newpage\setcounter{bookpage}{\value{page}} + \setlength{\headwidth}{\textwidth} \lhead{\textit{MISN-0-$module}} \rhead{ME-\doort} \chead{Model Exam} @@ -1683,6 +1690,7 @@ <render> <web></web> <tex>\setcounter{bookpage}{\value{page}} + \setlength{\headwidth}{\textwidth} \lhead{\textit{MISN-0-$module}} \rhead{$number-tu-\doort} \chead{Tutorial Supplement}</tex> @@ -1703,7 +1711,8 @@ <meta></meta> <render> <web><center><h1> PRACTICE PROBLEMS </web> - <tex>\setcounter{bookpage}{\value{page}} + <tex>\setcounter{bookpage}{\value{page}} + \setlength{\headwidth}{\textwidth} \lhead{\textit{MISN-0-$module}} \rhead{pp-\doort} \chead{Additional Problems Supplement} @@ -1822,6 +1831,7 @@ <render> <web><center><h1> SUGGESTIONS </web> <tex>\setcounter{bookpage}{\value{page}} + \setlength{\headwidth}{\textwidth} \lhead{\textit{MISN-0-$module}} \rhead{su-\doort} \chead{Suggestions Supplement} @@ -1973,7 +1983,8 @@ <meta></meta> <render> <web><center><h1> ANSWERS TO PROBLEMS </h1></center></web> - <tex>\setcounter{bookpage}{\value{page}} + <tex>\setcounter{bookpage}{\value{page}} + \setlength{\headwidth}{\textwidth} \lhead{\textit{MISN-0-$module}} \rhead{an-\doort} \chead{Answerss Supplement} @@ -2014,6 +2025,7 @@ <render> <web><center> <h1> MODEL EXAM </h1> </center></web> <tex>\newpage\setcounter{bookpage}{\value{page}} + \setlength{\headwidth}{\textwidth} \lhead{\textit{MISN-0-$module}} \rhead{ME-\doort} \chead{Model Exam} @@ -2232,6 +2244,7 @@ <render> <web></web> <tex>\setcounter{bookpage}{\value{page}} + \setlength{\headwidth}{\textwidth} \lhead{\textit{MISN-0-$module}} \rhead{\doort} \newwrite\tcfile @@ -2289,7 +2302,7 @@ <meta></meta> <render> <web><br /><br /><i><font color="#CC6633"></web> - <tex>{\hspace*{-\the\parindent}\noindent + <tex>{\vskip 0 mm \hspace*{-\the\parindent}\noindent \begin{picture}(4,4) \thicklines \put(3,3){\vector(1,0){0}} @@ -3344,6 +3357,7 @@ <render> <web><center><h1> <font color="#009900"> PROBLEM SUPPLEMENT </web> <tex>\newpage\setcounter{bookpage}{\value{page}} + \setlength{\headwidth}{\textwidth} \lhead{\textit{MISN-0-$module}} \rhead{PS-\doort} \chead{Problems Supplement} @@ -3366,6 +3380,7 @@ <render> <web><center><h1> <font color="#009900"> SPECIAL ASSISTANCE SUPPLEMENT </font></h1></web> <tex>\newpage\setcounter{bookpage}{\value{page}} + \setlength{\headwidth}{\textwidth} \lhead{\textit{MISN-0-$module}} \rhead{AS-\doort} \chead{Special Assistance Supplement} @@ -3730,6 +3745,7 @@ <render> <web><center><h1>LOCAL GUIDE</h1></center></web> <tex>\setcounter{bookpage}{\value{page}} + \setlength{\headwidth}{\textwidth} \lhead{\textit{MISN-0-$module}} \rhead{LG-\doort} \chead{Local Guide} @@ -6819,7 +6835,7 @@ <meta></meta> <render> <web></web> - <tex></tex> + <tex>\tcsc</tex> </render> </definetag> @@ -6837,7 +6853,7 @@ <meta></meta> <render> <web><tr><td></web> - <tex></tex> + <tex>{</tex> </render> </definetag> @@ -6846,7 +6862,7 @@ <meta></meta> <render> <web></td></web> - <tex></tex> + <tex>}</tex> </render> </definetag> @@ -6891,7 +6907,7 @@ <meta></meta> <render> <web><td><hideweboutput></web> - <tex></tex> + <tex>{</tex> </render> </definetag> @@ -6900,7 +6916,7 @@ <meta></meta> <render> <web></hideweboutput></td></tr></web> - <tex></tex> + <tex>}</tex> </render> </definetag> @@ -7001,6 +7017,7 @@ <render> <web><br /><br /><center><h1>SUGGESTIONS FOR READING</h1></center><br /><br /></web> <tex>\newpage\setcounter{bookpage}{\value{page}} + \setlength{\headwidth}{\textwidth} \lhead{\textit{MISN-0-$module}} \rhead{rd-\doort} \chead{Suggestions for Reading} @@ -7342,6 +7359,7 @@ <render> <web></web> <tex>\setcounter{bookpage}{\value{page}} + \setlength{\headwidth}{\textwidth} \lhead{\textit{MISN-0-$module}} \rhead{\doort}</tex> </render> @@ -7445,8 +7463,8 @@ <definetag name = "/SubSubSect"> <meta></meta> <render> - <web></web> - <tex></tex> + <web><br /><br /></web> + <tex>\vskip 0 mm \noindent </tex> </render> </definetag>