{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}.

learn more… | top users | synonyms (1)

9
votes
0answers
81 views

Fall back to all-caps if small-caps shapes are missing

If I use \textsc{xyz} with a font that has no small caps (e.g. Latin Modern Sans), the result is typeset in lower case. Is it possible to fallback to all-caps instead?
8
votes
0answers
365 views

Complex ligatures in Devanāgarī

Ligatures are known to the Western European languages, however it isn't that common to spot vertical or complex form of them. As an exercise in typography I tried to get some complex ligatures in ...
7
votes
0answers
71 views

Feed fontdimen parameters to TeX

I have decided to use \fontdimen parameters as an array of numbers (to store data about Unicode Character Properties). The question now is to fill in those \fontdimen parameters in the most efficient ...
7
votes
0answers
789 views

How to keep ggplot font size constant when varying figure width

I have different figures across my document with different width. I set the the font size for all ggplots globally with theme_set(theme_bw() + theme(text=element_text(family="Palatino", size=20))) but ...
7
votes
0answers
698 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 ...
6
votes
0answers
342 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 ...
6
votes
0answers
503 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
65 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 ...
5
votes
0answers
283 views

Differences between XeLaTeX and LuaLaTeX embedding fonts (with optical sizes) in PDF

Using TexLive 2014 (updated today) on Windows 7 the following code compiles using XeLaTeX and LuaLaTeX: \documentclass{article} \usepackage{fontspec} \setmainfont[ Extension = .otf, Path=otf/, ...
5
votes
0answers
216 views

Is there any sans-serif font that fully supports unicode-math?

As stated in the question title, is there any sans-serif font that fully supports the unicode-math package? Alternatively, is there a list that shows the different levels of support for (preferably ...
5
votes
0answers
153 views

LuaLaTeX 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 ...
5
votes
0answers
687 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} % ...
5
votes
0answers
407 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 ...
5
votes
0answers
250 views

Embedding a complete rather than a partial font

Is it possible to make XELatex embed a full rather than a partial font? The reason I ask is that I am trying to induce a fillable form to use the body font (a question asked before by several ...
5
votes
0answers
303 views

How to get “XeLaTeX + unicode-math” output as close as possible to that of pdflatex?

I've started exploring XeTeX and the unicode-math package in order to use unicode in my input. Of the six math fonts described in unimath-symbols.pdf, Latin Modern Math seems to be closest to what ...
4
votes
0answers
47 views

Editing ligature table

It is suggested in TeXbook (p. 46) that in adapting TeX to type Norwegian, You can arrange the font metric file so that TeX will interpret ae, o/, aa, AE, O/, and AA as ligatures that produce ...
4
votes
0answers
108 views

lualatex: Error when loading a font from a relative path

I'm trying to load a .ttf from lualatex, which works fine when I place the .ttf in the same folder as the .tex file. However, for my project structure it would be beneficial to store .ttf files in a ...
4
votes
0answers
87 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 ...
4
votes
0answers
288 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
262 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 ...
3
votes
0answers
54 views

Unable to change font with ModernCV

I've been trying to change the font with modernCV for quite a while now, but nothing seems to work. I'm using LuaTex. To start with, I tried changing it from sans to roman, although the font changes, ...
3
votes
0answers
37 views

Where to put tfm and gf files

I am working on custom logo with MetaFont. I build logo.tfm and logo.600gf files but TeX or DviView ignore these. They try to build the font on the fly failing. What can I Do?
3
votes
0answers
119 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 ...
3
votes
0answers
171 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 ...
3
votes
0answers
185 views

Handwritten parchment. Quill style

I want to know a few fonts that look like this: I want to know what are the colors that were used to write with quill or some colors that could be used in the document. I would like to split the ...
3
votes
0answers
124 views

Caecilia font for latex

I would like to know if there is a comprehensive website for all (standard) fonts available for latex and their code names. For example, I would like to use the font caecilia and do not know if it is ...
3
votes
0answers
150 views

Smooth concrete math

This question is linked to this one. I want concrete math to be smooth. Following the answer of egreg, I obtain an arithmetic overflow. I think this is due to the 8000dpi specified in the answer. In ...
3
votes
0answers
124 views

How to embed fonts within a ConTeXt document?

I wrote a book using ConTeXt. I used a typescript to define the fonts. When compiled and viewed on my computer, the fonts appeared correctly. I sent my book to a printing place to have them print the ...
3
votes
0answers
172 views

How to get started using mtpro2 lite on TeXLive?

I want to use mtpro2 but I have no idea how to get it working on TeXLive. I thought it was difficult to understand what do in order to install it. Until I became convinced that perhaps it is already ...
3
votes
0answers
55 views

blackletter1 and yfrak

A follow-up to my earlier question. I have implemented \textfraktone using the blackletter1 fonts and the T1 encoding, but I get different results to that from using the \textfrak from the yfonts ...
3
votes
0answers
251 views

Simulate handwriting with LaTeX

I am looking for a way to randomize characters rendering, to simulate handwriting. I already saw this, but it's not enough for me, only the position of the words are randomized.
3
votes
0answers
84 views

Accessing cmex10-equivalent symbols in latinmodern math in rendering code

I wish to display and print mathematical formulae not using one of the existing TeX distributions and not via a web browser, but using my own code so that the display is integrated into my packages as ...
3
votes
0answers
94 views

Can I turn a variable width font into a fixed-width font?

I found a free ancient-typewriter font I'd like to use in a project, but the person who made it apparently traced some scanned outlines and poured them into a variable width truetype font. That is not ...
3
votes
0answers
69 views

Problem using italics in fonts with optical size feature

I come across a strange problem when using fonts with different optical sizes. When compiling the following example (using either lualatex or xetex) \documentclass[10pt]{memoir} \usepackage{fontspec} ...
3
votes
0answers
293 views

texlive font installation - what am I doing wrong

I'm trying to install Source Sans Pro from CTAN [1] on a TeX Live system. My OS/TeX system is ubuntu 12.04 "precise" and TeXLive 2009-15. I don't have root rights so I can't switch to a newer version ...
3
votes
0answers
776 views

font size and type in asymptote

I am struggling to find font sizes and types for labels on my math figures in asymptote. I am creating two images which should be essentially the same, but for a sphere and cylinder. I haven't been ...
3
votes
0answers
79 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 ...
3
votes
0answers
169 views

Using 12 Pitch Monospaced Font in Latex

I am trying to create a Latex document and the specification for the same asks for a 12 pitch font. After reading a bit about "pitch" I understand that I should be using a monospaced font like ...
3
votes
0answers
286 views

Replacing a glyph in one font with a glyph from another

I am a newbie with LaTeX when it comes to fonts. I would like to replace the double story "a" in Latin Modern for a single story "a" version (and similarly for the "g"). I just prefer my typeset ...
3
votes
0answers
341 views

Monotype Garamond

I'm relatively new LaTeX user, and I want to use Monotype Garamond in LaTeX documents, at any cost. I know this is not the original version of Garamond, that the author is Jean Jannon from 1615 year, ...
3
votes
0answers
133 views

path for chinese font with ConTeXt

I already use ConTeXt for maths and am fully satisfied, but now I need to write a document with text in chinese. I've read the different PDFs (mchinese.pdf and Uptodate) available here and I visited ...
3
votes
0answers
206 views

Font package needed for PDF built using TEX?

This question might sound stupid (I am not a CS major). I built my grad school application resume using Latex (based on a CS grad suggestion :) ) and successfully generated the required PDF. I ...
3
votes
0answers
125 views

How to use a lualatex FeatureFile to adjust sidebearings in math mode?

I am trying to use Linux Libertine as a letter font (and a bit more) in math with unicode-math and luaLaTeX. It should be good to adjust some details, and I hoped to be able to do it with a .fea ...
3
votes
0answers
140 views

Is there any way to use mac fonts in texlive distribution of LaTeX on ubuntu?

I want to try more fonts in my moderncv latex file and what font is suitable. I've already import Windows fonts into my Ubuntu OS and got the fonts work well with my tex file. So can I import the ...
3
votes
0answers
207 views

How to define a style for drawings using a special font and siunitx?

I would like to define a style (e. g. style=techDraw) that gives me the possibility to define the behavior of all technical drawings made by tikz or imported as pdf_tex a. s. o. when the style ...
2
votes
0answers
45 views

My font is ignored in beamer

I use Xetex for customize my font. I installed my font in my linux system. The command fc-list | grep -i Share-TechMono returns /usr/local/share/fonts/Share-TechMono.ttf: ...
2
votes
0answers
90 views

Followup to “How does one type Chinese in LaTeX?”

I have read the answers to the question How does one type Chinese in LaTeX?. In my case the solution compiling in xelatex, and the one compiling in pdflatex both manage to compile without errors. ...
2
votes
0answers
100 views

Replacement for MathTime Pro

I have a .tex source file which uses MathTime Professional 2. As MathTime Pro is not a free licensed font, I was wondering if it would be possible to change it to another similar font with a free ...
2
votes
0answers
43 views

Using Trebuchet MS font

Is it possible to get this font in LaTeX? I found a way by using XeLaTeX, however, I'm working on LaTeX => PS => PDF.
2
votes
0answers
39 views

MinionPro % character not being properly rendered

After installing MinionPro following instructions from https://toihoctap.wordpress.com/2013/02/20/install-minionpro-font-for-texlive-2012-in-ubuntu-12-04-lts/ % signs aren't being properly rendered, ...