\ProvidesPackage{acro}[1996/09/25  Abbreviations and acronyms]
% Written by Nick Urbanik,

% $Header: C:/EMTEX/TEXINPUT/LATEX2E/NICK/RCS/acro.sty 1.1 1996/09/26 10:18:44 Nick Exp Nick $

% $Log: acro.sty $
% Revision 1.1  1996/09/26 10:18:44  Nick
% Initial revision
%
% Revision 1.5  1996/02/25  18:48:56  Nick
% This is a major revision.
% It has exercises, solutions, stuff about most that I hoped to
% achieve.
%
% Revision 1.4  1996/02/20  15:46:18  Nick
% This is a major revision.  I have added much more material,
% including exercises with solutions, more diagrams, and have clarified
% some explanations.  It looks like it is shaping up to become my major
% opus for the uear.
%
% Revision 1.4  1996/01/24  00:35:39  Nick
% Added slanted LEDs, embedded systems and DTMF.
%
% Revision 1.2  1995/09/14  21:53:41  Nick
% This is a merging of my acro.sty at home and that at work.
%

\RequirePackage{xspace,relsize,scl}

\DeclareRobustCommand{\Slash}{{\raisebox{0.3ex}{\relsize{-3}/}}}
\DeclareRobustCommand{\leftPar}{{\raisebox{0.1ex}{\relsize{-2}(}}}
\DeclareRobustCommand{\rightPar}{{\raisebox{0.1ex}{\relsize{-2})}}}

% Make an acro able to work in maths mode, so I can use overline.
\DeclareMathAlphabet{\mathsc}{OT1}{cmr}{m}{sc}
\DeclareRobustCommand{\acro}[1]{\textsc{\lowercase{#1}}}
\DeclareRobustCommand{\acroSl}[1]{\textscl{\lowercase{#1}}}
\DeclareRobustCommand{\overbar}[1]%
  {\ensuremath{\overline{\mathsc{\lowercase{#1}}}}}

\DeclareRobustCommand{\IOsl}{\acroSl{I\Slash{}{}O}\xspace}
\DeclareRobustCommand{\IO}{\acro{I\Slash{}{}O}\xspace}

\providecommand*{\ABM}{\acro{ABM}\xspace}
\providecommand*{\ACK}{\acro{ACK}\xspace}
\providecommand*{\AC}{\acro{AC}\xspace}
\providecommand*{\ADsl}{\acroSl{A\Slash{}{}D}\xspace}
\providecommand*{\AD}{\acro{A\Slash{}{}D}\xspace}
\providecommand*{\ALU}{\acro{ALU}\xspace}
\providecommand*{\ANSI}{\acro{ANSI}\xspace}
\providecommand*{\ARQ}{\acro{ARQ}\xspace}
\providecommand*{\ASCIIsl}{\acroSl{ASCII}\xspace}
\providecommand*{\ASCII}{\acro{ASCII}\xspace}
\providecommand*{\ASN}{\acro{ASN}\xspace}
\providecommand*{\AS}{$\overline{\acro{AS}}$\xspace}
\providecommand*{\BASIC}{\acro{BASIC}\xspace}
\providecommand*{\BER}{\acro{BER}\xspace}
\providecommand*{\BIOS}{\acro{BIOS}\xspace}
\providecommand*{\CCNA}{\acro{CCNA}\xspace}
\providecommand*{\CCNP}{\acro{CCNP}\xspace}
\providecommand*{\CDROM}{\acro{CDROM}\xspace}
\providecommand*{\CD}{\acro{CD}\xspace}
\providecommand*{\CERT}{\acro{CERT}\xspace}
\providecommand*{\CIDR}{\acro{CIDR}\xspace}
\providecommand*{\CGI}{\acro{CGI}\xspace}
\providecommand*{\CMOS}{\acro{CMOS}\xspace}
\providecommand*{\CPAN}{\acro{CPAN}\xspace}
\providecommand*{\CPUsl}{\acroSl{CPU}\xspace}
\providecommand*{\CPU}{\acro{CPU}\xspace}
\providecommand*{\CRC}{\acro{CRC}\xspace}
\providecommand*{\CRT}{\acro{CRT}\xspace}
\providecommand*{\CSA}{\acro{CSA}\xspace}
\providecommand*{\CS}{$\overline{\acro{CS}}$\xspace}
\providecommand*{\CTS}{\acro{CTS}\xspace}
\providecommand*{\CUPS}{\acro{CUPS}\xspace}
\providecommand*{\DAsl}{\acroSl{D\Slash{}{}A}\xspace}
\providecommand*{\DA}{\acro{D\Slash{}{}A}\xspace}
\providecommand*{\DC}{\acro{DC}\xspace}
\providecommand*{\DEC}{\acro{DEC}\xspace}
\providecommand*{\DFS}{\acro{DFS}\xspace}
\providecommand*{\DHCP}{\acro{DHCP}\xspace}
\providecommand*{\DIP}{\acro{DIP}\xspace}
\providecommand*{\DMAC}{\acro{DMAC}\xspace}
\providecommand*{\DMA}{\acro{DMA}\xspace}
\providecommand*{\DNS}{\acro{DNS}\xspace}
\providecommand*{\DN}{\acro{DN}\xspace}
\providecommand*{\DOS}{\acro{DOS}\xspace}
\providecommand*{\DPLL}{\acro{DPLL}\xspace}
\providecommand*{\DPSK}{\acro{DPSK}\xspace}
\providecommand*{\DSSL}{\acro{DSSL}\xspace}
\providecommand*{\DTACK}{$\overline{\acro{DTACK}}$\xspace}
\providecommand*{\DTE}{\acro{DTE}\xspace}
\providecommand*{\DTMF}{\acro{DTMF}\xspace}
\providecommand*{\DUART}{\acro{DUART}\xspace}
\providecommand*{\DVP}{\acro{DVP}\xspace}
\providecommand*{\EA}{\overbar{EA}\xspace}
\providecommand*{\EEPROM}{\acro{EEPROM}\xspace}
\providecommand*{\EPROM}{\acro{EPROM}\xspace}
\providecommand*{\FAQ}{\acro{FAQ}\xspace}
\providecommand*{\FAT}{\acro{FAT}\xspace}
\providecommand*{\FCS}{\acro{FCS}\xspace}
\providecommand*{\FER}{\acro{FER}\xspace}
\providecommand*{\FIFO}{\acro{FIFO}\xspace}
\providecommand*{\FLIGHTsl}{\acroSl{FLIGHT-68K}\xspace}
\providecommand*{\FLIGHT}{\acro{FLIGHT-68K}\xspace}
\providecommand*{\FTP}{\acro{FTP}\xspace}
\providecommand*{\GAL}{\acro{GAL}\xspace}
\providecommand*{\GNU}{\acro{GNU}\xspace}
\providecommand*{\HC}{\acro{HC}\xspace}
\providecommand*{\HDLC}{\acro{HDLC}\xspace}
\providecommand*{\HD}{\acro{HD}\xspace}
\providecommand*{\HKID}{\acro{HKID}\xspace}
\providecommand*{\HKTCsl}{\acroSl{HKTC\leftPar{}TY\rightPar}\xspace}
\providecommand*{\HKTC}{\acro{HKTC\leftPar{}TY\rightPar}\xspace}
\providecommand*{\HLL}{\acro{HLL}\xspace}
\providecommand*{\HTML}{\acro{HTML}\xspace}
\providecommand*{\HTTP}{\acro{HTTP}\xspace}
\providecommand*{\IBM}{\acro{IBM}\xspace}
\providecommand*{\ICE}{\acro{ICE}\xspace}
\providecommand*{\ICT}{\acro{ICT}\xspace}
\providecommand*{\IC}{\acro{IC}\xspace}
\providecommand*{\IDE}{\acro{IDE}\xspace}
\providecommand*{\ID}{\acro{ID}\xspace}
\providecommand*{\IM}{\acro{IM}\xspace} % interrupt mask
\providecommand*{\IP}{\acro{IP}\xspace}
\providecommand*{\ISA}{\acro{ISA}\xspace}
\providecommand*{\ISC}{\acro{ISC}\xspace}
\providecommand*{\ISO}{\acro{ISO}\xspace}
\providecommand*{\ISP}{\acro{ISP}\xspace}
\providecommand*{\ISR}{\acro{ISR}\xspace}
\providecommand*{\IVE}{\acro{IVE}\xspace}
\providecommand*{\LAN}{\acro{LAN}\xspace}
\providecommand*{\LCD}{\acro{LCD}\xspace}
\providecommand*{\LDAP}{\acro{LDAP}\xspace}
\providecommand*{\LDIF}{\acro{LDIF}\xspace}
\providecommand*{\LDS}{\overbar{LDS}\xspace}
\providecommand*{\LEDsl}{\acroSl{LED}\xspace}
\providecommand*{\LED}{\acro{LED}\xspace}
\providecommand*{\LIFO}{\acro{LIFO}\xspace}
\providecommand*{\LLL}{\acro{LLL}\xspace}
\providecommand*{\LPI}{\acro{LPI}\xspace}
\providecommand*{\LRC}{\acro{LRC}\xspace}
\providecommand*{\LSB}{\acro{LSB}\xspace}
\providecommand*{\LSb}{\acro{LS}b\xspace}
\providecommand*{\LSP}{\acro{LSP}\xspace}
\providecommand*{\MAC}{\acro{MAC}\xspace}
\providecommand*{\MCDBA}{\acro{MCDBA}\xspace}
\providecommand*{\MCP}{\acro{MCP}\xspace}
\providecommand*{\MCSE}{\acro{MCSE}\xspace}
\providecommand*{\MDB}{\acro{MDB}\xspace}
\providecommand*{\MIB}{\acro{MIB}\xspace}
\providecommand*{\MMU}{\acro{MMU}\xspace}
\providecommand*{\MPU}{\acro{MPU}\xspace}
\providecommand*{\MRTG}{\acro{MRTG}\xspace}
\providecommand*{\MSB}{\acro{MSB}\xspace}
\providecommand*{\MSDOSsl}{\acroSl{MS-DOS}\xspace}
\providecommand*{\MSDOS}{\acro{MS-DOS}\xspace}
\providecommand*{\MSb}{\acro{MS}b\xspace}
\providecommand*{\NAK}{\acro{NAK}\xspace}
\providecommand*{\NC}{\acro{NC}\xspace}
\providecommand*{\NDS}{\acro{NDS}\xspace}
\providecommand*{\NFS}{\acro{NFS}\xspace}
\providecommand*{\NIS}{\acro{NIS}\xspace}
\providecommand*{\NMI}{\acro{NMI}\xspace}
\providecommand*{\NMS}{\acro{NMS}\xspace}
\providecommand*{\NT}{\acro{NT}\xspace}
\providecommand*{\NTFS}{\acro{NTFS}\xspace}
\providecommand*{\NZI}{\acro{NZI}\xspace}
\providecommand*{\OID}{\acro{OID}\xspace}
\providecommand*{\OSI}{\acro{OSI}\xspace}
\providecommand*{\OSPF}{\acro{OSPF}\xspace}
\providecommand*{\OSSI}{\acro{OSSI}\xspace}
\providecommand*{\OSsl}{\acroSl{OS}\xspace}
\providecommand*{\OS}{\acro{OS}\xspace}
\providecommand*{\PAL}{\acro{PAL}\xspace}
\providecommand*{\PAM}{\acro{PAM}\xspace}
\providecommand*{\PCB}{\acro{PCB}\xspace}
\providecommand*{\PCM}{\acro{PCM}\xspace}
\providecommand*{\PCMCIA}{\acro{PCMCIA}\xspace}
\providecommand*{\PCI}{\acro{PCI}\xspace}
\providecommand*{\PC}{\acro{PC}\xspace}
\providecommand*{\PDA}{\acro{PDA}\xspace}
\providecommand*{\PDC}{\acro{PDC}\xspace}
\providecommand*{\PGA}{\acro{PGA}\xspace}
\providecommand*{\PITsl}{\acroSl{PI\Slash{}{}T}\xspace}
\providecommand*{\PIT}{\acro{PI\Slash{}{}T}\xspace}
\providecommand*{\PID}{\acro{PID}\xspace}
\providecommand*{\PLCC}{\acro{PLCC}\xspace}
\providecommand*{\PLD}{\acro{PLD}\xspace}
\providecommand*{\POSIX}{\acro{POSIX}\xspace}
\providecommand*{\POST}{\acro{POST}\xspace}
\providecommand*{\PPI}{\acro{PPI}\xspace}
\providecommand*{\PPP}{\acro{PPP}\xspace}
\providecommand*{\PROM}{\acro{PROM}\xspace}
\providecommand*{\PSEN}{$\overline{\acro{PSEN}}$\xspace}
\providecommand*{\PSK}{\acro{PSK}\xspace}
\providecommand*{\PSTN}{\acro{PSTN}\xspace}
\providecommand*{\QAM}{\acro{QAM}\xspace}
\providecommand*{\RAMsl}{\acroSl{RAM}\xspace}
\providecommand*{\RAM}{\acro{RAM}\xspace}
\providecommand*{\RAID}{\acro{RAID}\xspace}
\providecommand*{\RD}{\overbar{RD}\xspace}
%\providecommand*{\RDN}{\overbar{RDN}\xspace}
\providecommand*{\RDN}{\acro{RDN}\xspace}
\providecommand*{\RESET}{\ensuremath\overline{\acro{RESET}}\xspace}
\providecommand*{\RFC}{\acro{RFC}\xspace}
\providecommand*{\RHCE}{\acro{RHCE}\xspace}
\providecommand*{\RIP}{\acro{RIP}\xspace}
\providecommand*{\ROM}{\acro{ROM}\xspace}
\providecommand*{\RPM}{\acro{RPM}\xspace}
\providecommand*{\RST}{\acro{RST}\xspace}
\providecommand*{\RTS}{\acro{RTS}\xspace}
\providecommand*{\RW}{\acro{R\Slash{}{}\overbar{W}}\xspace}
\providecommand*{\SCSI}{\acro{SCSI}\xspace}
\providecommand*{\SDLC}{\acro{SDLC}\xspace}
\providecommand*{\SE}{\acro{SE}\xspace}
\providecommand*{\SFR}{\acro{SFR}\xspace}
\providecommand*{\SGID}{\acro{SGID}\xspace}
\providecommand*{\SMB}{\acro{SMB}\xspace}
\providecommand*{\SMI}{\acro{SMI}\xspace}
\providecommand*{\SNM}{\acro{SNM}\xspace}
\providecommand*{\SNMP}{\acro{SNMP}\xspace}
\providecommand*{\SOAP}{\acro{SOAP}\xspace}
\providecommand*{\SSH}{\acro{SSH}\xspace}
\providecommand*{\SSL}{\acro{SSL}\xspace}
\providecommand*{\SUID}{\acro{SUID}\xspace}
\providecommand*{\TCM}{\acro{TCM}\xspace}
\providecommand*{\TCP}{\acro{TCP}\xspace}
\providecommand*{\TCPIP}{\acro{TCP\Slash{}{}IP}\xspace}
\providecommand*{\TIMTOWTDI}{\acro{TIMTOWTDI}\xspace}
\providecommand*{\TLS}{\acro{TLS}\xspace}
\providecommand*{\TTL}{\acro{TTL}\xspace}
\providecommand*{\TnN}{\acro{T\&N}\xspace}
\providecommand*{\UARTsl}{\acroSl{UART}\xspace}
\providecommand*{\UART}{\acro{UART}\xspace}
\providecommand*{\UDP}{\acro{UDP}\xspace}
\providecommand*{\UDS}{\overbar{UDS}\xspace}
\providecommand*{\UNIX}{Unix\xspace}
\providecommand*{\URL}{\acro{URL}\xspace}
\providecommand*{\USB}{\acro{USB}\xspace}
\providecommand*{\UTP}{\acro{UTP}\xspace}
\providecommand*{\VLAN}{\acro{VLAN}\xspace}
\providecommand*{\VLSM}{\acro{VLSM}\xspace}
\providecommand*{\VNC}{\acro{VNC}\xspace}
\providecommand*{\VRC}{\acro{VRC}\xspace}
\providecommand*{\VSC}{\acro{VSC}\xspace}
\providecommand*{\VTC}{\acro{VTC}\xspace}
\providecommand*{\WINS}{\acro{WINS}\xspace}
\providecommand*{\WR}{\overbar{WR}\xspace}
\providecommand*{\XML}{\acro{XML}\xspace}
\providecommand*{\XOFF}{\acro{XOFF}\xspace}
\providecommand*{\XON}{\acro{XON}\xspace}

\providecommand*{\es}{embedded system\xspace}
\providecommand*{\uc}{microcontroller\xspace}
\providecommand*{\Uc}{Microcontroller\xspace}
\providecommand*{\up}{microprocessor\xspace}
\providecommand*{\Up}{Microprocessor\xspace}
\providecommand*{\MPA}{Microprocessor Applications Laboratory\xspace}
\providecommand*{\mpa}{microprocessor lab\xspace}
\providecommand*{\dc}{\textsf{\relsize{-1}X}\xspace} % dc = Don't care.
\providecommand*{\submodex}{submode~1\textsf{\relsize{-1}X}\xspace}
\providecommand*{\Submodex}{Submode~1\textsf{\relsize{-1}X}\xspace}


% Hex digits in mathematics mode:
\providecommand*{\A}{\ensuremath{\mathrm{A}}}
\providecommand*{\Bh}{\ensuremath{\mathrm{B}}}
\providecommand*{\B}{\ensuremath{\mathrm{B}}}
\providecommand*{\C}{\ensuremath{\mathrm{C}}}
\providecommand*{\D}{\ensuremath{\mathrm{D}}}
\providecommand*{\E}{\ensuremath{\mathrm{E}}}
\providecommand*{\F}{\ensuremath{\mathrm{F}}}

% for kilobytes:
\providecommand*{\Kb}{\mathrm{K}}
% megabytes:
\providecommand*{\M}{\mathrm{M}}
