<br><br><div><span class="gmail_quote">On 10/22/07, <b class="gmail_sendername">Murray Eisenberg</b> &lt;<a href="mailto:murray@math.umass.edu">murray@math.umass.edu</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
You don&#39;t find lucimatx.sty there because it&#39;s a product of PCTeX, Inc.,<br>that ships with the Lucida fonts supplied by that company.</blockquote><div><br>And it costs US$10 from the PCTeX site.<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Best of luck trying to get it to work with the Lucida fonts in Y &amp; Y<br>TeX!&nbsp;&nbsp;So far as I am aware, nobody has been able to do that, or if they<br>have they haven&#39;t let anybody else know EXACTLY how!.</blockquote>
<div><br>I have been working with Lucida fonts since I bought my first Y&amp;Y TeX&nbsp; some time back in the last century. I just do a standard install and things run very well. I use LY1 encoding and lucidabr.sty. And I still use my Y&amp;Y Lucida font set. It still works fine for me. Should I need to buy the new license from TUG, I would still use the old font set.
<br><br>I presume that lucimatx.sty should work, because there is a pdf file in my Y&amp;Y CD (from 2000, ver. 2.2.1) that seems to be the same you can download from PCTeX. I asked them to tell me if it will work, because I don´t want to waste ten bucks (yes, I´m cheap :-). I will let you know if it works.
<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I posted queries to this list before about how to do it, and nobody<br>really seemed to know what to do to get it to work.&nbsp;&nbsp;Lots of
<br>explanations were offered about how fonts work in Y&amp;Y, and suggestions<br>made to read this or that part of documentation about fonts, Y&amp;Y, etc.<br>But still this has been of no use -- at least to me.<br><br>If you can find out, PLEASE let everybody know here!&nbsp;&nbsp;
</blockquote><div><br>I found the solution for my problem, anyway, and it does not require <span style="font-family: courier new,monospace;">lucimatx.sty</span>.<br>I want to have an environment typeset&nbsp; with Lucida&nbsp; Sans&nbsp; and want the equations and
<br>other math stuff to be also typeset in Lucida&nbsp; Sans, without&nbsp; the need to&nbsp; use the <br><span style="font-family: courier new,monospace;">\mathsf</span> LaTeX command.<br><br>Donald Arseneau´s <span style="font-family: courier new,monospace;">
sansmath.sty</span>, tweaked, was the solution. This package creates a <br>new command, <span style="font-family: courier new,monospace;">\sansmath</span>, which can be declared in a local group (like my example<br>environment). 
<br><br>To make it work with Lucida Sans, it should be declared after lucidabr.sty. In my case, I have a new environment (<span style="font-family: courier new,monospace;">sol.</span>) within which I want all math to be typeset in Lucida Sans:
<br><br><span style="font-family: courier new,monospace;">\usepackage[LY1,expert,lucidasmallscale,mathitalic2]{lucidabr}&nbsp;&nbsp; </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
\usepackage{sansmath}</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">[...]</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
\newenvironment{sol.}%</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">{\begin{quote}</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
&nbsp;\footnotesize {\fontseries{ub}\sffamily SOLUTION}:\sffamily\sansmath}%</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">{\end{quote}}</span><br><br>The <span style="font-family: courier new,monospace;">
sansmath.sty</span> code needs a few modifications. The encoding in the package should be changed from OT1 or T1 to LY1 (I am just showing the relevant lines):<br><br><span style="font-family: courier new,monospace;">\providecommand\sansmathencoding{LY1}
</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">\DeclareOption{LY1}{</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
&nbsp;\def\sansmathencoding{LY1}</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">}</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
[...stuff deleted..]</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">\DeclareMathVersion{sans}</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
\SetMathAlphabet{\mathrm} {sans}{\sansmathencoding}{\sfdefault}{m}{n}</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">\SetMathAlphabet{\mathsfsl}{sans}{\sansmathencoding}{\sfdefault}{m}{sl}
</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">\SetSymbolFont {operators}{sans}{LY1}{\sfdefault}{m}{n}</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">% The cmm and cmsy are too light for cmss.&nbsp; I tried {b} for the next</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
% two lines, but it did not work well (unbold +, bold greek, bad \neq)</span><br style="font-family: courier new,monospace;"><span style="font-weight: bold; font-family: courier new,monospace;">%\SetSymbolFont {letters}&nbsp; {sans}{OML}{cms} {m}{it}
</span><br style="font-weight: bold; font-family: courier new,monospace;"><span style="font-weight: bold; font-family: courier new,monospace;">%\SetSymbolFont {symbols}&nbsp; {sans}{OMS}{cmsy}{m}{n}</span><br style="font-weight: bold;">
<br><br>The last two lines (in bold) needed to be commented out. If I knew more about fonts in LaTeX, I would be able to replace <span style="font-family: courier new,monospace; font-weight: bold;">cms </span>and <span style="font-family: courier new,monospace; font-weight: bold;">
cmsy </span>with the appropriate strings for Lucida. [Any suggestions from the font gurus?]. Anyway, just skipping them seems to be enough... I checked the dvi fonts in my document and apparently all the right ones are there: every instance of 
<span style="font-family: courier new,monospace;">cm*</span> disappeared from the dvi font list.<br><br> </div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
The lucimatx style file is much nicer to use to control details of Lucida fonts.&nbsp; <br></blockquote></div><br>I´ll let you know if I can make it work.<br><br clear="all">Thanks to Murray for the help.<br><br>--jrs.<br>-- <br>
Dr. José Reynaldo Setti&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="mailto:jrasetti@usp.br">jrasetti@usp.br</a><br><br>Universidade de São Paulo&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;400 Av. Trabalhador São-carlense<br>São Carlos School of Engineering&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; São Carlos, SP, Brazil -- 13560-560
<br>Department of Transportation Engineering&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(55-16) 3373-9596