Minor cleanups, copyright blurbs, and version bumps.
authorW. Trevor King <wking@drexel.edu>
Thu, 14 Oct 2010 12:38:32 +0000 (08:38 -0400)
committerW. Trevor King <wking@drexel.edu>
Thu, 14 Oct 2010 12:38:32 +0000 (08:38 -0400)
problempack.sty
wtk_cmmds.sty
wtk_format.sty

index 4a1f013dc66f22a6b157ffff6718ed5cd15c1769..d9d374b30226f677c6c43e37919397d23d3f35a8 100644 (file)
@@ -1,7 +1,6 @@
 % problempack.sty, a package for generating problem/solution sets.
 % problempack.sty, a package for generating problem/solution sets.
-% Version 0.3
 %
 %
-% Copyright (C) 2008-2009 W. Trevor King <wking@drexel.edu>
+% Copyright (C) 2008-2010 W. Trevor King <wking@drexel.edu>
 %
 % This program is free software; you can redistribute it and/or modify
 % it under the terms of the GNU General Public License as published by
 %
 % This program is free software; you can redistribute it and/or modify
 % it under the terms of the GNU General Public License as published by
 % You should have received a copy of the GNU General Public License along
 % with this program; if not, write to the Free Software Foundation, Inc.,
 % 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 % You should have received a copy of the GNU General Public License along
 % with this program; if not, write to the Free Software Foundation, Inc.,
 % 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-%
-%
+
 % see clsguide.pdf for a LaTeX package tutorial
 % see xkeyval.pdf for a 72 page spiel on xkeyval
 
 \NeedsTeXFormat{LaTeX2e}
 % see clsguide.pdf for a LaTeX package tutorial
 % see xkeyval.pdf for a 72 page spiel on xkeyval
 
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{problempack}[2008/04/02]
+\ProvidesPackage{problempack}[2010/10/14 0.4 problempack]
 
 \RequirePackage{comment}% show/hide the solution sections
 \RequirePackage[pdftex]{hyperref} % pdf niceties & active links
 
 \RequirePackage{comment}% show/hide the solution sections
 \RequirePackage[pdftex]{hyperref} % pdf niceties & active links
 \hypersetup{pdfstartview=FitH} % zooming to fit the page width.
 \hypersetup{colorlinks} % don't do the ugly boxes around links
 
 \hypersetup{pdfstartview=FitH} % zooming to fit the page width.
 \hypersetup{colorlinks} % don't do the ugly boxes around links
 
-% You can safely delete/override of the following code without effecting the
-% core problem/solution environment behavior.
-
+% setup a simple title
 \renewcommand{\maketitle}{%
   \begin{center}
   {\Large \Pr@blemClasstitle} \\
   \Pr@blemSubheading
   \end{center}
 }
 \renewcommand{\maketitle}{%
   \begin{center}
   {\Large \Pr@blemClasstitle} \\
   \Pr@blemSubheading
   \end{center}
 }
-
-%% include some useful goodies
-\RequirePackage[pdftex]{graphicx}   % to include images
-%\DeclareGraphicsRule{*}{mps}{*}{}
-%\RequirePackage{emp}                % embed MetaPost pictures in LaTeX
-% you need to add \begin{emp*}\end{emp*} by hand, because emp parser
-% doesn't realize \end{EMP} might expand to \end{emp} or \end{empfile}.
-%\newenvironment{EMP}[1]%
-% {\begin{center}\begin{empfile}[problem#1]\begin{emp}(0,0)}%
-% {\end{emp}\end{empfile}\end{center}}
-
-
-%% define a few physics shortcuts
-%\newcommand{\U}[1]{\text{ #1}}                        % units shortcut
-%\newcommand{\E}[1]{\ensuremath{\cdot 10 ^{#1}}}       % exponent shortcut
-%\newcommand{\dg}{\ensuremath{^{\circ}}}         % degree symbol ^o
-%\newcommand{\vect}[1]{\ensuremath{\mathbf{#1}}} % make vectors bold
-%\newcommand{\p}[3]{\left#1 #2 \right#3}   % parenthesis, e.g. \p({complicated expr})
-%
-%\newcommand{\ihat}{\vect{\hat{i}}}
-%\newcommand{\jhat}{\vect{\hat{j}}}
-%\newcommand{\khat}{\vect{\hat{k}}}
-%\newcommand{\rhat}{\vect{\hat{r}}}
-
-
-%% finally, set up some simple formatting.
-
-% fill the page
-\topmargin -0.5in
-\headheight 0.0in
-\headsep 0.0in
-\textheight 10in
-\oddsidemargin -0.5in
-\textwidth 7.5in
-\pagestyle{empty} % no room for page numbers
-
-% struts for table spacing
-%\newcommand{\Tstrut}{\rule{0pt}{2.6ex}}
-%\newcommand{\Bstrut}{\rule[-1.2ex]{0pt}{0pt}}
index 237bbc9c3ed5fcc8baf8708ee86902f78092db0a..a89e70f9644be9c92d3cdc22b58a47ea388ae69a 100644 (file)
@@ -1,11 +1,28 @@
-% Assorted macros useful to W. Trevor King (mostly for physics)
+% wtk_cmmds.sty, assorted macros useful to W. Trevor King (mostly for physics)
 %
 %
-% Released to the public domain.
+% Copyright (C) 2009-2010 W. Trevor King <wking@drexel.edu>
+%
+% This program is free software; you can redistribute it and/or modify
+% it under the terms of the GNU General Public License as published by
+% the Free Software Foundation; either version 2 of the License, or
+% (at your option) any later version.
+%
+% This program is distributed in the hope that it will be useful,
+% but WITHOUT ANY WARRANTY; without even the implied warranty of
+% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+% GNU General Public License for more details.
+%
+% You should have received a copy of the GNU General Public License along
+% with this program; if not, write to the Free Software Foundation, Inc.,
+% 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{wtk_cmmds}[2010/10/14 0.2 wtk_cmmds]
 
 \RequirePackage{relsize} % for \smaller
 \RequirePackage{amsmath} % for \text{}
 
 
 \RequirePackage{relsize} % for \smaller
 \RequirePackage{amsmath} % for \text{}
 
-% Author, Copyright junk
+% Author, Copyright stuff
 \newcommand{\copytitle}{
   \begin{center}
     Copyright \copyright\ \today\ by W.\ Trevor King\\
 \newcommand{\copytitle}{
   \begin{center}
     Copyright \copyright\ \today\ by W.\ Trevor King\\
@@ -18,6 +35,7 @@
 \newtheorem{cor}[thm]{Corollary}
 \newtheorem{lem}{Lemma}
 
 \newtheorem{cor}[thm]{Corollary}
 \newtheorem{lem}{Lemma}
 
+% define a few physics shortcuts
 \newcommand{\U}[1]{\text{ #1}}                 % units shortcut
 \newcommand{\E}[1]{\ensuremath{\cdot 10 ^{#1}}}        % exponent shortcut
 \newcommand{\dg}{\ensuremath{^{\circ}}}         % degree symbol ^o
 \newcommand{\U}[1]{\text{ #1}}                 % units shortcut
 \newcommand{\E}[1]{\ensuremath{\cdot 10 ^{#1}}}        % exponent shortcut
 \newcommand{\dg}{\ensuremath{^{\circ}}}         % degree symbol ^o
index 1d07d1acfafe95d7210695ab26acdee92e83ad2e..140f5a92a803c201c2d15ffdba26a0de4f041f58 100644 (file)
@@ -1,10 +1,29 @@
-% general layout for the document (use most of the page).\r
+% wtk_format.sty, a package for using more of a letter-sized page.\r
 %\r
 %\r
-% Released to the public domain.\r
+% Copyright (C) 2009-2010 W. Trevor King <wking@drexel.edu>\r
+%\r
+% This program is free software; you can redistribute it and/or modify\r
+% it under the terms of the GNU General Public License as published by\r
+% the Free Software Foundation; either version 2 of the License, or\r
+% (at your option) any later version.\r
+%\r
+% This program is distributed in the hope that it will be useful,\r
+% but WITHOUT ANY WARRANTY; without even the implied warranty of\r
+% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
+% GNU General Public License for more details.\r
+%\r
+% You should have received a copy of the GNU General Public License along\r
+% with this program; if not, write to the Free Software Foundation, Inc.,\r
+% 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\r
+\r
+\NeedsTeXFormat{LaTeX2e}\r
+\ProvidesPackage{wtk_format}[2010/10/14 0.2 wtk_format]\r
 \r
 \r
+% fill the page\r
 \topmargin -0.5in\r
 \headheight 0.0in\r
 \headsep 0.0in\r
 \topmargin -0.5in\r
 \headheight 0.0in\r
 \headsep 0.0in\r
-\textheight 9.5in % leave a bit of extra room for page numbers\r
+\textheight 10in\r
 \oddsidemargin -0.5in\r
 \textwidth 7.5in\r
 \oddsidemargin -0.5in\r
 \textwidth 7.5in\r
+\pagestyle{empty} % no room for page numbers\r