Minor cleanups, copyright blurbs, and version bumps.
[problempack.git] / wtk_cmmds.sty
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{}
 
-% Author, Copyright junk
+% Author, Copyright stuff
 \newcommand{\copytitle}{
   \begin{center}
     Copyright \copyright\ \today\ by W.\ Trevor King\\
@@ -18,6 +35,7 @@
 \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