Re: font size clash between sistyle.sty and prosper

Patrick Drechsler <[email protected]>
Newsgroups gmane.comp.tex.latex.prosper.user
Organization Dept. of Zoology 2, Biocenter, University of Wuerzburg, Germany
Message-ID <[email protected]>
Hendri Adriaens wrote on 31 May 2004 07:39:39 MET:

> Sorry, I was mistaken. The problem comes from the fact that
> prosper changes the font for text, but not for math. Hence the
> math font is one with other dimensions. I think the best way to
> deal with this is to delete font definitions from the font
> commands, leaving only a color and a size in there and leaving
> font selection to specialized packages as mathpazo.
[...]

Thanks for your feedback, Hendri. 

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.

Does anybody have any ideas on how to accomplish this? The
second line in the example slide below shows the desired result.

TIA,

Patrick

--8<------------------------schnipp------------------------->8---
\documentclass[pdf]{prosper}
\usepackage[toc,highlight,HA]{HA-prosper}
\usepackage{mathpazo}
%% Version 1:
% \FontText
% {\fontsize{12.4pt}{12pt}\selectfont\black}
% {\fontsize{12.4pt}{12pt}\selectfont\black}

%% Version 2:
% \FontText{\black\normalsize}{\black\normalsize}

\usepackage{sistyle}
\SIdefaultMfam{\mathsf}
\SIdefaultNfam{\mathsf}
\SIdefaultTfam{\sffamily}

\usepackage{textcomp}

\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}
--8<------------------------schnapp------------------------->8---


-- 
"Dad! We're the MTV generation. Nothing can upset us. We feel neither
highs nor lows."  - Lisa Simpson




-------------------------------------------------------
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.