<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">% \iffalse
%%
%% File: nccbbb.dtx Copyright (C) 2002--2004 by Alexander I. Rozhenko
%%
%&lt;package&gt;\NeedsTeXFormat{LaTeX2e}
%&lt;package&gt;\ProvidesPackage{nccbbb}
%&lt;package&gt;         [2004/11/24 v1.1 Pure Black Board Bold (NCC)]
%
% \changes{v1.0}{2002/01/31}{This version was uploaded to CTAN}
% \changes{v1.1}{2004/11/24}{Bug in |\bbbz| command fixed}
% \changes{v1.1}{2004/11/24}{Documentation was prepared}
%
%&lt;*driver&gt;
\let\makeindex\relax
\documentclass{ltxdoc}
\usepackage{nccbbb}
\GetFileInfo{nccbbb.sty}
\begin{document}
\title{The \textsf{nccbbb} package\thanks{This file
        has version number \fileversion, last
        revised \filedate.}}
\author{Alexander I. Rozhenko\\rozhenko@oapmg.sscc.ru}
\date{\filedate}
\maketitle
\DocInput{nccbbb.dtx}
\end{document}
%&lt;/driver&gt;
% \fi
% \section{User Interface}
%
% \DescribeMacro{\bbb...}
% The package implements the following poor black board bold math symbols:
% \begin{center}
% \begin{tabular}{l@{\qquad}c@{\qquad\vrule\qquad}l@{\qquad}c}
% Command &amp; Symbol &amp; Command &amp; Symbol\\
% |\bbbb| &amp; $\bbbb$ &amp; |\bbbm| &amp; $\bbbm$ \\
% |\bbbc| &amp; $\bbbc$ &amp; |\bbbn| &amp; $\bbbn$ \\
% |\bbbd| &amp; $\bbbd$ &amp; |\bbbo| &amp; $\bbbo$ \\
% |\bbbe| &amp; $\bbbe$ &amp; |\bbbp| &amp; $\bbbp$ \\
% |\bbbf| &amp; $\bbbf$ &amp; |\bbbq| &amp; $\bbbq$ \\
% |\bbbg| &amp; $\bbbg$ &amp; |\bbbr| &amp; $\bbbr$ \\
% |\bbbh| &amp; $\bbbh$ &amp; |\bbbs| &amp; $\bbbs$ \\
% |\bbbi| &amp; $\bbbi$ &amp; |\bbbz| &amp; $\bbbz$ \\
% |\bbbk| &amp; $\bbbk$ &amp; |\bbbzero| &amp; $\bbbzero$ \\
% |\bbbl| &amp; $\bbbl$ &amp; |\bbbone| &amp; $\bbbone$ \\
% \end{tabular}
% \end{center}
% It was designed to provide the compatibility with old macros of NCC-\LaTeX.
% We recommend use the |\mathbb| command from the |amsfonts| package
% instead.
% \StopEventually{}
%
% \section{The Implementation}
% Declare commands of the user interface:
%    \begin{macrocode}
%&lt;*package&gt;
\newcommand\bbbb{\NCC@bbb{B}}
\newcommand\bbbc{{\NCC@bbbz{C{\NCC@bbbr{.03}{.35}{.9}{.1}}}}}
\newcommand\bbbd{\NCC@bbb{D}}
\newcommand\bbbe{\NCC@bbb{E}}
\newcommand\bbbf{\NCC@bbb{F}}
\newcommand\bbbg{{\NCC@bbbz{G{\NCC@bbbr{.05}{.3}{.88}{.09}}}}}
\newcommand\bbbh{\NCC@bbb{H}}
\newcommand\bbbi{\NCC@bbb{I}}
\newcommand\bbbk{\NCC@bbb{K}}
\newcommand\bbbl{\NCC@bbb{L}}
\newcommand\bbbm{\NCC@bbbi{M}}
\newcommand\bbbn{\NCC@bbbi{N}}
\newcommand\bbbo{{\NCC@bbbz{O{\NCC@bbbr{.05}{.3}{.9}{.09}}}}}
\newcommand\bbbp{\NCC@bbb{P}}
\newcommand\bbbq{{\NCC@bbbz{Q{\NCC@bbbr{.05}{.3}{.9}{.09}}}}}
\newcommand\bbbr{\NCC@bbb{R}}
\newcommand\bbbs{{\NCC@bbbz{S{\NCC@bbbr{.5}{.3}{.45}{.07}%
  \NCC@bbbr{0}{.55}{.5}{.07}}}}}
\newcommand\bbbz{{\NCC@bbbz{{\mathsf Z}{\@tempdima\wd\z@\wd\z@ 0.33\@tempdima}}%
  \mathsf Z}}
\newcommand\bbbzero{{\NCC@bbbz{O{\NCC@bbbr{.05}{.3}{.9}{.06}%
  \NCC@bbbr{.05}{.6}{.9}{.06}}}}}
\newcommand\bbbone{\mathrm{1\NCC@bbbz{l{\kern -0.88\wd\z@}}}}
%    \end{macrocode}
%
% Define base commands:
%    \begin{macrocode}
\def\NCC@bbb#1{\mathrm{I\mskip -3.5mu#1}}
\def\NCC@bbbi#1{\mathrm{I\NCC@bbbz{{\mskip -3.5mu I}{\wd\z@\z@}}%
  \mskip -3mu#1}}
\def\NCC@bbbz{\mathpalette\NCC@bbbz@}
\def\NCC@bbbz@#1#2{\NCC@bbbz@@{#1}#2}
\def\NCC@bbbz@@#1#2#3{\setbox\z@\hbox{$\m@th#1{\mathrm{#2}}$}#3\box\z@}
\def\NCC@bbbr#1#2#3#4{\raise #1\ht\z@\hbox to \z@{\kern #2\wd\z@
  \vrule \@height #3\ht\z@ \@width #4\wd\z@\hss}}
%&lt;/package&gt;
%    \end{macrocode}
\endinput
</pre></body></html>