[lucida] Best header definitions?

Shay Riggs shay.riggs at gmail.com
Wed Dec 30 03:06:40 CET 2015


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.

Feel free to use and abuse any of the below code.

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

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.


        [2015/02/03 v0.0.2]


% Enable standard TeX input sequences, slightly reduce the size.
\setmathfont{Lucida Bright Math OT}
%\setmathfont[version=bold]{Lucida Bright Math OT Demi}
\setmainfont{Lucida Bright OT}
\setsansfont{Lucida Sans OT}
\setmonofont{Lucida Sans Typewriter OT}
% The specialized one-off fonts:
\newfontface\LucidaBlackletter{Lucida Blackletter OT}
\newfontface\LucidaCalligraphy{Lucida Calligraphy OT Italic}
\newfontface\LucidaHandwriting{Lucida Handwriting OT Italic}



On 30 December 2015 at 00:12, Robert Almgren <almgren at cims.nyu.edu> wrote:

> On Dec 29, 2015, at 5:19 PM, Paul Gessler wrote:
> > I created a small package, with contents nearly identical to your code
> above, that I use locally.
> 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.
> 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.
>                                        --Robert Almgren
> > tlmgr info lucida
> ...
> Packages containing files matching `lucida':
> context:
>         texmf-dist/tex/context/base/type-imp-lucida-opentype.mkiv
>         texmf-dist/tex/context/base/type-imp-lucida-typeone.mkiv
>         texmf-dist/tex/context/fonts/lucida-opentype-math.lfg
>         texmf-dist/tex/context/fonts/lucida-typeone-math.lfg
> --
> Fellow, NYU Courant Institute Mathematics in Finance Program
> --
> http://tug.org/lucida/
> http://tug.org/mailman/listinfo/lucida
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/lucida/attachments/20151230/b9360cee/attachment.html>

More information about the lucida mailing list