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

391
votes
8answers
74k views

How do I make my document look like it was written by a Cthulhu-worshipping madman?

I want to type up some spells from the RPG Call of Cthulhu and give them to my players. I could just type them up in Word or LaTeX, but that seems too...neat. I'd like to make these things look like ...
170
votes
4answers
51k views

How do I use a particular font for a small section of text in my document?

The standard font packages make global changes to the fonts in my document. What if I want to use a particular font for just a portion of my text? How do I find the right name of the font? How do I ...
97
votes
6answers
144k views

How can I get bold math symbols?

To make Latin-letter variables bold I can use e.g. \mathbf{a}, but while putting Greek letters or symbols such as \nabla inside \mathbf doesn't cause any errors or warnings, it also doesn't do ...
94
votes
5answers
16k views

Suggest a “nice” font family for my basic LaTeX template (text and math)

My goal is to choose a "nice" font family (serif, sans serif, monospace, and "math") for my basic LaTeX template. I know the default setting (Computer Modern's family) is a very good choice. However, ...
85
votes
2answers
41k views

\emph or \textit

In the comments section of Does it matter if I use \textit or \it, I asked for a clarification of these points. The clarification has mostly been made, but it was requested that I turn this into a ...
79
votes
6answers
17k views

Latin Modern vs cm-super?

I've read various answers to questions on here that suggest the original Computer Modern fonts have been superceded. Sometimes it is suggested we use the cm-super package, sometimes that we instead ...
79
votes
4answers
66k views

What are all the font styles I can use in math mode?

As can be seen in above picture, there are lots of fonts or font styles that can be used in math mode. What are all the fonts or font styles I can use in math mode, and which packages are required ...
68
votes
7answers
11k views

How to create small PDF files for the Internet

I feel that PDF documents when intended to be uploaded to the Internet should be of a minimal final size in bytes. Many strategies exist to create a small document: Pay attention to the size of the ...
68
votes
4answers
78k views

Small Caps and Bold Face

I can't seem to have both the small caps and boldface styles on a line: \huge\sc\bf Hello This will generate bold text, and if the \sc is placed after, it will generate small caps text but not ...
67
votes
3answers
13k views

Does it matter if I use \textit or \it, \bfseries or \bf, etc

I typically use \textit{Some italicized text} while some of my colleagues use {\it Some other text} Should I bother changing one or the other, or does it matter?
65
votes
5answers
16k views

Adding a signature on an online job application

Nowadays many job applications are sent in digital form as PDF. We use of course LaTeX to create such. Usually you add a cover letter to your CV and credentials. If you sent this as print-out by ...
58
votes
5answers
5k views

Keyboard Font for LaTeX

I'm currently writing a user guide containing a lot of keyboard shortcuts. I'm looking for a "keyboard" font where single characters or special keys (like tab or backspace) appear like the "real" key ...
58
votes
9answers
14k views

What best combination of fonts for Serif, Sans, and Mono do you recommend?

Now that Xe(La)TeX is being increasingly used to deliver nifty documents, I am wondering if any recommendations have been published or discussed about the best combination of font families for mixing ...
54
votes
3answers
44k views

Change the font of figure captions

I would like to italicize my figure captions and make them smaller. How can I do that?
54
votes
5answers
39k views

How do I find out what fonts are used in a document/picture?

Is it possible to identify the font used in a specific document/picture? Answers to this question should identify: Possible methods to do this (perhaps one answer per method) and adequately ...
51
votes
4answers
8k views

What package allows Elvish in TeX?

Anyone who has read The Lord of the Rings will recognise the Elvish script at the top of the page. If this is meant to be an example of what is typesettable in TeX/related software, what package is ...
48
votes
4answers
21k views

Blackboard bold characters

The blackboard bold font in the AMSFonts package only has capital letters. I sometimes wish to use a blackboard bold "1", for which I can use \usepackage{bbold}. But this changes the entire ...
48
votes
1answer
2k views

Blur the text so it's not readable

On a related note to How do I make my document look like it was written by an Cthulhu worshipping madman?, I want to create a LaTeX command that blurs the text so it's unreadable. Unfortunately, ...
48
votes
1answer
621 views

How to get intersection point(s) of two glyphs?

Longer post I'd like to introduce you my long-term task which I wish to see solved one day. Let's have two glyphs (any fonts, glyphs, location, transformation), one fixed, one moveable and some ...
47
votes
1answer
9k views

What font packages are installed in TeX live?

What font packages are installed in a full installation of TeX live? Which are obsolete? Example: \usepackage{mathpazo} brings Palatino as the roman font. The times package seems to be obsolete (as ...
46
votes
2answers
5k views

Importing a Single Symbol From a Different Font

Is there a general way to change the font of a particular symbol without switching packages? For example, suppose I'm using Computer Modern for my entire document, but I want the "subset" operator to ...
46
votes
1answer
1k views

making low-quality PDF files clearer

Some research papers available on the web have low-quality outputs. For example, see this. It seems that it was converted from a PS file and typeset in (La)TeX. However, it has all the font ...
43
votes
2answers
2k views

The effect of the anonymous letter

I'm trying to create an effect as if the text is made up of letters cut from magazines and newspapers and even the same words had different style. It is necessary that each letter in the word had a ...
42
votes
3answers
9k views

When to use bold, italics, small caps, typewriter etc.?

I'm a little confused on the purposes of each kind of text in LaTeX. I know the function of some of them, but sometimes people use each for different reasons. For example: \texttt is for code (no ...
42
votes
2answers
19k views

How to remove the warnings “Font shape `OT1/cmss/m/n' in size <4> not available” and “Size substitutions with differences” in beamer?

LaTeX Font Warning: Font shape `OT1/cmss/m/n' in size <4> not available LaTeX Font Warning: Size substitutions with differences I am using the files from ...
42
votes
1answer
9k views

What is the difference between italics and slanted text?

As I understand, LaTeX supports both via \textit and \textsl respectively, but what is the difference between the two?
41
votes
2answers
4k views

microtype settings for dummies

More than a year ago, a friend of mine was totally excited about microtype features in LaTeX. He was talking about it quite a bit and then said to me: "Show me your document, let me input some lines ...
40
votes
5answers
3k views

Upright parentheses in italic text

This question led to a new package: embrac Bringhurst, in Elements of Typographic Style, recommends to use upright parentheses in italic text (i.e., write 'a (simple) example' as opposed to 'a ...
40
votes
5answers
12k views

Installing TTF fonts in LaTeX

One of the annoying aspects of LaTeX is the limited number of fonts that come by default, and the pain involved in making new fonts 'LaTeX' ready. I have a collection of truetype fonts that I'd like ...
40
votes
2answers
15k views

How to get Beamer Math to look like Article Math

In a LaTeX article, the math characters are more "curvy" than the text characters: \documentclass[12pt]{article} \begin{document} $x^2 + y^2 = z^2$ \end{document} In a beamer presentation, the ...
36
votes
3answers
4k views

Will two-letter font style commands (\bf , \it , …) ever be resurrected in LaTeX?

I understand that \bf and \it are now obsolete in LaTeX and that \textbf and \textit are proper, as they produce more sophisticated (in particular, cumulative and properly kerned) changes to font ...
34
votes
2answers
26k views

How to set the font for a \section title (and chapter etc)

How do I specify the fonts, and general font size, for the titles, chapters and sections in my document Update: I can see how my question is confusing. I use \section and \chapter etc. to organise ...
34
votes
4answers
6k views

Why are Bitmap-Fonts used automatically?

I have the following LaTeX-document: \documentclass[a4paper,11pt]{article} \usepackage[utf8x]{inputenc} \usepackage[ngerman]{babel} \usepackage[T1]{fontenc} \title{Sample} \author{Litb} ...
33
votes
3answers
2k views

Did the “Computer Modern” font families become a default because they're well tested and proven, or chance?

I'm deciding on the Font Families to use in LyX for a planned novel. Computer Modern is the default (Roman, Sans and Typewriter). I'm interested in the number of font faces and the versatility in ...
33
votes
2answers
24k views

\bm package versus \boldsymbol

I'm typing a bold vector small x with a tilde sign above it. Now when I want to write its derivative, I'm putting a dot on top of everything. This is giving me problems and I found one solution: ...
33
votes
3answers
2k views

What's a good typewriter template?

I'm searching for a template which makes a document look like it's written with a real typewriter. Ideally, this means it's not only in mono-spaced font, but the hyphenation is adjusted accordingly. ...
33
votes
3answers
3k views

Bad spacing of math letters within italic text

I use the standard AMS theorem style, which means that my theorems are set in italic. In combination with math variables, this sometimes gives horrible spacing: The input If $U$ or $V$ \dots yields ...
32
votes
2answers
21k views

Best way to typeset micrometers?

It seems to be generally well accepted that the correct way to typeset a value with units is to separate the number from the units by a space, and write the units in an upright font. For example, ...
32
votes
3answers
6k views

Utilizing oldstyle figures without resorting to \oldstylenums

Quite a few of the freely available LaTeX fonts include oldstyle figures (numerals that harmonize with lower case letters) in addition to lining figures. (Generally, you have to load the textcomp ...
32
votes
1answer
3k views

How to automatically hyphenate within \texttt?

This question was phrased as a bug report for LaTeX and I thought it would be helpful to be presented here (including an answer). The person had a lot of "common words" in typewriter font sprinkled ...
32
votes
2answers
4k views

Is it still useful to load the lmodern package?

A few years ago, the lmodern package was a good way to have high quality fonts by simply adding : \usepackage{lmodern} Nowadays, lmodern seems less popular. I'm wondering if it is because LaTeX ...
31
votes
7answers
15k views

Which font is the most comfortable for on-screen viewing?

It is subjective question. I actually want to put it in the Community Wiki but I cannot find the check box to mark it as a Community Wiki question. Among fonts listed in The LaTeX font catalogue ...
30
votes
4answers
5k views

Handwritten font with math support

Friends, I've been looking for a handwritten font with math support. In The LaTeX Font Catalogue, there are great handwritten fonts available, but unfortunately I could not find one with proper math ...
30
votes
7answers
16k views

Why are some pages in my PDF coming out bold? [duplicate]

When I run my LaTeX document through pdflatex, some of the pages (the ones where figures appear) have all the text bolded. Why, and what can I do to make it stop?
30
votes
1answer
2k views

How do I use TrueType Fonts with PDFTeX using otftotfm?

I've heard that PDFTeX can use TrueType fonts. There have been several answers related to this, but of these only the first one mentions using otftotfm, which I'm told is the standard way to do it ...
30
votes
2answers
899 views

Simulate printing imperfections and defects with TeX?

Is there a way to simulate imperfections of some of the older books in LaTeX? Like the missing pieces of letters, extra splotches of ink and such? Here is an interesting artifact: P.S.: I guess one ...
30
votes
1answer
16k views

Manual font installation

Frequently there are questions about, how to manually install a font, what very often means “Type1 font”. So I thought, we should write a general answer about the several aspects to regard. Beside ...
30
votes
2answers
6k views

“Too many math alphabets” error

I just got the error Too many math alphabets used in version normal. on a document I'm editing. What can I do to fix this, other than stop using an alphabet? All I've found online is instructions ...
30
votes
1answer
2k views

Why does it take LuaLaTeX so long to load fonts and can I speed it up?

To test Mico's upcoming selnolig package, I tried out LuaLaTeX. While the overall experience for me as a pdfLaTeX end-user was very similar, I noticed that LuaLaTeX takes a long time to load fonts. ...
29
votes
1answer
2k views

Generate unreadable handwriting text

I read this question, not what I want, I don't want lorem ipsum either see this picture A classic movie scene in cartoons and real movies, a letter appears to be written in a smooth elegant ...