Questions tagged [fonts]

{fonts} is about fonts and how to use them. It deals with questions about changing family, shape and weight of fonts, but also with font packages. If your question is not about a font in general but about specific symbols, use {symbols} instead. For questions about font sizes, use {fontsize}.

823 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
16
votes
0answers
1k views

Script for using metatype to convert metafont to TTF?

In the metatype FAQ, there's a section called "I have Metafont sources of some font. How could I convert it to TrueType using Metatype?" In that, he lays out a dozen steps that really should be ...
8
votes
0answers
2k views

otf sans serif math only in figures

I was going to use a serif font (TG Pagella) for most of the text (including captions) and a sans serif font (Candara) for my (tikz) figures. For text this works nice, but not for maths. First I used ...
7
votes
0answers
621 views

unicode-math: problem with math versions and operator font --?

When changing the math font using \mathversion under unicode-math, math operator commands (such as \lim or \cos) lead to an error message stating "math alphabet identifier \mathrm is undefined in math ...
6
votes
0answers
170 views

How to make contextual substitutions work with luatex 1.0x?

Recently I started some experiments with German fraktur fonts, which contain several contextual substitutions to control the correct setting of longs and ligatures. Normally, there is one general rule ...
6
votes
1answer
921 views

minted escapeinside and code ligatures

When using Fira Code in listings you'll get programming/code ligatures. This behavior has to be enabled and usually minted does nothing special. But if you turn on escapeinside with any character that ...
6
votes
0answers
388 views

Replace an upright Greek math alphabet in mtpro2

I need to replace the gamma and upright uppercase Gamma alphabets in mtpro2 with their counterparts from newtxmath in both normal and bold styles. I asked a related question, viz., How to replace ...
6
votes
0answers
404 views

How to load baskervaldx font in xelatex

I'm trying to use the baskervaldx font in XeLaTeX; however it doesn't kern properly. With LaTeX it works as supposed. What is the right way to load the Baskervaldx font? With LaTeX, default install ...
6
votes
0answers
2k views

Characters missing when embedding PDF with pdftex

I have the feeling this must have been asked before, but I couldn't find it with search... When I run the following test file \documentclass{article} \usepackage[T1]{fontenc} % \pdfmapfile{+rotis....
6
votes
0answers
1k views

using a Postscript Type 1 font with fontspec and LuaLaTex on MacOSX

I am having trouble using SabonLT which is a Postscript Type 1 Outline font. I have the font installed as a system font (as described here) rather than a local font. I'm running LuaLaTex on Mac OSX. ...
5
votes
0answers
2k views

Font shape declaration has incorrect series value `mc'

I know this issue has been solved for the phv font family and updated via CTAN/miktex console but I get the same error for eurosans.sty. (pdfTeX, Version 3.14159265-2.6-1.40.21, MiKTeX 2.9.7400 64-bit)...
5
votes
0answers
171 views

Excessive memory use with unicode-math/Fira Sans and xfrac

When trying to use the Greek symbols in the font Fira Sans with unicode-math, I noticed that running lualatex on my document uses up enormous amounts of RAM. I have distilled my problem to a minimal ...
5
votes
0answers
58 views

yhmath, extensible parens, TeX chooses(?) wrong size

the yhmath fonts provide extensible parenthesis and other delimiters, as well as sqrts etc etc. Unfortunately it was found that the \biggl size is not correctly selected, as shown here The charlist ...
5
votes
0answers
1k views

How best to use STIX2 in a document?

I would like to typeset a document that has both mathematics and English text using the STIX/STIX2 fonts. However I am confused by the various options. First, I assume that STIX2 should be used in ...
5
votes
0answers
1k views

Choosing a good math font to use with Georgia text font

My questions is related to combining text and math fonts. I am a real fan of Georgia-like "dense" and "no so thin" fonts. It seems that books published by AMS use similar one. My problem is that I ...
5
votes
0answers
193 views

Display available contextual swash/alternative etc. features of OpenType fonts through LuaTeX

Is there a way to find out what pairs of contextual alternatives of characters of an OpenType font through luatex (and possibly other packages such as luaotfload and fontspec)? The question is a ...
5
votes
0answers
2k views

Why with XeLaTeX in TeXLive, is TeX Gyre Pagella Math font not found

I'm using TeXLive 2016 (under OS X). If I run XeLaTeX on the following file (which just modifies the distributed TeX Gyre file test-xelatex-texgyre_pagella_math.tex, I get error ... fontspec error: "...
5
votes
0answers
468 views

letters and spacing in Arabic -- bug in OpenType layout of LuaLaTeX

I perceive the following unwanted outcome: Two issues: In the first line, the last word on the right has a small gap between the second and the third letter from the right that is not supposed to be ...
5
votes
0answers
2k views

Create custom font package for LaTeX?

Can I create a custom package for LaTeX, that provides a custom font? There a packages like paratype or droid. I can just type \usepackage{droid} and it works! Is there tools to convert OTF/TTF ...
5
votes
0answers
558 views

LuaTeX performance with RAMdisk

This question may seem like it's been asked a million times over, but the relevant questions tackle XeLaTeX or plain LaTeX. What I want to know is if moving any filesystems/file locations to a ...
4
votes
0answers
73 views

Set fallback font without having to declare every missing character

I have the following code in my preamble to handle missing unicode characters in my CJKmainfont. % Set Font. \setsansfont{Noto Sans} \setmainfont{Noto Serif} % Set serifed font to Calibri. Originally ...
4
votes
0answers
1k views

Is there a Computer Modern font which contains all the math symbols?

I downloaded the Computer Modern Serif font, which is the default LaTeX font, to use it on my website, but when I opened the file with FontForge I noticed that it misses a lot of math symbols. It ...
4
votes
0answers
84 views

Why dvips gives checksum mismatch warning if \magnification is used?

Run tex on this test.tex file: \magnification\magstep1 \font\x=frcr10 \x hello \bye Then run dvips test. Output is dvips: Checksum mismatch in font frcr10. What's wrong with font frcr10 and how to ...
4
votes
0answers
110 views

Define point or area of a letter to show typographic information

I would like to define specific points or areas of characters: uppermost / lowermost point horizontal line (like in the m and p in the image where the top horizontals are not the uppermost parts of ...
4
votes
0answers
192 views

Why does XeTeX load bold italic instead italic?

\font\test="IRXLotus/I" at 20pt \test This is a test \bye uses bold italic instead italic. what is the problem? The font can be downloaded from here.
4
votes
0answers
263 views

Where do I have to save my own font?

Please see my update at the end I don't want to ask a xy-Question, so here comes the "hole" story: I want to install a font, which isn't available on ctan. (I guess it's necessary to install fonts ...
4
votes
0answers
2k views

Old books appearance and font

As opposed to a clean and crisp font and look that results from a normal TeX .pdf export, I wish to get the following overall look and feel in my documents, mimicking Cambridge John Wilson and Son ...
4
votes
0answers
398 views

Is there a difference between the Type 1 and OpenType versions of MetaType1 fonts?

MetaType1 is a system devised to create PostScript Type 1 fonts from MetaPost sources, similar in spirit to Knuth's original MetaFont but producing outline fonts instead of bitmaps. It comprises a set ...
4
votes
0answers
226 views

Replacing missing characters in ASCII/Latin block

I'm working with a display font that is missing many common characters, including parenthesis, em-dash, and true ``directional quotes''. I'd like a straightfoward way to replace these with matching ...
4
votes
0answers
1k views

Can't get pdflatex to work with Minion Pro on Linux

I successfully installed Minion Pro on OS X a couple of years back using the FontPro tool, but I'm unable to get it to work this time around on Linux (elementary OS / Ubuntu). I installed the latest ...
4
votes
0answers
530 views

MinionPro vs. FontPro

In the past I've used the MinionPro scripts/packages, by Achim Blumensath, Andreas Bühmann and Michael Pedler, to install the Minion Pro font set. I have to do this once more on a new computer —a Mac ...
4
votes
0answers
327 views

XeLaTeX renders broken text after upgrade to Ubuntu Vivid

I recently upgraded to Ubuntu Vivid, which broke the XeLaTeX rendering on my system. Only \textbf{} and \textit{} of specific fonts are affected. The character table seems to be off-by-one. I use ...
4
votes
0answers
187 views

Secondary math font definition

We are using XeTeX, and struggling to map mathematics fonts for secondary fonts. \documentclass{article} \RequirePackage{mathspec} \setmainfont{Palatino Linotype} \setmathrm{Palatino Linotype} \...
4
votes
0answers
967 views

LuaLaTeX, fontspec, .ttc fonts and kerning (Optima on Mac OS)

I'm probably missing something obvious. I'm using MacTeX 2014. I want to use the font Optima that ships with the Mac OS (10.8.5) -- it is a .ttc font. If I typeset the following TeX file I get no ...
4
votes
0answers
189 views

How to set the resolution of bitmap fonts in XeTex?

I would like to use the Calibri font for text and the concmath font for math. The latter is a bitmapped font and therefore it is rendered with rough edges by default. In pdflatex, one can set the ...
4
votes
0answers
1k views

Available fonts in MacTeX

How can I find out the list of fonts available in MacTeX? In particular, those fonts (say called FONT) which can be used as soon as the command \usepackage{FONT} appears in the preample. Also, how ...
4
votes
0answers
738 views

Windows 8 TTF font problems

We are building a small app which produces a .pdf out of a TeX document. Therefore we copied the pdflatex.exe (pdftex.exe, pdftex.dll) and its configs and packages out of TeXlive 2013. To handle ttf ...
3
votes
2answers
56 views

I can't type anything with FreeMonoTengwar font

I've successfully installed the FreeMonoTengwar font and the keyboard layout, and it works perfectly on simple programs such as Notepad: but for some reason when I follow the steps given in this ...
3
votes
0answers
159 views

Replicating an Exquisite Font

This question extends the one here: An Exquisite Mathematical Font by including the question for constructing a replica of the fonts and symbols included there. The question is, can a set of LaTeX ...
3
votes
0answers
109 views

How can I get the capital letter T that looks like a J?

The letter that I want to obtain is: Here the packages and style settings of my overleaf project: % AUTHOR: Agostino De Marco, agostino.demarco@unina.it % packages and related macros \usepackage[...
3
votes
0answers
110 views

Computer Modern Unicode: Inconsistency in letters small a and g in italic fonts

I found a kind of inconsistency in the Computer Modern Unicode font family between the italic fonts and all others for the letters "a" and "g". In the roman, sans serif, and ...
3
votes
0answers
281 views

Who can write a package for the new mathbb font as in the picture and compatible with Computer Modern font?

As @barbara beeton noted here, the mathbb of AMS and the other blackboard fonts right now are not compatible with Computer Modern (CM) font family default in LaTex. So it may be necessary to create a ...
3
votes
0answers
67 views

What TeX-related information to include in colophon?

In the colophon a book, I want to include some information acknowledging the use of TeX and related software. It tentatively includes the following: Composed by the author using the \LaTeX2e{} ...
3
votes
1answer
299 views

Problem with converting chemdraw files into eps files removes original fonts and style (bold, italic)

I have a serious problem, which makes LaTeX unusable right now for me. I reinstalled MiKTeX (build 2.9.7206) and Texmaker (build 5.0.4) on Windows. When I am trying to include an .eps file which was ...
3
votes
0answers
91 views

Make siunitx use (locally) a font selected via mathastext

I want to change locally a font also for math text I can use the mathastext package. However siunitx doesn't seem to respect this as showed in the following example (with the augie font). So how can I ...
3
votes
1answer
226 views

T1 fontenc - text not searchable

Whenever I use the T1 fontenc, the text of the output PDF cannot be searched. You can find a MWE below, the pdflatex output here and the log file here. \documentclass{article} \usepackage[utf8]{...
3
votes
0answers
594 views

how to set font style to Constantia in tex

I am using 'book' documentclass in tex (using texstudio over windows10) and would like to set the font-style to "Constantia" (as available in microsoft word). Can anyone please let me know how can I ...
3
votes
0answers
228 views

Change main font without affecting the math environment

I changed my document font from the default one to Akkurat with setmainfont from fontspec: \usepackage[no-math]{fontspec} % ... \setmainfont{}[ Path = fonts/AkkuratPro/, UprightFont = ...
3
votes
0answers
206 views

XeTeX + \overline: Which \fontdimen’s are used?

Edit: This question has been thoroughly reedited to highlight the problem at hand. I am trying to mimic \overline to create similar symbols. According to Overline thickness on TeX.SX, and ...
3
votes
0answers
428 views

fontspec can not find the font file to work on Mac OS

I am using texlive2018 and trying to make a simple tex file using xeCJK to work on Mac OS, but the fontspec can not find the font file even I am using a western character set font file. The test.tex ...
3
votes
0answers
926 views

Problem with bbm font => Fatal error occurred, no output PDF file produced!

The MWE: \documentclass{elsarticle} \usepackage[T1]{fontenc} \usepackage{bbm} \usepackage[english]{babel} \begin{document} $\mathbbm{1}$ \end{document} The log file: This is pdfTeX, Version 3....

1
2 3 4 5
17