Does fouriernc
contain sans serif font? If not, which type is actually used for it? Is this type scalable?
My problem shows not so minimal working example:
\documentclass{memoir}
\usepackage{fouriernc}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{empheq,mathtools,xspace} %
\newcommand{\T}{\text{\sffamily\slshape T\,}\xspace}
\usepackage{microtype}
\begin{document}
I would like \T to be slanted and sans serif letter. I use it in text as well as in equations:
\[\T = a + b \quad\mathrm{and}\quad \int_\T = \cdots \]
How to achieve this with considering used fonts?
\bigskip\sffamily
Transformacijo pravokotnega pulza preprosto izračunamo z definiciji Fourierove transformacije, v kateri upoštevamo lastnosti simetrij:
\begin{align}
X(\omega) & = \int^{\infty}_{\infty} p_\T \exp(-j\omega t)\; dt \\
& = \int^{-\T/2}_{\T/2} \sin(\omega t)\, dt
= 2\frac{\sin(\omega\T/2)}{\omega}
= \T\frac{\sin(\omega\T/2)}{\omega\T/2}
\notag \\
& = \T\mathrm{Sa}(\omega\T/2)\ ,
\end{align}
kjer je $p_\T$ pravokotni pulz.
\end{document}
which gives error:
pdfTeX error (font expansion): auto expansion is only possible with scalable fonts.
If I remove microtype
package, all works fine. From this I have concluded, that sans serif font are not part of fouriernc
and that for it is used some substitution which is can not be used with microtype
. Do I have right?
Which fonts for sans serif is the most accordant with fouriernc
? I prefer one which has the same height for lowercase and uppercase letters as that of roman font.
microtype
? – cfr Jul 5 '15 at 22:59cm-super
installed? Not that CM is likely a good match if you are usingfouriernc
, but it should work. By the way, why\ensuremath{\text{...
? The\ensuremath
seems to serve no purpose. – cfr Jul 5 '15 at 23:07\ensuremath
and\xspace
from that macro)\newcommand*{\T}{\textsf{\slshape T\/}}
,\newcommand*{\ud}{\mathop{}\!\mathrm{d}i}
,\newcommand*{\udt}{\mathop{}\!\mathrm{d}t}
. Even may be do\DeclareMathAlphabet{\mathsfsl}{T1}{cmss}{m}{it}
and then\newcommand*{\T}{\mathsfsl{T}}
. – Manuel Jul 5 '15 at 23:17