<div dir="ltr"><div><div><div>Robert,<br><br></div>I too use a “header” for use with LuaLaTeX that looks like yours (see “lucidamathot.sty” below). It does some relevant stuff like pull in the fontspec and unicode-math packages as well as set some sane defaults. It was created from a mish-mash of the example file included with the Lucida Opentype distribution and the LaTeX Companion .sty package documentation.<br><br></div><div>Feel free to use and abuse any of the below code.<br></div><div><br></div>FWIW, you don’t need to specify the bold and italic variants any more as they seem to work OK without them with the latest version; same for Bold Math (which is why it’s commented out below).<br><br></div><div>It would be great if someone (cleverer than me) could come up with something more sophisticated offering package options and the like to access alternative math shapes and characters for example. The “variant g” springs to mind. IIRC, the package for the Type 1 Lucida Bright fonts includes options for upright math, for example.<br><br><br></div><div>Cheers<br></div><div>Shay<br></div><div><div><br>========<br>\NeedsTeXFormat{LaTeX2e}<br>%<br>\ProvidesPackage{lucidamathot}<br>        [2015/02/03 v0.0.2]<br><br>\RequirePackage{fontspec}<br>\RequirePackage{unicode-math}<br><br>% Enable standard TeX input sequences, slightly reduce the size.<br>\defaultfontfeatures{Ligatures=TeX,Scale=.92}<br>%<br>\setmathfont{Lucida Bright Math OT}<br>%\setmathfont[version=bold]{Lucida Bright Math OT Demi}<br>\setmainfont{Lucida Bright OT}<br>\setsansfont{Lucida Sans OT}<br>\setmonofont{Lucida Sans Typewriter OT}<br>%<br>% The specialized one-off fonts:<br>\newfontface\LucidaBlackletter{Lucida Blackletter OT}<br>\newfontface\LucidaCalligraphy{Lucida Calligraphy OT Italic}<br>\newfontface\LucidaHandwriting{Lucida Handwriting OT Italic}<br><br>\RequirePackage{microtype}<br><br>\endinput<br>========<br><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 30 December 2015 at 00:12, Robert Almgren <span dir="ltr"><<a href="mailto:almgren@cims.nyu.edu" target="_blank">almgren@cims.nyu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Dec 29, 2015, at 5:19 PM, Paul Gessler wrote:<br>
> I created a small package, with contents nearly identical to your code above, that I use locally.<br>
<br>
</span>Thanks very much. Certainly I could make a header file, in fact that is more or less what I have done with the template that TeXShop uses. I guess I just wondered if there was a similar file as part of a standard distribution, which might make it easier for everyone.<br>
<br>
For example, I think the output below means that ConTeXt has packages to support OpenType Lucida. It would make sense for there to be similar ones for other systems.<br>
<br>
                                       --Robert Almgren<br>
<br>
> tlmgr info lucida<br>
...<br>
Packages containing files matching `lucida':<br>
context:<br>
        texmf-dist/tex/context/base/type-imp-lucida-opentype.mkiv<br>
        texmf-dist/tex/context/base/type-imp-lucida-typeone.mkiv<br>
        texmf-dist/tex/context/fonts/lucida-opentype-math.lfg<br>
        texmf-dist/tex/context/fonts/lucida-typeone-math.lfg<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
Fellow, NYU Courant Institute Mathematics in Finance Program<br>
<br>
<br>
<br>
<br>
<br>
<br>
--<br>
<a href="http://tug.org/lucida/" rel="noreferrer" target="_blank">http://tug.org/lucida/</a><br>
<a href="http://tug.org/mailman/listinfo/lucida" rel="noreferrer" target="_blank">http://tug.org/mailman/listinfo/lucida</a><br>
</div></div></blockquote></div><br></div>