Questions tagged [font-metrics]
The font-metrics tag has no usage guidance.
39
questions
1
vote
1
answer
202
views
Computer Modern TTF and TFM files with original 7-bit codepoints
Background
While modernizing the New Typesetting System (NTS) into a 100% pure Java library to generate SVG versions of TeX, I've hit an impasse.
Problem
The issue is that math and ligatures don't ...
0
votes
0
answers
93
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 ...
0
votes
0
answers
193
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 ...
0
votes
0
answers
740
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....
2
votes
0
answers
256
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 ...
1
vote
2
answers
106
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 ...
0
votes
0
answers
68
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 ...
4
votes
1
answer
294
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 ?
1
vote
1
answer
2k
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/...
0
votes
1
answer
1k
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{...
2
votes
0
answers
110
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 ...
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}...
4
votes
1
answer
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,...
2
votes
1
answer
592
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:
...
1
vote
2
answers
748
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 ...
2
votes
0
answers
170
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 ...
4
votes
0
answers
126
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 ...
2
votes
4
answers
1k
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 ...
10
votes
1
answer
669
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 ...
1
vote
1
answer
252
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 ...
10
votes
1
answer
1k
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-...
6
votes
1
answer
858
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]...
2
votes
1
answer
961
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 ...
4
votes
1
answer
286
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)?
1
vote
0
answers
135
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 ...
2
votes
1
answer
478
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 ...
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 ...
60
votes
1
answer
9k
views
What do different \fontdimen<num> mean
I know that \fontdimen<num> returns some dimensions associated with the current font. What are they?
1
vote
1
answer
787
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 ...
5
votes
1
answer
673
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: ...
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 ...
3
votes
3
answers
673
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. ...
42
votes
4
answers
11k
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 ...
5
votes
1
answer
642
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 \...
11
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 ...
38
votes
6
answers
6k
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 ...
9
votes
1
answer
553
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 ...
8
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}\...
8
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 ...