2022 Developer Survey is open! Take survey.

Questions tagged [font-metrics]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
32 views

Spacing of italic differential d in mtpro2

Differential quantities with the mtpro2 font package don't typeset correctly (I think) because of the italic correction on the d character. Using this post Math letter's italic correction I ...
user avatar
0 votes
0 answers
51 views

ETbb font package not working (missing TFM & CFG files)

When trying to compile (even the simplest) documents using the ETbb package, e.g.: \documentclass{article} \usepackage{ETbb} \begin{document} Test. \end{document} I get errors involving missing ...
user avatar
  • 988
0 votes
0 answers
115 views

pk: height, ascend, descend and cap-height of a pk font face

still working on my dvi-to-png program in Go ([1]), I am trying to shoehorn face metrics from pk and tfm into this structure from "the" Go font library: package font // import "golang....
user avatar
  • 41
2 votes
0 answers
90 views

Are there any sans-serif fonts metric-compatible with Computer Modern?

The default LaTeX font is Computer Modern, a serif font. There is also a sans-serif alternative. However, it is not metric compatible. This means that the sizes each character can differ, and this can ...
user avatar
  • 121
1 vote
2 answers
65 views

Baskervaldx: error of compilation with the new update of MikTeX

This is a quick question. I wanted to change the font and to use baskervaldx package: https://ctan.mirror.garr.it/mirrors/ctan/fonts/baskervaldx/doc/baskervaldx-doc.pdf. I have taken the same code of ...
user avatar
  • 46.2k
0 votes
0 answers
60 views

Is it possible to emulate behavior of \XeTeXuseglyphmetrics in luatex

The \XeTeXuseglyphmetrics feature of XeTeX is handy when typesetting content that is to be placed side-by-side while trying to adhere to a baseline grid. This is because \XeTeXuseglyphmetrics=0 forces ...
user avatar
  • 1,228
4 votes
1 answer
252 views

How can I print the prosodic symbols in LaTeX?

The package "metre" or "metrix" is very good to print the prosodic accent for LaTeX. But, I counldn't print several signs. Does anyone know how to print this one ?
user avatar
0 votes
1 answer
827 views

TinyTeX: Font TS1/ntxtlf/m/n/12=ts1-qtmr at 12.0pt not loadable: Metric (TFM) file not found

I'm trying to get a minimal LaTeX working inside a Docker container to support some documentation generation. Currently this is what I have going: RUN wget -qO- "https://github.com/yihui/tinytex/raw/...
user avatar
0 votes
1 answer
840 views

newtxmath in BasicTeX: Not working out of the box

I have a fresh installation of BasicTeX and cannot get newtxmath to work. There seem to be problems with math glyphs. Running this code: \documentclass{article} \usepackage{newtxmath} \begin{...
user avatar
  • 1,567
2 votes
0 answers
95 views

Special fonts in math expressions (for CNC machines)

There are many questions about fonts in TeX, but we have a special need so I'm asking a new question. We are designing a CNC machine that will execute mathematical expressions. Therefore, we need to ...
user avatar
  • 311
16 votes
2 answers
1k views

Scrartcl 13.999 point 14.4 point but not 14 point?

Can the scrartcl class make a true 14 point type? It will produce 13.999pt, 13.9999pt and 13.99998pt, but 14pt produces 14.4 point type only. Thanks :) \documentclass[fontsize=13.999pt]{scrartcl}...
user avatar
  • 3,930
3 votes
0 answers
2k views

mathbbol and Metric (TFM) file not found

Hello everybody I am a new Latex user and I have a simple document: \documentclass[12pt,onecolumn]{report} \usepackage[ansinew]{inputenc} \usepackage{amsfonts} \usepackage{graphics,graphicx,color,...
user avatar
1 vote
1 answer
480 views

mktextfm fails when pdflatex is invoked by cgi-bin script under www-data (apache)

I'm starting pdflatex from a shell-script invoked as cgi-bin application on Ubuntu (running under default www-data user) and from time to time I have the following kind of error preventing compiling: ...
user avatar
1 vote
2 answers
339 views

What is the formula for converting TeX points to pixels units?

I need this information because I would like to use the Computer Modern fonts in a Windows application that I am developing. The GUI library that I am using (wxWidgets) requires that all lengths be ...
user avatar
  • 83
2 votes
0 answers
156 views

Which TeX engines support OFM fonts?

I'm extremely unhappy with the limitation of tfm fonts of 15 heights / 15 depths / 63 italic corrections. This is why I'm looking for a TeX engine which can load ofm fonts, probably etex, xetex or ...
user avatar
4 votes
0 answers
119 views

Why no metrics for left subscripts and superscripts?

The math typesetting system in TeX aims at perfect spacing between symbols, hence has metrics describing the correct position of (right) subscripts and superscripts for each math symbol (as far as I ...
user avatar
  • 10.9k
2 votes
4 answers
891 views

How to override default font with virtual font

My setup: TL 2014 (packaged with Debian 8) I'm trying to create a virtual font and override original font with it. The idea is to copy necessary files of original font with prefix 'o' and in virtual ...
user avatar
10 votes
1 answer
583 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 ...
user avatar
1 vote
1 answer
228 views

How to make metrics of LM-fonts the same as of CM-fonts?

In the article about LM-fonts it's written: Finally, they can be used with the CM metrics (e.g., via psfonts.map), so as to preserve typesetting of existing documents. IMHO, font metrics are part ...
user avatar
10 votes
1 answer
902 views

Can I declare a new automatic kern for "eV" without modifying font metrics?

The "eV" (electronvolt) unit and its variants ("MeV", "GeV", "TeV", ...) are heavily used in nuclear and particle physics. By default Computer Modern and other common TeX fonts do not contain a pre-...
user avatar
  • 1,038
6 votes
1 answer
719 views

Math accents overlap in beamer

Consider the following MWE \documentclass{beamer} \usepackage[english,spanish]{babel} \uselanguage{spanish} \languagepath{spanish} \usepackage{lmodern} \usefonttheme[onlymath]{serif} \usepackage[T1]...
user avatar
  • 3,106
2 votes
1 answer
674 views

Generating an oblique (slanted) font in LuaLaTeX

With LuaLaTeX, I am using an OpenType font family (Dolly Pro) with roman small caps but no italic small caps. My block quote style uses italics, which I like, but one of my quotations has the ...
user avatar
4 votes
1 answer
244 views

setting kerning for a glyph and a ligature

How can one specify in PL-file the kerning for a glyph and a ligature (say, digit and en-dash) except for setting it for the first part of the ligature (which I would like to avoid)?
user avatar
1 vote
0 answers
129 views

Manual font installation vs CTAN's metric files

I installed on my system some commercial PostScript fonts. For all of them, metrics were available on CTAN, namely in the Schmidt's collection http://www.ctan.org/pkg/w-a-schmidt. Now, most of the ...
user avatar
2 votes
1 answer
417 views

Which package do I need for TACL template?

I've downloaded the following files from http://www.transacl.org/submission/ and placed them in the same directory: acl2012.tex acl2012.sty acl2012.pdf acl.bst but when i tried to compile the .tex ...
user avatar
  • 455
1 vote
1 answer
2k views

metric file not found for script font

I'm trying to get a handwritten-looking cursive font working in LaTeX. I found a list in the TUG font catalogue, and thought Vereinfachten Ausgangsschrift looked right. However, I can't get even the ...
user avatar
  • 1,584
60 votes
1 answer
7k views

What do different \fontdimen<num> mean

I know that \fontdimen<num> returns some dimensions associated with the current font. What are they?
user avatar
  • 49k
1 vote
1 answer
775 views

problem with qpxmath: qplri at Xpt not loadable: Metric (TFM) file not found

I face problems while using Gyre with MiKTeX. The simple example is a template for a journal, downloadable at http://nlp.ipipan.waw.pl/ojs/public/jlm-latex.zip Following the README file, I installed ...
user avatar
5 votes
1 answer
615 views

Why will TeX only find my tfm file for 11pt and 12pt fonts, not for 10pt?

In this answer I did something one shouldn't really do: I modified the font metric file cmsy10.tfm and saved it in my working TeX directory without changing the name. This had the desired effect: ...
user avatar
  • 36.5k
2 votes
0 answers
3k views

Problem with loading font metrics file [closed]

Trying to make PDF output with pdflatex halts with this message: Font T1/ptm/m/n/10=ptmr8t at 10.0pt not loadable: Metric (TFM) file not found After searching a bit I found that file ptmr8t.tfm is ...
user avatar
  • 121
3 votes
3 answers
631 views

Tweaking numeral height (and baseline)

I am using the Computer Modern Unicode Bright font, in the OpenType version (see http://cm-unicode.sourceforge.net or http://www.ctan.org/tex-archive/fonts/cm-unicode) in a XeLaTeX-compiled document. ...
user avatar
  • 3,921
40 votes
4 answers
10k views

What exactly is leading?

Wikipedia: In typography, leading ( /ˈlɛdɪŋ/) refers to the distance between the baselines of successive lines of type. By this definition, isn't it the same thing as line height? But in the ...
user avatar
  • 501
5 votes
1 answer
615 views

Why doesn't math \fontdimen's work with XeTeX?

Why doesn't the \fontdimen-command change anything with XeTeX? \input pgffor \def\chfndims#1{\foreach\dim in{13,...,19}{\fontdimen\dim#1=20pt}} \font\mymathfn="XITS Math:script=math" at 10pt \...
user avatar
  • 24.8k
10 votes
1 answer
1k views

Calculate font metrics for glyphs inside MetaPost figures

I'm looking for a way to calculate the ascent and descent of a character glyph after it has been scaled and then drawn into a MetaPost figure. With TikZ, I can do this fairly easily by performing ...
user avatar
  • 12.5k
34 votes
6 answers
5k views

Bad positioning of math accents for the beamer standard font

With a recent TeX distribution, the easy answer to this question is "load the sansmathaccent package" (which is Ariel's implementation of my answer). Actually, the corrected font should be loaded ...
user avatar
  • 36.5k
8 votes
1 answer
501 views

How to adjust the slant angle of a diacritic

I am trying to change the slant angle of an accent. I have used the fontdimen to adjust the quantity. The first portion of the code that follows adjusts fontdimen5 (the x-height). This works as you ...
user avatar
7 votes
1 answer
3k views

How to make a command for a composed symbol to work with all font sizes?

In my paper I need a letter $\mathbb{R}$ with a small circle above it. Currently I'm using the following command: \newcommand{\obbR}{{\mbox{\kern1.4pt \raisebox{7pt} {\scriptsize$\circ$} \kern-9.1pt}\...
user avatar
  • 1,801
7 votes
2 answers
2k views

How to make sense of font metrics?

If I have a Tex font, and I want to really understand how it will be laid out by Tex, and what features of the font to bear in mind when tuning my output to be beautiful, what tools are useful for ...
user avatar