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

11
votes
0answers
318 views

Can't generate ligatures with LuaLaTeX under TeXLive 2014 when using certain fonts

Consider the following MWE: % !TEX TS-program = lualatex \documentclass{article} \listfiles \usepackage{fontspec} \setmainfont[Ligatures={Common,Rare}]{Hoefler Text} \begin{document} ff fi fl ffi ffl ...
9
votes
0answers
67 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
101 views

XeLaTeX: Set an alternative font in case it is not found

I am setting up the packages for a shared project with someone who's not familiar with LaTeX. I want to use some of our local fonts. I used XeLaTeX and it works. However, we'll also use a notebook ...
7
votes
0answers
56 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
661 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
309 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 ...
6
votes
0answers
311 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
682 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 ...
5
votes
0answers
57 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
243 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
143 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
628 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
369 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
235 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
294 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 ...
5
votes
0answers
476 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. ...
4
votes
0answers
164 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 ...
4
votes
0answers
82 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
263 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
239 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
93 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
125 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
158 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
113 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
141 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
118 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
143 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
51 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
235 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
73 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
88 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
64 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
256 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
669 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
74 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
155 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
267 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
317 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
128 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
202 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
118 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
139 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
202 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
73 views

What is the template, used in this document?

What is the of the template and font, used in this document?
2
votes
0answers
39 views

How to properly include fonts for mathgifg package

I installed the mathgifg package according to this guide: How to install mathgifg package as well as the mathgifg documentation. For typesetting I am using the MacTex 2013 distribution and pdftex. ...
2
votes
0answers
47 views

Creating a section heading 'marker' in a medium font

I have used tikz to create a system of section headers that provide different 'marker' options that highlight different kinds of section, thus: I have defined a markerfont, Gill Sans, medium ...
2
votes
0answers
105 views

Yannis's yinit font (gothic initials) and metapost

I am trying to produce EPS standalone files for all Gothic Initials from the Yannis'metafont sources recently reissued by Karl Berry for TL2014 (texmf-dist/fonts/source/public/gothic/). I run ...
2
votes
0answers
91 views

Throw error if font is not defined

I need to throw an error, should a certain font not be installed. I have a font in a subfolder: /font/NinjaFont.ttf. This must be installed via certain commands (not important for this - but here: ...
2
votes
0answers
192 views

Annoying list of error messages pointing to missing Myriad Pro font

I'm getting an awfully annoying list of error messages pointing to Myriad Pro font missing when I use moderncv and xelatex or lulatex: \setmainfont{Myriad Pro} \setsansfont{Myriad Pro} the whole ...
2
votes
0answers
45 views

Fixed width font in LATEX .Rnw file

In a .Rmd file, I can force individual words to become fixed width font by using syntax. For example, in the above sentence, the word "syntax" will be written in fixed width format. Is there an ...