Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [metafont]

{metafont} is a system for specifying fonts.

Filter by
Sorted by
Tagged with
55
votes
3answers
9k views

What is Metapost/Metafont and how can I get started using it?

Inspired by Why Metapost discrimination?, I'd like to come to know Metapost far better than I do now. All I really know is that Metapost is a language for describing graphics, and Metafont is used ...
39
votes
2answers
1k views

Randomized drawing of individual glyphs

I was reading Knuth's "Mathematical Typography" (Bulletin of the American Mathematical Society 1(2):337-372) and the section "Randomization" called my attention. I quote most of it here. I'd like ...
29
votes
1answer
559 views

Have LaTeX document slowly transform/fade from one font into another

A couple months back, I recall reading an article where LaTeX's metatype system is used to have a document fade from one font into another. The example had several pages of serif text that slowly ...
20
votes
2answers
4k views

How to create new font which is thicker version of Computer Modern

I'm trying to find a good way to have the LaTex default font "Computer Modern" (CM) a bit thicker (also called "blacker"). I really like this font, especially when it comes to math mode, so answers ...
20
votes
1answer
1k views

How long did it take for Donald Knuth to create/design the font family of CM?

I want to know how long exactly did it take for Donald Knuth to create/design the font family of CM? (please answer based on authentic references.) Did the designing process take more than 10 years ...
19
votes
2answers
7k views

How to create a font from scratch

Roughly speaking, how do we create a font from scratch? What software is needed? Is there free software to do this? Please guide me step by step because I am a newbie in this field. I cannot imagine ...
18
votes
1answer
2k views

Customized summation symbol

I am interested in defining some customized math symbols out of existing ones. For example I would like to distinguish between different types of sums, so beside the usual symbol I would like to have ...
16
votes
3answers
4k views

What fonts are available for LaTeX?

I have used Computer Modern, and I love it. Is there any other complete METAFONT font that can be used with LaTeX?
14
votes
2answers
2k views

Why (La)TeX can not work with true type fonts?

I know that if one wants to use true type fonts, there are solutions via xelatex or lualatex. My question however is, why it is like so? What is the fundamental difference between latex fonts and ...
14
votes
3answers
18k views

Problem finding metafonts at compilation

I'm trying to compile a document using the latex command. This document compiles fine on other machines, but on the machine I'm currently using (Ubuntu 12.04 with texlive installed via aptitude), it ...
14
votes
2answers
2k views

horizontal maya numerals (mathabx)

After researching, mathabx is the only package supporting maya numerals within tex. For example, typing $\maya{2013}$ results in: now the problem is... the numerals are rotated sideways (oddly, the ...
14
votes
1answer
2k views

What are .gf and .pk font files?

I've recently read this very interesting thread: How (La)TeX makes use of font related files, i.e., .fd, .map, .enc, .def,etc when selecting fonts?. In the meantime, I've been playing with compiling (...
13
votes
2answers
1k views

Metafont Book - problems with gray.tfm and displaying “experiment 2”

I'm working through Knuth's Metafont Book as preparation for learning Metapost and I'm running into some problems working through his "experiments". I've installed the latest TeX Live 2013 ...
13
votes
2answers
992 views

Nature of MetaFont Output: raster or vector?

I read that MetaFont defines vector fonts. Elsewhere it says it produces raster output. What kind of font does MetaFont really produce?
13
votes
1answer
411 views

Translation of typefaces into METAFONT (in the case of AMS Euler and others)

TL;DR: Let me ask my questions first: How was AMS Euler translated from Hermann Zapf's hand-drawn shapes into METAFONT? Has there been one into METAFONT's pen-strokes approach? What are other ...
13
votes
0answers
900 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 ...
12
votes
3answers
1k views

alternative to METAFONT

I'm interested in creating new character forms for computer-based calligraphy (freehand letters and kerning); strangely, such an attempt seems almost unheard of google. The closest thing might be ...
12
votes
1answer
648 views

What is the purpose of CM Funny?

I have never really seen any detailed discussion by TeX users on the subject of Computer Modern Funny, despite how strange it is. Personally, I find that even with its eccentricities, CM Funny and CM ...
12
votes
1answer
1k views

Proper way to use LaTeX fonts in XeLaTeX

What is the proper way to use LaTeX fonts, for example calligra or other fonts from the Font Catalogue in XeLaTeX. Something like \usepackage{fontspec} \setromanfont{Calligra} doesn't work. ...
11
votes
2answers
2k views

How to write like old mathematical papers

Every time I read an old math paper, I'm pretty exited about how perfectly it looks. See this PDF, for example: Everything, though a not-so-perfect-scan, somehow looks "real" to me. It's the little ...
9
votes
2answers
6k views

Bold Typewriter Type fonts

I found out that there are cmbtt10 and cmttb10 fonts available. Unfortunately they are not used until I activate them with the \font macro, so just searching for those fonts is not possible. The ...
9
votes
1answer
299 views

Finding METAFONT sources of a specific character

I'm trying to find out the METAFONT source of percent (%) character, which is created by \% with TeX. I am using the Normal CMR10 font. I am doing this, because I want a slightly modified version of ...
9
votes
1answer
292 views

Extracting purely the strokes for each glyph of a metafont

I am trying to attain a specific effect often seen on dials, gauges and telegraphs from the early 1900's e.g. from this link As these where hand-drawn these would generally use a fix-width stroke ...
8
votes
1answer
244 views

Looking for the “conditional” sign

In a paper, I found the following definition: I'm looking for the first sign, the OCR program failed to recognize. It's something like a combination of a \vdash and a \sim. I tried Detexify, but ...
8
votes
1answer
286 views

Why does LuaTeX not generate some fonts automatically, in contrast with TeX?

Consider the following example, using font lhr10 (texlive-lang-cyrillic package in debian): \font\myfont=lhr10 \myfont A \bye Compile it with LuaTeX: $ dviluatex test.tex This is LuaTeX, Version ...
7
votes
1answer
494 views

metafont hash symbol

What does the # symbol mean when it follows a variable name. e.g. arrow_len# vs arrow_len
7
votes
2answers
850 views

Where can metafont be obtained?

Where is the source code or executable for Knuth's metafont program? I cannot find it anywhere!
7
votes
2answers
1k 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 ...
7
votes
2answers
477 views

Any known barriers preventing interactive use of Metafont

Does anyone know of any reason why it would be difficult/impossible to build an interactive user interface for Metafont ? I'm not talking about a "drawing" interface where you drag control points ...
7
votes
1answer
195 views

Generating outline and shadow version of cmr10.mf

Does anyone know how you can change the source of cmr10.mf so that you can get outline and shadow character. By outline, I mean something like this: and by shadow, I mean something like this: For ...
7
votes
0answers
198 views

How to define a sort of reference in METAPOST?

Assume we are defining a canvas abstract data type in METAPOST, where some tasks are gathered. I would like to define a kind of reference to the last added task, but I do not know METAPOST good enough ...
6
votes
1answer
1k views

Using metafont-letters in LaTeX

I was playing around in metafont with some symbols I needed and now I got a result that I'd like to use. But I have two problem: I just need one, maybe two symbols, which are compiled right now ...
6
votes
2answers
218 views

How to distinguish between Metafont and MetaPost?

Background I'm trying to make a nice SVG out of Knuth's Dangerous Bend symbol based on his own code, for which the obvious tool to use is MetaPost. However, I'd prefer to still be able to process the ...
6
votes
2answers
86 views

A METAFONT character

I successfully generated a METAFONT character by the program below. How do I use it in LaTeX/XeTeX. mf a.mf gftodvi a.2602gf a.dvi I.e. what packages should I use and how do I use "b" from that ...
6
votes
1answer
84 views

MetaFont: character dimension of unchanged glyphs change when adding new glyphs?

I have a very strange effect while debugging yhmath math fonts items. I am generating cmex10.tfm from cmex10.mf, and convert the tfm to pl file. Then I rename only rename the driver file to yrcmex10....
6
votes
1answer
244 views

Defining commands to select different package fonts

I would like to have two different font styles in my document that are, unfortunately called by the same command. I would like to have \mathscr{} as called by the package eucal with the mathscr ...
6
votes
1answer
527 views

Has someone created a capital Eszett character (ẞ) for Computer/Latin Modern Roman?

I have seen how someone was able to create a Bitcoin character for Computer/Latin Modern Roman although it is not a part of the font itself. The capital ẞ does not seem to be a part of Computer/Latin ...
6
votes
1answer
6k views

feynmf with pdflatex [duplicate]

Possible Duplicate: How to use kile with feynmf or feynmp? I would like to use feynmf, or better feynmp, with pdflatex. My first idea was to replace all the files file.[0-9]* which are produced ...
5
votes
1answer
932 views

No spaces in a font created with Metafont

Finally I got my font created with Metafont, to appear on a PDF using LaTeX. Using the example in this answer. The problem is that I have no space between words. How can I get spacing between words?...
5
votes
2answers
2k views

Generating fonts of all LaTeX math symbols

Admission of Confusion Clearly I'm confused, I'll update the question as best as I can as people point out my lack of understanding. Ultimate Goal I like the fonts that pdfLaTeX uses to create ...
5
votes
1answer
212 views

Problems with mfplain

When I read the file mfplain into Metapost, I get about a dozen error messages complaining about redundant and inconsistent equations. It's hard to believe that there is really anything wrong with ...
5
votes
1answer
161 views

How to overlay METAFONT proof mode over a PDF or EPS or TIFF?

Basically, I have a lot of drawings in a lot of files for a typeface revival I'm working on --- it's optically-sized, and I only have a couple of complete sets (from memory, 28 and 72 pt.) and only ...
5
votes
1answer
327 views

Hidden gems of Metafont that are still worth it?

I've read up on the conversion from METAFONT to OTF via mf2pt1 and FontForge. Are there some "forgotten" fonts where such a conversion would make sense? I'd rather use Latin Modern than try to do ...
5
votes
1answer
320 views

change default metafont's mode/resolution (as when called directly from pdflatex)

When I use a metafont font, pdflatex calls mf to generate the pk font files. I would like to change the resolution at which the pk files are created. If I'm correct, the call stack is: pdflatex → ...
4
votes
2answers
151 views

Spurious line on `endash' and `emdash' metafont characters?

Run the following commands: mf cmr10 mktextfm gray gftodvi cmr10.2602gf Last two characters have a vertical line on the right. What is that?
4
votes
2answers
683 views

dashed or dotted brace or bracket

I need to add a dashed or dotted brace or bracket into an equation. But I didn't found any symbol similar to this (with detexify or The Comprehensive LaTeX Symbol List). Do you know how it can be ...
4
votes
1answer
248 views

How to parametrise vardef declarations for suffixed variables with tags?

In metapost, I'm trying to define a macro which provides declarations for various related properties. I have an "object" (xyz in this example) which I'm representing by a suffix on a variable, and ...
4
votes
1answer
1k views

How do I install mbboard package (MikTeX, Windows)?

This didn't help me much, 'cause this package has MF fonts and I don't have an idea to where should they go. Any help appreciated.
4
votes
1answer
57 views

Does metapost contain the penstroke abbreviation command?

Hello I am trying to use Metapost to create a font, and I have been using the Metafontbook to study, there it states that the penstroke command is a type of abbreviation command for the command fill ...
4
votes
1answer
126 views

How can I see definition of an existing math symbol?

I want to create a symbol similar to \doublebarwedge from the package mathabx, with the wedge replaced by a triangle. Since I want to use both symbols, they should be as similar as possible (regarding ...