Importieren Sie \mathbbit{q} aus stix

Importieren Sie \mathbbit{q} aus stix

Ich versuche das folgende Symbol zu importieren

\mathbbit{q}

aus der Stix-Bibliothek,

Bildbeschreibung hier eingeben

siehe bitte den folgenden Code:

\documentclass{article}
\usepackage{amsmath}
\DeclareFontEncoding{LS1}{}{}
\DeclareFontSubstitution{LS1}{stix}{m}{n}
\newcommand*\qq{%
\text{%
\fontencoding{LS1}%
\fontfamily{stixbb}%
\fontseries{\textmathversion}%
\fontshape{n}%
\selectfont\symbol{`q}}}
\makeatletter
\newcommand*\textmathversion{\csname textmv@\math@version\endcsname}
\newcommand*\textmv@normal{m}
\newcommand*\textmv@bold{b}
\makeatother
\begin{document}
  $\qq$ {\boldmath$\qq$}
\end{document}

Leider gibt es kein

ls1stixbbit.fd 

Schriftart im /stix-Ordner, nur

ls1stixbb.fd 

ist verfügbar. Daher kann ich nur nicht kursives oder fettes q erstellen:

Bildbeschreibung hier eingeben

Gibt es eine Möglichkeit, kursives, schwarz markiertes q aus Stix zu importieren?

Antwort1

Verwendung \fontshape{it}: Dieselbe .fdDatei definiert mehrere Schriftformen.

Der Code kann vereinfacht werden.

\documentclass{article}
\usepackage{amsmath}

\DeclareFontEncoding{LS1}{}{}
\DeclareFontSubstitution{LS1}{stix}{m}{n}

\newcommand*\qq{%
  \text{\usefont{LS1}{stixbb}{\textmathversion}{n}q}%
}
\newcommand*\qqit{%
  \text{\usefont{LS1}{stixbb}{\textmathversion}{it}q}%
}

\makeatletter
\newcommand*\textmathversion{\csname textmv@\math@version\endcsname}
\newcommand*\textmv@normal{m}
\newcommand*\textmv@bold{b}
\makeatother

\begin{document}

$\qq$ {\boldmath$\qq$}

$\qqit$ {\boldmath$\qqit$}

\end{document}

Bildbeschreibung hier eingeben

verwandte Informationen