-% 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\\
\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