<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">%% droidsansmono.sty
%% Copyright 2019 Mohamed El Morabity
%
% This work may be distributed and/or modified under the conditions of the LaTeX
% Project Public License, either version 1.3 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.3 or later is part of all
% distributions of LaTeX version 2005/12/01 or later.
%
% This work has the LPPL maintenance status `maintained'.
%
% The Current Maintainer of this work is Mohamed El Morabity
%
% This work consists of all files listed in manifest.txt.


\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{droidsansmono}[2019/06/20 Style file for Droid Sans Mono.]

\RequirePackage{ifluatex}
\RequirePackage{ifxetex}
\RequirePackage{xkeyval}

\newif\ifdroidsansmono@otf
\ifxetex
  \droidsansmono@otftrue
\else
  \ifluatex
    \droidsansmono@otftrue
  \else
    \droidsansmono@otffalse
  \fi
\fi

\newif\ifdroidsansmono@defaultmono
\droidsansmono@defaultmonofalse

\newcommand*{\droidsansmono@scale}{1}
\DeclareOptionX{scale}{\renewcommand*{\droidsansmono@scale}{#1}}
\DeclareOptionX{scaled}{\renewcommand*{\droidsansmono@scale}{#1}}

\DeclareOptionX{defaultmono}{\droidsansmono@defaultmonotrue}
\DeclareOptionX{type1}{\droidsansmono@otffalse}

\ProcessOptionsX
\relax


\newcommand*{\droidsansmonofamily}{droidsansmono}

\ifdroidsansmono@otf
  \RequirePackage{fontspec}

  \ifxetex
    \XeTeXtracingfonts=1
  \fi

  \newcommand*{\droidsansmono@otf@slant}{0.213}
  \newcommand*{\droidsansmono@otf@features}{%
    Extension=.ttf,%
    Scale=\droidsansmono@scale,%
    UprightFont={*},%
    ItalicFont={*},%
    ItalicFeatures={FakeSlant=\droidsansmono@otf@slant},%
  }

  \newfontfamily{\droidsansmono}[%
    \droidsansmono@otf@features,%
    NFSSFamily=\droidsansmonofamily%
  ]{DroidSansMono}

  % Legacy compatibility
  \newfontfamily{\fdmfamily}[%
    \droidsansmono@otf@features,%
    NFSSFamily=fdm%
  ]{DroidSansMono}

  \ifdroidsansmono@defaultmono
    \setmonofont[%
      \droidsansmono@otf@features%
    ]{DroidSansMono}
  \fi
\else
  \newcommand*{\droidsansmono}{\fontfamily{\droidsansmonofamily}\selectfont}
  % Legacy compatibility
  \newcommand*{\fdmfamily}{\droidsansmono}

  \ifdroidsansmono@defaultmono
    \renewcommand*{\ttdefault}{\droidsansmonofamily}
  \fi
\fi

\endinput
</pre></body></html>