.. _tex-bbm: ### bbm ### The `bbm` extension implements the ``bbm`` style package from LaTeX, which makes alternative blackboard-bold characters available in TeX. See the `bbm CTAN page `__ for more information and documentation. This extension defines the following commands: .. describe:: \mathbbm{math} Typesets ``math`` using the bbm blackboard-bold fonts. .. describe:: \mathbbmss{math} Typesets ``math`` using the bbm blackboard-bold sans-serif fonts. .. describe:: \mathbbmtt{math} Typesets ``math`` using the bbm blackboard-bold typewriter fonts. .. describe:: \mathversion{name} Specifies whether the use the bold or normal versions of the bbm fonts. If ``name`` is ``bold``, the bold versions are used; anything else indicates the normal versions. This is a global setting, whose default is given by the :data:`bbm.bold`` setting described :ref:`below `. .. raw:: html

The normal versions of these fonts are shown below:

This package is not autoloaded, so you must request it explicitly if you want to use it. To load the `bbm` extension, add ``'[tex]/bbm'`` to the :data:`load` array of the :data:`loader` block of your MathJax configuration, and add ``'bbm'`` to the :data:`packages` array of the :data:`tex` block. .. code-block:: javascript window.MathJax = { loader: {load: ['[tex]/bbm']}, tex: {packages: {'[+]': ['bbm']}} }; Alternatively, use ``\require{bbm}`` in a TeX expression to load it dynamically from within the math on the page, if the :ref:`tex-require` extension is loaded. ----- .. _tex-bbm-options: bbm Options ----------- Adding the `bbm` extension to the :data:`packages` array defines an :data:`bbm` sub-block of the :data:`tex` configuration block with the following values: .. code-block:: javascript MathJax = { tex: { bbm: { bold: false } } }; .. _tex-bbm-bold: .. describe:: bold: false Specifies whether the bold versions of the bbm fonts are to be used. The default is to use the normal versions. ----- .. _tex-bbm-commands: bbm Commands ------------ The `bbm` extension implements the following macros: ``\mathbbm``, ``\mathbbmss``, ``\mathbbmtt``, ``\mathversion`` |-----|