RE: Re: font size clash between sistyle.sty and prosper

"Hendri Adriaens" <[email protected]>
Newsgroups gmane.comp.tex.latex.prosper.user
Message-ID <[email protected]>
> Unfortunately this still doesn't give me the desired result. When
> using one of your two proposed mechanisms I end up with a serif
> font which I don't think is advantageous for screen
> presentations. I'd prefer the standard sans serif font.

That's because you didn't align the text font with the
math font. See below. The example sets the math sf font
exactly equal to the text font. However, greek characters
in the proper font might be necessary as well etc...

Best,
-Hendri.

\documentclass[pdf]{prosper}
\usepackage[toc,highlight,HA]{HA-prosper}
\usepackage{sistyle}
\SIdefaultMfam{\mathsf}
\SIdefaultNfam{\mathsf}
\SIdefaultTfam{\sffamily}
\DeclareMathAlphabet{\mathsf}{T1}{phv}{m}{n}
\begin{document}

\begin{slide}{foo}
  The result is \SI{1}{kg.m/s^2} some more text\ldots\par
  The result is 1\,kg\,$\cdot$\,m\textsuperscript{2}\par
  The result is $1 \mathrm{kg}\cdot\mathrm{s^2}$\par
  The result is $\mathsf{kg}$ \textsf{kg}
\end{slide}

\end{document}


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.