[lucida] newfontface

Bruno Voisin bvoisin at me.com
Wed Sep 13 17:11:07 CEST 2017


> Le 13 sept. 2017 à 16:58, Lawrence Mielniczuk <lawrence.mielniczuk at bodleian.ox.ac.uk> a écrit :
> 
> I am experimenting with the file 'lucidaot-sys-example.tex.I don't understand the line:
> 
> \newfontface\LucidaBlackletter{Lucida Blackletter OT}
> 
> How can I make use of this?  Say, for example, I want the word OpenType in the final paragraph to be displayed in LucidaBlackletter.

This is a fontspec feature (the doc is accessible on the Mac for example with "texdoc fontspec" in Terminal):

- When you just use a font once or twice, you can write

	{\fontspec{Lucida Blackletter OT} This is a once occurrence of Lucida Blackletter.}

- If you plan to use the font several times, you can use instead

	\newfontface\LucidaBlackletter{Lucida Blackletter OT}
	{\LucidaBlackletter This is a first fragment in Lucida Blackletter.}
	[...]
	{\LucidaBlackletter And a second fragment.}

So in your case you can just write

	{\fontspec{Lucida Blackletter OT} OpenType}

or

	\newfontface\LucidaBlackletter{Lucida Blackletter OT}
	{\LucidaBlackletter OpenType}

Hope this helps,

Bruno Voisin






More information about the lucida mailing list