summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/SIunits/binary.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-01-12 23:50:56 +0000
committerKarl Berry <karl@freefriends.org>2006-01-12 23:50:56 +0000
commit9fde314bed6a19f5f8e63b121afd301cc85cbe23 (patch)
treea15a5c036bb793a69c0b2754855ca36c44cad11d /Master/texmf-dist/tex/latex/SIunits/binary.sty
parent580196c77cf299077e97bf4c0bae9adfd2018ebb (diff)
SIunits
git-svn-id: svn://tug.org/texlive/trunk@637 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/SIunits/binary.sty')
-rw-r--r--Master/texmf-dist/tex/latex/SIunits/binary.sty47
1 files changed, 47 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/SIunits/binary.sty b/Master/texmf-dist/tex/latex/SIunits/binary.sty
new file mode 100644
index 00000000000..5ef6a51bd3a
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/SIunits/binary.sty
@@ -0,0 +1,47 @@
+%%
+%% This is file `binary.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% SIunits.dtx (with options: `binary')
+%%
+%% Copyright (c) 1998-2002 Marcel Heldoorn <m.heldoorn@webschool.nl>.
+%%
+%% This program may be distributed and/or modified under the conditions of the LaTeX Project
+%% Public License, either version 1.2 of this license or (at your option) any later version.
+%% The latest version of this license is in http://www.latex-project.org/lppl.txt and
+%% version 1.2 or later is part of all distributions of LaTeX version 1999/12/01 or later.
+%%
+%% For error reports in case of UNCHANGED versions see the readme.txt file.
+%%
+%% Please do not request updates from me directly. Distribution is done through the
+%% Comprehensive TeX Archive Network (CTAN).
+%%
+\def\SIunits@RCS$#1: #2 #3${#2}
+\def\filename{SIunits.dtx}%Source File Name
+\xdef\fileversion{\SIunits@RCS$Revision: 1.33 $}%Revision generated by CS-RCS
+\xdef\filedate{\SIunits@RCS$Date: 2002/08/01 11:20:00 $}%Date generated by CS-RCS
+\let\docversion=\fileversion
+\let\docdate=\filedate
+\NeedsTeXFormat{LaTeX2e}[1997/12/01]
+\ProvidesPackage{binary}
+ [\filedate\space v\fileversion\space
+ Support for binary prefixes and units (MH)]
+\RequirePackageWithOptions{SIunits}
+ \def\packagemessage{}
+\AtBeginDocument{%
+\addprefix{\kibi}{Ki} \newcommand{\kibid}{\power{2}{10}}
+\addprefix{\mebi}{Mi} \newcommand{\mebid}{\power{2}{20}}
+\addprefix{\gibi}{Gi} \newcommand{\gibid}{\power{2}{30}}
+\addprefix{\tebi}{Ti} \newcommand{\tebid}{\power{2}{40}}
+\addprefix{\pebi}{Pi} \newcommand{\pebid}{\power{2}{50}}
+\addprefix{\exbi}{Ei} \newcommand{\exbid}{\power{2}{60}}
+
+\addunit{\bit}{bit}
+\addunit{\byte}{B}%
+} %\AtBeginDocument
+%%
+%% Source: $Id: SIunits.dtx,v 1.33 2002/08/01 11:20:00 root Exp root $
+%%
+%% End of file `binary.sty'.