I have created some otf files of fonts for symbols and I'd like to write a package from them and then upload it to CTAN. But I have no experience in writing a package. So is there any reference to write a package from otf files? Please give some advice on the references which should be very basic. Specifically, with otf files of some fonts for symbols in hand, how to write a package like MnSymbol?
Asked
Active
Viewed 51 times
1
M. Logic
- 4,214
fontspecto use any OTF without needing any additional package. If you're using pdfLaTeX/LaTeX, you can't use such fonts as is regardless of any packages available. Are you converting them withotftotfmas your tag suggests? – cfr Sep 12 '23 at 19:43otftotfm, I strongly advise NOT using the-aoption. It installs the fonts at the user level, which creates all kinds of problems. To avoid problems, let the tool create the files in the current directory and then install them and update the map files systemwide. – cfr Sep 12 '23 at 19:51otftotfmsuggests (1) pdfTeX (or, possibly, TeX) and (2) text. Are the symbols arbitrary (e.g. ornament-like) or do they have e.g. unicode or TeX names? – cfr Sep 12 '23 at 20:07libertinus-fonts, which contains nothing but fonts. No *sty file. Then have a look at related packageslibertinusandlibertinus-otfwhich contain LaTeX program code for using those files. Not needing code support, I uselibertinus-fontsas-is. – rallg Sep 13 '23 at 15:29