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

3
votes
2answers
573 views

xetex: setting a font only for the text

I am using \usepackage{xltxtra} \setmainfont[Mapping=tex-text]{Ubuntu} to change the "text" font in my latex document. However this has messed up some math equations and things like \mathbf{E} \...
6
votes
3answers
813 views

Palatino, roman \chi and the math mode

I am using Palatino for the content and I have a problem displaying \chi in math mode. The problem happens when I have a roman formatting in math, e.g., vector x, X, and χ; the χ turns to some ...
10
votes
1answer
611 views

Generate font collection book

This question led to a new package: fontbook Is there a package to generate a font collection book/catalogue from all fonts in the system (fc-list) or by selecting a list of fonts? Ideally, it ...
23
votes
2answers
6k views

Choosing font for bold small caps (or any other particular family+series+shape combination)

What is the best way (most proper and general solution) to get rid of the warning LaTeX Font Warning: Some font shapes were not available, defaults substituted. by explicitly setting which font ...
15
votes
1answer
4k views

How to use the Luximono font with TeX Live?

I've switched from MiKTeX 2.9 to TeX Live 2011 (pretest version). I've managed to integrate some third party fonts (included neither in MiKTeX nor in TeX Live) in my TEXMFLOCAL tree following the ...
4
votes
1answer
653 views

LaTeX: use different fonts in math mode

I'm trying to use two different fonts in math mode. Concretely, I would like to use uppercase letters of font Palatino to give names to matrices, leaving the rest in Computer modern, so that matrices ...
6
votes
1answer
3k views

xelatex error: LaTeX Font Warning: Font shape.

Thank you all in advance. I know not much about fonts. but once I compile my document I get: LaTeX Font Warning: Font shape `EU1/lmr/bx/sc' undefined (Font) using `EU1/lmr/bx/n' ...
11
votes
3answers
2k views

How to get the AMS mathbb font while using Palatino elsewhere

I'm a Latex user. I've been using Palatino for typesetting a piece mathematical text: \usepackage{mathpazo} \usepackage[scaled=.95]{helvet} \usepackage{courier} The results are good, however I don'...
5
votes
1answer
2k views

minionpro: v and \nu in math mode

I have noticed that with Minion Pro font v and \nu are indistinguishable. Does anyone know a decent workaround to this? Somewhere in the web it was suggested to use \upsilon as a substitute for v. ...
2
votes
1answer
785 views

getting user-defined math function in proper font in beamer

When I use beamer, things like \sin, \cos, etc. appear in the sans-serif font. But if I say \DeclareMathOperator{\lcm}{lcm} and then use \lcm inside a math formula, it appears in the cmr font. ...
3
votes
2answers
549 views

Linux Libertine Initials break emph

Loading the Linux Libertine Initials font breaks the emph command, even if the font is not used: \documentclass{scrartcl} \usepackage{fontspec}...
4
votes
2answers
4k views

XeTeX can't find font

I'm using fontspec with XeTeX from TL2010. I've installed the Linux Libertine OTF font files in /usr/local/share/fonts, ran fc-cache and I can see them listed: $ fc-list | grep -i libert Linux ...
3
votes
3answers
1k views

font garamond without oldstylenumbers

I have to use Garamond for my publishing house. Is there a way to use the package garamond without having the numbers in the oldstyle? Here are the packages which I am using for pdflatex: \...
2
votes
2answers
132 views

How to encode the name of the LOOM programming language?

What symbols are used to write LOOM as shown in the image below? (The cutout is from a paper by Bruce et al., presented at the ECOOP conference in 1997.)
1
vote
1answer
612 views

Selecting an alternate style with fontspec

I've got a font with two styles showing up in fc-list, corresponding to two TTF files: Humanistic:style=Regular Humanistic:style=Cursive How can I select the Cursive style in fontspec?
2
votes
1answer
292 views

Continuously-sizable brackets?

It often frustrates me that TeX only supplies a small set of bracket sizes to choose from (or rather, the default fonts do.) Has anybody written a package that provides continuously-sizable brackets, ...
10
votes
2answers
411 views

Any Known comprehensive tutorial about TeX fonts

I am a TeX Live user and I am wondering if there is a comprehensive reference which clearly explains how to go about changing default fonts in LaTeX.
1
vote
1answer
2k views

Using `mathbb` fonts from other packages

I am currently using a combination of mathpazo and mathspec for my maths typesetting. To be specific, my preamble contains the following: \usepackage{amssymb} \usepackage{mathrsfs} \usepackage{...
13
votes
1answer
761 views

In LuaTex is it possible to change font/language according to the script/glyphs used?

I am a XeLaTeX user and I often have to typeset english-greek documents. Packages like xgreek or polyglossia are great but in order to apply the correct hyphenation rules you have to declare the text ...
1
vote
0answers
278 views

How To Add MarVoSym Font to Context on Windows ? [closed]

I have context source file containing \definefont[Dings][name:MarVoSym] and I import it via \input . When I run context on my source, I always get ! Font \**Dings**:=MarVoSym at 11.0pt not ...
4
votes
2answers
871 views

Better arrowheads in commutative diagrams

The Fourier package gives a different look for the arrowheads, which looks nice to me. I also want to use this arrowhead in the commutative diagrams. I have tried Taylor's diagrams package, xy-matrix, ...
6
votes
3answers
666 views

\openg in MinionPro (from Acrobat 9)

(This is an extension of question \ell in MinionPro, but sadly I can't add comments on S.E. yet.) Similar to the issue of using \ell in recent versions of MinionPro, which is solved by replacing /...
3
votes
2answers
2k views

Garamond kills bold Fonts

[Cross posted from latex-community.org] When I use Garamond fonts, everything becomes immediately lighter, in particular the \begin{description} … \end{description} parts. With Garamond: \...
4
votes
1answer
458 views

fancyvrb, helvetica and underscore… is it just me?

Ran into some weirdness with fancyvrb, helvetica and _. Here's a MWE (for me): \documentclass{article} \usepackage{fancyvrb} \begin{document} \begin{Verbatim}[fontfamily=helvetica] Oh no! It's a `_'...
11
votes
5answers
12k views

Script-r Symbol

The near-ubiquitous undergraduate reference on electrodynamics, "Introduction to Electrodynamics" by David Griffiths make extensive use of a script-r symbol, defined to be \vector{\scriptr} \equiv \...
5
votes
2answers
1k views

How can I tell lstlisting to use sans-serif when escaping to math mode?

Title says it all, an example follows: \lstset{ mathescape=true, basicstyle = \sffamily } \begin{lstlisting} func($x_0$) \end{lstlisting} Where and how can I set the math font used ...
6
votes
2answers
2k views

How to use Adobe fonts

I stumbled onto several folder named "Adobe" in TeXLive distribution, and it seemed like they are ready to be used. So, is there a way to use Adobe fonts in pdftex,like adobe symbol font for math and ...
5
votes
1answer
21k views

Adding C++ code in Latex

So I am adding some C++ code snippets in my document using \lstset {language=C++} \begin{lstlisting} for (int i=0; i<iterations;i++) { do something } \end{lstlisting} My issue is that the font ...
4
votes
2answers
567 views

Capital sigma missing in Euler font

I'm using the Euler font in my equations and it appears that the capital Sigma symbol is missing (a dot is displayed in its place). It appears to be caused by a conflict between euler or eulervm, ...
18
votes
1answer
1k views

TeX accents do not seem to work with fontspec and xe/lua/latex

I am using Minion Pro as mainfont and it does not have in its glyph table the character U+1E47 Latin small letter with dot below which I need only once in my document. Rather than change to another ...
2
votes
2answers
6k views

Changing KOMA Script font family?

I'm using KOMA-Script and I would like to know how can I change the default font to FreeSans, or any other font-family? Also, how can I change all text to sans-serif?
6
votes
2answers
8k views

How to change the font style and size for the \lstinputlisting

I am trying to insert some piece of code into my document, using the \lstinputlisting command. However the fonts displayed do not look too good. Is it possible to change the font size and style?
21
votes
3answers
5k views

How to enable ligatures for emdash/endash in LuaTeX ?

I cannot switch on ligatures for emdash (---) and endash (--) in LuaLaTeX. Here is my test file: % !Mode:: "TeX:UTF-8" \documentclass{article} \usepackage{fontspec} \defaultfontfeatures{Ligatures=...
6
votes
2answers
1k views

Why does MS Word's algorithm for vertical positioning of super- and subscripts not conform to TeX's ?

Microsoft Office has, since 2007, used a formula layout algorithm based on the algorithm Knuth described in appendix G of the TeXbook. But there's an apparent divergence in the final output from the ...
11
votes
3answers
3k views

How to display the font size in use in the final output

How can I display the font size in use at a particular point of the document. For example, in the following code, I produced a PDF file showing the fonts actually used for each shape and size, \...
6
votes
2answers
3k views

How do I change the \mathtt font with mathspec?

I have a document where the main font is Gotham Narrow Book but the numbers are set in Gotham Narrow Light, and this is set with commands provided by the mathspec package. I'd like to typeset a table ...
13
votes
5answers
6k views

Text fonts other than Cambria to match Cambria Math

This may be a little bit off-topic. However I think it's still TeX related. Recently I decided to move my personal style (a class file) to be unicode-math and fontspec based, so I can freely use some ...
3
votes
3answers
6k views

Typesetting the Identity Operator for txfonts

I use the txfonts package in my document for fonts. However, I am at a loss as to how to produce the identity operator, which looks like a blackboard bold 1. Now, \documentclass{article} \...
5
votes
1answer
872 views

Finding the correct \fontfamily name [duplicate]

Possible Duplicate: How to find the name of a font? I'm trying to use the TeX Gyre Chorus font for a small text (the rest of the document should use TeX Gyre Pagella). I've found the answer to ...
11
votes
3answers
3k views

Using MinionPro for the main font and Fontspec for the monospaced font

I am using Minion Pro for my document's main font and would like to use Consolas for my code listings. I know that I can set the monospace font using fontspec and setmonofont, but it seems I cannot ...
8
votes
1answer
1k views

Writing complexity classes in LaTeX

Is there anyone who knows which package/style should I use to write a complexity class like this? You can see the highlighted word below, this is an all-caps word, but some letters are slightly bigger ...
7
votes
2answers
586 views

LuaLaTeX sees a font while fc-list doesn't

I've got a fresh Arch Linux box with fresh full TeX Live installed. The installation seems to include cm-unicode fonts and lualatex seems to find them correctly, but when I run fc-list the output ...
34
votes
7answers
28k 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 ...
11
votes
2answers
5k views

LaTeX Arial Narrow font

I would like to use Arial Narrow font in LaTeX. But I cannot find the package used to do it.
5
votes
1answer
502 views

Getting this particular layout

For some time I've had in my mind a PDF I saw, and that I found exactly what I want to achieve for my classes. I'm a teacher at the University, and some times I want to give my students some material ...
8
votes
2answers
4k views

Is there any way other than \pmb to produce bold greek letters when mathptmx is used?

I know that mathptmx does not contain bold symbols for greek letters in math mode, and the result of \pmb is too ugly. Is there a way to specify LaTeX to use CM fonts for bold greek letters when ...
15
votes
1answer
6k views

Getting URW-Garamond and the license

I want to use URW-garamond but it seems although this source claims I probably should have it I do not. Furthermore this question on this site indicates that I in fact should not at all expect to have ...
3
votes
1answer
8k views

How to get the curly caligraphic font for sigma algebras?

The title pretty much says it all. Note that I am aware of the caligraphic font (cal, mathcal) which is actually what wikipedia uses too but books on the measure theory usually contain a much fancier ...
7
votes
3answers
2k views

How do I switch between Vector and Raster (bitmap) Fonts?

Q. What do you exactly need? A. I need to compile twice one and the same document in PDFLaTeX using vector fonts from CM-Super package standard raster Computer Modern fonts Q. Why do you need ...
4
votes
3answers
3k views

How to change heading font style in memoir?

Please take a look at the image below. How do I change the heading font style? As you can see it wraps over in two lines because the chapter title is too long. I did read memoir manual but the only ...