我只需要一个倾斜的无衬线数学字符

我只需要一个倾斜的无衬线数学字符

由于某种原因,我需要一个倾斜的无衬线字符。否则,在我的文档中我会使用 Fourier、Helvet 和 Luximono 字体。如何确定它?

\documentclass{memoir}
    \usepackage{fouriernc}
    \usepackage[scaled=0.83]{helvet}
    \usepackage[scaled=0.82]{luximono}
        \usepackage{marvosym,pifont}

    \usepackage[T1]{fontenc}
    \usepackage[utf8]{inputenc}

    \usepackage{mathtools,xspace} 

\newcommand{\T}{\ensuremath{\mathsf{T}}\xspace}

    \begin{document}
I like \T to be slanted and sans serif character. I use it in text as well in equations: 
    \[\T = a + b \quad\mathrm{and}\quad \int_\T = \cdots    \]
How to achieve this with considering used fonts?
    \end{document}

![enter image description here][1]

答案1

您可以使用\text

\documentclass{memoir}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}

\usepackage{fouriernc}
\usepackage[scaled=0.83]{helvet}
\usepackage[scaled=0.82]{luximono}
\usepackage{marvosym,pifont}


\usepackage{mathtools} 

\newcommand{\T}{\text{\sffamily\bfseries\slshape T\/}}

\begin{document}

I like $\T$ to be a slanted and sans serif character. I use it in text as well in equations: 
\[
\T = a + b \quad\text{and}\quad \int_\T = \cdots
\]
How to achieve this with considering used fonts?

\end{document}

在此处输入图片描述

相关内容